Add a New Module
来源:互联网 发布:linux sleep 头文件 编辑:程序博客网 时间:2024/06/10 05:24
Modules are defined across the entire tree through the Android.mk files
The build system abstracts many details to make the creation of a module’s Makefile as trivial as possible
Of course, building a module that will be an Android application and building a static library will not require the same instructions, but these builds don’t differ that much either.LOCAL_PATH = $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES = hello_world.c
LOCAL_MODULE = HelloWorld
LOCAL_MODULE_TAGS = optional
include $(BUILD_EXECUTABLE)
Every module variable is prefixed by LOCAL_*.
LOCAL_PATH tells the build system where the current module is.
include $(CLEAR_VARS) cleans the previously declared
LOCAL_* variables. This way, we make sure we won’t have
anything weird coming from other modules. The list of the
variables cleared is in build/core/clear_vars.mk.
LOCAL_SRC_FILES contains a list of all source files to be compiled.
LOCAL_MODULE sets the module name.
LOCAL_MODULE_TAGS defines the set of modules this module should belong to.
include $(BUILD_EXECUTABLE) tells the build system to build this module as a binary.
- Add a New Module
- How to add a new module to Android_from myself
- x264 add new module method
- add a new one
- Magento2 create a new module
- new module add in with lots of issues(part 1)
- new module add in with lots of issues(part 2)
- new module add in with lots of issues(part 3)
- Add A New Row on Client-Side
- ASP.NET GridView - Add a new record
- Add a new node into the cluster!
- gitorious Add a new public SSH key
- ADD a new USERID in mainframe system
- MTK Android Driver :add a new key
- MTK Android Driver :add a new key
- Cacti - Add New Servers With A Script
- MTK Android Driver :add a new key
- MTK Android Driver :add a new key
- 最近做oracel移植mysql学到的几个mysql知识点()
- linux 根目录存储空间不够
- Qt学习之路(39): QListWidget
- IE无法查看源文件原因及应用技巧
- 虚拟键码
- Add a New Module
- java.io.IOException: Cannot run program "mvn":
- Android 自动滚动的GridView
- 《匆匆那年》-第八卷 分开
- Spring拦截器执行了两次
- 全屏
- web 服务器有哪些
- ASP静态化后,静态html页面点击计数解决方法
- Activity传递对象时的注意事项