Add override_android_app module type.

This is a new implementation of overriding module types that makes use
of local variants. With this, product owners can use PRODUCT_PACKAGES to
decide which override module to include in their products.

Bug: 122957760
Bug: 123640028
Test: app_test.go
Change-Id: Ie65e97f615d006b6e9475193b6017ea9d97e8e97
This commit is contained in:
Jaewoong Jung
2019-02-28 15:35:54 -08:00
parent 53c88448fd
commit 525443aa22
7 changed files with 331 additions and 8 deletions

View File

@@ -2068,6 +2068,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
&androidLibraryProperties{},
&appProperties{},
&appTestProperties{},
&overridableAppProperties{},
&ImportProperties{},
&AARImportProperties{},
&sdkLibraryProperties{},