Merge "Disable stripping for riscv64"
This commit is contained in:
commit
58fecb427f
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ func (stripper *Stripper) NeedsStrip(actx android.ModuleContext) bool {
|
|||
forceEnable := Bool(stripper.StripProperties.Strip.All) ||
|
||||
Bool(stripper.StripProperties.Strip.Keep_symbols) ||
|
||||
Bool(stripper.StripProperties.Strip.Keep_symbols_and_debug_frame)
|
||||
return !forceDisable && (forceEnable || defaultEnable)
|
||||
// create_minidebuginfo doesn't work for riscv64 yet, disable stripping for now
|
||||
riscv64 := actx.Arch().ArchType == android.Riscv64
|
||||
return !forceDisable && (forceEnable || defaultEnable) && !riscv64
|
||||
}
|
||||
|
||||
// Keep this consistent with //build/bazel/rules/stripped_shared_library.bzl.
|
||||
|
|
Loading…
Reference in a new issue