rust: Fix Properties inheritance for prebuilts am: 128f53b3b4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353063 Change-Id: Iab5949e9b76700fa9d565d160cd9d8a9cb8ee47c
This commit is contained in:
commit
60d41b05d4
1 changed files with 1 additions and 2 deletions
|
@ -48,12 +48,11 @@ func NewPrebuiltDylib(hod android.HostOrDeviceSupported) (*Module, *prebuiltLibr
|
|||
libraryDecorator: library,
|
||||
}
|
||||
module.compiler = prebuilt
|
||||
module.AddProperties(&library.Properties)
|
||||
return module, prebuilt
|
||||
}
|
||||
|
||||
func (prebuilt *prebuiltLibraryDecorator) compilerProps() []interface{} {
|
||||
return append(prebuilt.baseCompiler.compilerProps(),
|
||||
return append(prebuilt.libraryDecorator.compilerProps(),
|
||||
&prebuilt.Properties)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue