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:
parent
3cc0480d16
commit
b785b61621
2 changed files with 2 additions and 0 deletions
1
cc/cc.go
1
cc/cc.go
|
@ -1423,6 +1423,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
|
|||
&VndkProperties{},
|
||||
<OProperties{},
|
||||
&PgoProperties{},
|
||||
&android.ProtoProperties{},
|
||||
)
|
||||
|
||||
android.InitDefaultsModule(module)
|
||||
|
|
|
@ -1277,6 +1277,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
|
|||
module.AddProperties(
|
||||
&CompilerProperties{},
|
||||
&CompilerDeviceProperties{},
|
||||
&android.ProtoProperties{},
|
||||
)
|
||||
|
||||
android.InitDefaultsModule(module)
|
||||
|
|
Loading…
Reference in a new issue