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:
@@ -48,12 +48,11 @@ func NewPrebuiltDylib(hod android.HostOrDeviceSupported) (*Module, *prebuiltLibr
|
|||||||
libraryDecorator: library,
|
libraryDecorator: library,
|
||||||
}
|
}
|
||||||
module.compiler = prebuilt
|
module.compiler = prebuilt
|
||||||
module.AddProperties(&library.Properties)
|
|
||||||
return module, prebuilt
|
return module, prebuilt
|
||||||
}
|
}
|
||||||
|
|
||||||
func (prebuilt *prebuiltLibraryDecorator) compilerProps() []interface{} {
|
func (prebuilt *prebuiltLibraryDecorator) compilerProps() []interface{} {
|
||||||
return append(prebuilt.baseCompiler.compilerProps(),
|
return append(prebuilt.libraryDecorator.compilerProps(),
|
||||||
&prebuilt.Properties)
|
&prebuilt.Properties)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user