Reland "Symbols for libs in APEXes are available"
This reverts commit eaebd76656
.
Bug: 120846816
Test: build/soong/build_test.bash -dist -products mainline_system_arm64
Test: lunch aosp_cf_x86_pasan-userdebug; m && SANITIZE_TARGET=address m
Change-Id: I0d2f3eba33c2d1d034d13839c1bd23970adb9f85
This commit is contained in:
9
cc/cc.go
9
cc/cc.go
@@ -404,6 +404,15 @@ func (c *Module) OutputFile() android.OptionalPath {
|
||||
return c.outputFile
|
||||
}
|
||||
|
||||
func (c *Module) UnstrippedOutputFile() android.Path {
|
||||
if library, ok := c.linker.(*libraryDecorator); ok {
|
||||
return library.unstrippedOutputFile
|
||||
} else if binary, ok := c.linker.(*binaryDecorator); ok {
|
||||
return binary.unstrippedOutputFile
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *Module) Init() android.Module {
|
||||
c.AddProperties(&c.Properties, &c.VendorProperties)
|
||||
if c.compiler != nil {
|
||||
|
Reference in New Issue
Block a user