diff options
Diffstat (limited to 'cc/builder.go')
-rw-r--r-- | cc/builder.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/builder.go b/cc/builder.go index c64243f62..c42f56cc5 100644 --- a/cc/builder.go +++ b/cc/builder.go @@ -255,6 +255,7 @@ type builderFlags struct { groupStaticLibs bool stripKeepSymbols bool + stripKeepSymbolsList string stripKeepMiniDebugInfo bool stripAddGnuDebuglink bool stripUseGnuStrip bool @@ -823,6 +824,9 @@ func TransformStrip(ctx android.ModuleContext, inputFile android.Path, if flags.stripKeepSymbols { args += " --keep-symbols" } + if flags.stripKeepSymbolsList != "" { + args += " -k" + flags.stripKeepSymbolsList + } if flags.stripUseGnuStrip { args += " --use-gnu-strip" } |