Copy multiple txt files in /system using Android.mk

后端 未结 2 2026
日久生厌
日久生厌 2021-02-01 10:07

Aim : I want to copy multiple txt files in /system ( of Android Device ) using Android.mk

My Findings :

We can copy file using two approach 1)

2条回答
  •  -上瘾入骨i
    2021-02-01 10:30

    See the following example in Android font handling: https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/Android.mk#66

    This creates a makefile function for a single font file, and uses a foreach loop to iterate over multiple files: https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/Android.mk#79

    You can use any mechanism to populate font_src_files

提交回复
热议问题