aboutsummaryrefslogtreecommitdiffstats
path: root/android/androidmk.go
Commit message (Collapse)AuthorAgeFilesLines
* Added phony module type for soong.Nan Zhang2017-02-061-2/+2
| | | | | | | | | The "required" field within "phony" module in .bp file has to be non-empty. And "phony" module doesn't contain any "src" files. Bug: b/32981153 Test: make -j out/soong/build.ninja Change-Id: Iaa2009467c44702572b97ca9cbd02c1d368c8d83
* Import/Export LOCAL_PROPRIETARY_MODULEDan Willemsen2016-12-051-0/+3
| | | | | | Test: androidmk hardware/broadcom/libbt/Android.mk Test: m -j vulkan.default, inspect out/soong/Android-aosp_flounder.mk Change-Id: I8a9553f772a1d434eb0069c1575e1b0d6db36bc9
* Don't generate Android.mk data if the module is disabledColin Cross2016-11-291-4/+5
| | | | | | | | | Move the calls to the AndroidMkProvider to after checking if the module is disabled. Disabled modules may not have all the state necessary to generate the data. Test: m -j libLLVM Change-Id: Iab27a26e604f3810bcc2d9f61b1839aa7bc428b4
* Initial prebuilt supportColin Cross2016-10-131-3/+7
| | | | | | | | | | Support prebuilt shared libraries as an initial proof-of-concept of prebuilts. Future changes will support binaries and static libraries, and the ability to select which to use based on something besides blueprint properties. Test: TestPrebuilts run during m -j Change-Id: I6e84da667e9005ae11844bad01d25cbe4ced1ce3
* Move registration into android packageandroid-n-mr1-preview-2android-n-mr1-preview-1Colin Cross2016-10-121-3/+1
| | | | | | | | Mutator registration is tightly coupled with the android package, move all registration from the soong package to the android package. Test: build.ninja identical Change-Id: Ie183d0b52cc7431c9e05b231934d189208ef1efe
* Extend multilibColin Cross2016-09-061-1/+0
| | | | | | | | | | Allow multilib to be set to "prefer32", which will compile as 32-bit if available, otherwise as 64-bit. Add target.device.compile_multilib and target.host.compile_multilib. If set, they override the top-level compile_multlib property. Change-Id: If658a035b5f441547bc74526feb1d34f773776ff
* Support required propertyChris Wolfe2016-08-151-0/+4
| | | | | | | This adds LOCAL_REQUIRED_MODULES to the generated Android.mk for any dependencies in the "required" list of a module. Change-Id: Ibcfe89dce7d247eb441af94e37388a59e71a75a9
* Add init_rc property, equivalent to LOCAL_INIT_RCDan Willemsen2016-07-291-0/+3
| | | | Change-Id: I914bfff8cbdf71b6cfb2271199a964b2cdcb72d0
* Dump Soong module type statistics to MakeDan Willemsen2016-07-251-0/+16
| | | | | | | Make will combine this information with statistics gathered from the Make build, then dump it out to a build artifact. Change-Id: I2bd84d4f8a8d145c37e3a4c4fcc8fece99e2a1de
* Remove the implicit "_" in subnames.Dan Albert2016-07-181-1/+1
| | | | | | | | The NDK stub libraries need to use subname, but should use "." instead of "_". Test: Still builds. Change-Id: Ib4b0303531e03968c55671ea167ab987adebd783
* Simplify arch target handlingColin Cross2016-06-021-27/+26
| | | | | | | | | | | | Soong's multi-architecture building has grown complex, with the combination of HostOrDevice+HostType+Arch necessary to determine how to build a variant of a module, and three separate mutators to split each into its variations. Combine HostOrDevice+HostType into Os, which will be Linux, Darwin, Windows, or Android. Store Os+Arch as a single Target. Change-Id: I92f2e2dac53617d595a35cc285d2bd348baa0fbd
* Revert "Simplify arch target handling"Colin Cross2016-06-031-26/+27
| | | | | | This reverts commit 6713fb26cbcadf525cd75e47d7d0cbc23d282b3e. Change-Id: Ic473cea2563b0b37dc08b0bc5d3a0ac8c4b6afe6
* Simplify arch target handlingColin Cross2016-06-021-27/+26
| | | | | | | | | | | | Soong's multi-architecture building has grown complex, with the combination of HostOrDevice+HostType+Arch necessary to determine how to build a variant of a module, and three separate mutators to split each into its variations. Combine HostOrDevice+HostType into Os, which will be Linux, Darwin, Windows, or Android. Store Os+Arch as a single Target. Change-Id: Iae677eff61a851b65a7192a47f2dc17c1abb4160
* Add support for logtagsDan Willemsen2016-06-011-0/+5
| | | | | | | | | This lets modules declare logtags files, which will then be exported to make using LOCAL_LOGTAGS_FILES. Make still generates event-log-tags and the java code. Bug: 28989759 Change-Id: Ie6be79d3ef8a17a74d42eba681a25a08b4c0e7ae
* Rename common to androidColin Cross2016-05-181-0/+215
Rename the "common" package to "android", because common is too generic. Also removes all android.Android naming stutter. Ran: gomvpkg -from 'android/soong/common' -to 'android/soong/android' gorename -from '"android/soong/android".AndroidModuleContext' -to 'ModuleContext' gorename -from '"android/soong/android".AndroidBaseContext' -to 'BaseContext' gorename -from '"android/soong/android".AndroidModuleBase' -to 'ModuleBase' gorename -from '"android/soong/android".AndroidBottomUpMutatorContext' -to 'BottomUpMutatorContext' gorename -from '"android/soong/android".AndroidTopDownMutatorContext' -to 'TopDownMutatorContext' gorename -from '"android/soong/android".AndroidModule' -to 'Module' Change-Id: I3b23590b8ce7c8a1ea1139411d84a53163288da7