aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-03-08 13:27:59 -0800
committerDan Willemsen <dwillemsen@google.com>2018-03-08 13:34:34 -0800
commit6424d17a2d1c22729f50c7c053eef7c47175df17 (patch)
treef7f75ee57aeee359c39f5b5dd0595f93cae30cd7 /java
parentf7463f8dd23c136ad24fbd26f8ae00fe3646567f (diff)
downloadbuild_soong-6424d17a2d1c22729f50c7c053eef7c47175df17.tar.gz
build_soong-6424d17a2d1c22729f50c7c053eef7c47175df17.tar.bz2
build_soong-6424d17a2d1c22729f50c7c053eef7c47175df17.zip
Allow proto properties in cc/java_defaults
Test: Add proto.canonical_path_from_root: true in a cc_defaults Test: Add proto.canonical_path_from_root: true in a java_defaults Change-Id: I9ddfc8af0025705a34b6e487225f1f98915054c3
Diffstat (limited to 'java')
-rw-r--r--java/java.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index c4c07f7c..92170e68 100644
--- a/java/java.go
+++ b/java/java.go
@@ -1280,6 +1280,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
module.AddProperties(
&CompilerProperties{},
&CompilerDeviceProperties{},
+ &android.ProtoProperties{},
)
android.InitDefaultsModule(module)