Allow proto properties in cc/java_defaults

(cherry picked from commit 6424d17a2d)

Bug: 73175642
Test: Add proto.canonical_path_from_root: true in a cc_defaults
Test: Add proto.canonical_path_from_root: true in a java_defaults
Merged-In: I9ddfc8af0025705a34b6e487225f1f98915054c3
Change-Id: I9ddfc8af0025705a34b6e487225f1f98915054c3
This commit is contained in:
Dan Willemsen 2018-03-08 13:27:59 -08:00 committed by Andreas Gampe
parent 3cc0480d16
commit b785b61621
2 changed files with 2 additions and 0 deletions

View file

@ -1423,6 +1423,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
&VndkProperties{},
&LTOProperties{},
&PgoProperties{},
&android.ProtoProperties{},
)
android.InitDefaultsModule(module)

View file

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