Initial prebuilt support
Support prebuilt shared libraries as an initial proof-of-concept of prebuilts. Future changes will support binaries and static libraries, and the ability to select which to use based on something besides blueprint properties. Test: TestPrebuilts run during m -j Change-Id: I6e84da667e9005ae11844bad01d25cbe4ced1ce3
This commit is contained in:
@@ -81,7 +81,7 @@ func (binary *binaryDecorator) linkerProps() []interface{} {
|
||||
}
|
||||
|
||||
func (binary *binaryDecorator) getStem(ctx BaseModuleContext) string {
|
||||
stem := ctx.ModuleName()
|
||||
stem := ctx.baseModuleName()
|
||||
if binary.Properties.Stem != "" {
|
||||
stem = binary.Properties.Stem
|
||||
}
|
||||
@@ -171,7 +171,7 @@ func (binary *binaryDecorator) linkerInit(ctx BaseModuleContext) {
|
||||
}
|
||||
if ctx.TargetPrimary() {
|
||||
binary.baseInstaller.Properties.Symlinks = append(binary.baseInstaller.Properties.Symlinks,
|
||||
ctx.ModuleName())
|
||||
ctx.baseModuleName())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user