码迷,mamicode.com
首页 > 移动开发 > 详细

android 多个.a 生成 .so

时间:2020-09-17 15:30:51      阅读:49      评论:0      收藏:0      [点我收藏+]

标签:oca   rar   androi   oid   cal   aries   bsp   roi   dir   

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := static_AAA
LOCAL_SRC_FILES := $(LOCAL_PATH)/libavcodec.a
include $(PREBUILT_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := avcodec
LOCAL_SRC_FILES := $(LOCAL_PATH)/libavcodec.so
include $(PREBUILT_SHARED_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := static_BBB
LOCAL_SRC_FILES := $(LOCAL_PATH)/b.c
include $(BUILD_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := shared_DDD
LOCAL_SRC_FILES := $(LOCAL_PATH)/d.c
LOCAL_STATIC_LIBRARIES := static_AAA
include $(BUILD_SHARED_LIBRARY)




include $(CLEAR_VARS)
LOCAL_MODULE := ff
LOCAL_SRC_FILES := $(LOCAL_PATH)/c.c
LOCAL_SHARED_LIBRARIES := avcodec shared_DDD
LOCAL_STATIC_LIBRARIES := static_AAA  static_BBB
include $(BUILD_SHARED_LIBRARY)








android 多个.a 生成 .so

标签:oca   rar   androi   oid   cal   aries   bsp   roi   dir   

原文地址:https://www.cnblogs.com/YZFHKMS-X/p/13617838.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!