Use llvm-{strip,objcopy} by default
... except for Darwin Mach-O, as it is not supported by llvm-strip. Test: m checkbuild Bug: 119221035 Change-Id: I021637b6dd3530bff1f563f2ec7c2168e1083b7e
This commit is contained in:
@@ -255,7 +255,7 @@ type builderFlags struct {
|
||||
stripKeepSymbols bool
|
||||
stripKeepMiniDebugInfo bool
|
||||
stripAddGnuDebuglink bool
|
||||
stripUseLlvmStrip bool
|
||||
stripUseGnuStrip bool
|
||||
|
||||
protoDeps android.Paths
|
||||
protoFlags string
|
||||
@@ -821,8 +821,8 @@ func TransformStrip(ctx android.ModuleContext, inputFile android.Path,
|
||||
if flags.stripKeepSymbols {
|
||||
args += " --keep-symbols"
|
||||
}
|
||||
if flags.stripUseLlvmStrip {
|
||||
args += " --use-llvm-strip"
|
||||
if flags.stripUseGnuStrip {
|
||||
args += " --use-gnu-strip"
|
||||
}
|
||||
|
||||
ctx.Build(pctx, android.BuildParams{
|
||||
|
Reference in New Issue
Block a user