aboutsummaryrefslogtreecommitdiffstats
path: root/phony
Commit message (Collapse)AuthorAgeFilesLines
* Support host phony modulesDan Willemsen2019-04-021-1/+4
| | | | | | | | | I'm fixing make to differentiate between host and target, so this will be more useful soon. Test: Android-aosp_arm64.mk is the same before/after Test: adding `host_supported: true` to shell_and_utilities_system produces expected Android-aosp_arm64.mk Change-Id: Idf12703be692100336db6d5c0ec05bb96e5e5c27
* Remove empty DepsMutator methodsColin Cross2019-02-011-3/+0
| | | | | | | | Add an empty DepsMutator to ModuleBase so it doesn't have to be implemented on every module that doesn't need it. Test: all soong tests Change-Id: I545a832a0dbf27386d3080377a75ea482cd9ce59
* Export: phonyFactory -> PhonyFactorySteven Moreland2018-07-111-2/+2
| | | | | | | | | | | | When adding aidl_interface, the intention is to have module name 'foo' create modules 'foo-cpp' and 'foo-java' for consistency. I'm using a phony module to reserve 'foo' as a name for future use and also for sanity. Bug: 111117220 Test: create a phony module using the factory and use it to build Change-Id: Ib3214acb9b4bf48aa60a1a3c20b5d12129d1c3a6
* Allow AndroidMkData.Custom handlers to extend normal valuesColin Cross2017-08-111-1/+1
| | | | | | | | | Pass accumulated AndroidMkData to AndroidMkData.Custom handlers and expose WriteAndroidMkData so that Custom handlers can write out the normal make variables and then add their own. Test: No change to out/soong/Android-aosp_sailfish.mk Change-Id: Id9717132bbd6c5cf3af8596f3eaa9bbb05d98e40
* Remove error from AndroidMkDataProvider.AndroidMkColin Cross2017-08-111-8/+9
| | | | | | | | It's never anything except nil, and it unnecessarily complicates the implementations. Test: m -j checkbuild Change-Id: I3e3b7251f32ffa84dbdfd0448faf248c306ca808
* Remove error from AndroidMkData.CustomColin Cross2017-08-111-3/+1
| | | | | | | | It's never anything except nil, and it unnecessarily complicates the implementations. Test: m -j checkbuild Change-Id: I021c7971ede3e11bbe08cf1601f4690ed4d1a036
* Refactor factoriesColin Cross2017-06-301-4/+3
| | | | | | | | | Change module factories from returning a blueprint.Module and a list of property structs to returning an android.Module, which holds the list of property structs. Test: build.ninja identical except for Factory: comment lines Change-Id: Ica1d823f009db812c518f271a386fbff39c9766f
* Added phony module type for soong.Nan Zhang2017-02-061-0/+63
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