您的位置:首页 > 移动开发

android系统预制app/bin/.so文件及文件夹

2017-03-30 15:31 204 查看
1、extern/test/test.mk
 //拷贝单个文件: 拷贝external/test/iwconfig到system/bin/iwconfig,名字为iwconfig                    
 PRODUCT_COPY_FILES += \
         external/test/iwconfig:system/bin/iwconfig \
         external/test/iwlist:system/bin/iwlist \
 
 //拷贝目录下所有文件: 拷贝extern/test/file_test/下文件到system/etc/file_test的目录
 testfile := $(shellls $(LOCAL_PATH)/file_test)
 PRODUCT_COPY_FILES += \
         $(foreachfile, $(testfile), $(LOCAL_PATH)/file_test/$(file):system/etc/file_test/$(file))

2、device/rockchip/common/device.mk里调用 test.mk
  $(callinherit-product-if-exists, external/test/test.mk)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: