summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2019-02-28 15:35:54 -0800
committer Jaewoong Jung <jungjw@google.com> 2019-03-21 13:26:20 -0700
commit525443aa22641c57c1fac269ddba8bf869266c5f (patch)
treeb102e36eb9d200d984f0884bcfb53b1601c8db76 /java/java.go
parent53c88448fd2497023cd6403a7aa72a3f763f3e3a (diff)
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
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index e0da00636..3eae93294 100644
--- a/java/java.go
+++ b/java/java.go
@@ -2068,6 +2068,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
&androidLibraryProperties{},
&appProperties{},
&appTestProperties{},
+ &overridableAppProperties{},
&ImportProperties{},
&AARImportProperties{},
&sdkLibraryProperties{},