WEB开发网
开发学院手机开发Android 开发 Android 开发基础知识 阅读

Android 开发基础知识

 2010-05-28 15:50:00 来源:WEB开发网   
核心提示:./packages/apps/Camera/Android.mk:8:LOCAL_PACKAGE_NAME := Camera./packages/apps/Phone/Android.mk:11:LOCAL_PACKAGE_NAME := Phone./packages/apps/VoiceDialer/Andro

./packages/apps/Camera/Android.mk:8:LOCAL_PACKAGE_NAME := Camera

./packages/apps/Phone/Android.mk:11:LOCAL_PACKAGE_NAME := Phone

./packages/apps/VoiceDialer/Android.mk:8:LOCAL_PACKAGE_NAME := VoiceDialer

BUILD_SHARED_LIBRARY - 指明要编译成动态库。

编译的目标,用include 操作符

UILD_STATIC_LIBRARY来指明要编译成静态库。

如果是java文件的话,会用到系统的编译脚本host_java_library.mk,用BUILD_PACKAGE来指明。三个编译

-------------------

include $(BUILD_STATIC_LIBRARY)

BUILD_STATIC_LIBRARY:= $(BUILD_SYSTEM)/static_library.mk

-------------------

include $(BUILD_SHARED_LIBRARY)

./build/core/config.mk:50:BUILD_SHARED_LIBRARY:= $(BUILD_SYSTEM)/shared_library.mk

-------------------

include $(BUILD_HOST_SHARED_LIBRARY)

BUILD_HOST_SHARED_LIBRARY:= $(BUILD_SYSTEM)/host_shared_library.mk

-------------------

include $(BUILD_EXECUTABLE)

build/core/config.mk:51:BUILD_EXECUTABLE:= $(BUILD_SYSTEM)/executable.mk

-------------------

include $(BUILD_HOST_EXECUTABLE)

./build/core/config.mk:53:BUILD_HOST_EXECUTABLE:= $(BUILD_SYSTEM)/host_executable.mk

-------------------

BUILD_HOST_JAVA_LIBRARY:= $(BUILD_SYSTEM)/host_java_library.mk

-------------------

BUILD_JAVA_LIBRARY

./build/core/config.mk:58:BUILD_JAVA_LIBRARY:= $(BUILD_SYSTEM)/java_library.mk

------------------

BUILD_STATIC_JAVA_LIBRARY 编译静态JAVA库

./build/core/config.mk:59:BUILD_STATIC_JAVA_LIBRARY:= $(BUILD_SYSTEM)/static_java_library.mk

------------------

BUILD_HOST_JAVA_LIBRARY 编译本机用的JAVA库

./build/core/config.mk:60:BUILD_HOST_JAVA_LIBRARY:= $(BUILD_SYSTEM)/host_java_library.mk

------------------

BUILD_HOST_STATIC_LIBRARY:= $(BUILD_SYSTEM)/host_static_library.mk

上一页  7 8 9 10 11 12 13 14 15 16 17  下一页

Tags:Android 开发 基础知识

编辑录入:coldstar [复制链接] [打 印]
赞助商链接