summaryrefslogtreecommitdiffstats
path: root/core/host_shared_library.mk
Commit message (Collapse)AuthorAgeFilesLines
* Fix prebuilt library dependency for multilib buildYing Wang2014-02-251-1/+1
| | | | | | | Also we don't need to include module_arch_supported.mk again, if we are currently substituting the source build with LOCAL_PREBUILT_MODULE_FILE. Change-Id: I444b0397d74c3153b398a050b762e49418062a86
* Include $(BUILD_COPY_HEADERS) in upper-level makefilesYing Wang2014-02-201-0/+5
| | | | | | | This makes sure copy_headers.mk only be included onces, no matter it's for the 1st arch or the 2nd arch. Change-Id: I80a558fbdb52861f176bd27a21c302069a5cc3ce
* Build from source or prebuiltYing Wang2012-12-141-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, you can easily switch between building from source code and prebuilt. Set LOCAL_PREBUILT_MODULE_FILE to the path of the prebuilt file, relative to the top of the source tree, in the usual module definition. The prebuilt will be used unless any of the followings satisfied: 1) ANDROID_BUILD_FROM_SOURCE is "true", which disable prebuilt globally; 2) The module name is in ANDROID_NO_PREBUILT_MODULES; 3) The LOCAL_PATH is prefixed by any of ANDROID_NO_PREBUILT_PATHS. A developer can set ANDROID_NO_PREBUILT_MODULES or ANDROID_NO_PREBUILT_PATHS to build only his own module(s) from source, while build other modules from prebuilts. You can set ANDROID_BUILD_FROM_SOURCE to true to build everything from source. Those variables can be set with shell environmental variable or in your buildspec.mk. Sometimes module B is able to be built from source only if module A is also built from source, for example, if B is the test apk of A. In that case, you can use the macro include-if-build-from-source to include B's Android.mk only if A is built from source too, or if-build-from-source to conditionally include the definition of module B, if their module definitions are in the same Android.mk. Support host-executable-hook and host-shared-library-hook. Change-Id: Icab7cf028c87eaba0dd7efc2a7749fd6f32b44e4
* Fix common typo in comments, warning and error messages.Ian Rogers2012-10-011-1/+1
| | | | | | s/can not/cannot/g Change-Id: I1bac31157732666deb46f6f20389ff539977ffb9
* Build system support to export include pathsYing Wang2011-11-171-0/+3
| | | | | | | | | | | | | Bug: 5573756 With this change, we can set LOCAL_EXPORT_C_INCLUDE_DIRS in the module definition to export include dir paths. Paths in LOCAL_EXPORT_C_INCLUDE_DIRS should be relative to the top dir of the source tree. If a library (shared or static) exports some include paths, any module using it will import the include paths and add them to the compiler command line. Change-Id: I49aabc589d2cf214044d13ccd5532ef68209adf0
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+29
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-29/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+29