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
This commit is contained in:
Dan Willemsen
2018-03-08 13:27:59 -08:00
parent f7463f8dd2
commit 6424d17a2d
2 changed files with 2 additions and 0 deletions

View File

@@ -1280,6 +1280,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
module.AddProperties(
&CompilerProperties{},
&CompilerDeviceProperties{},
&android.ProtoProperties{},
)
android.InitDefaultsModule(module)