summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/Android.bp11
1 files changed, 4 insertions, 7 deletions
diff --git a/build/Android.bp b/build/Android.bp
index e8a0b5424b..17f6891c1b 100644
--- a/build/Android.bp
+++ b/build/Android.bp
@@ -177,13 +177,6 @@ art_global_defaults {
// `--exclude-libs` flag is not supported on windows/darwin.
ldflags: ["-Wl,--exclude-libs=libziparchive.a"],
},
- linux_bionic: {
- strip: {
- // Do not strip art libs when building for linux-bionic.
- // Otherwise we can't get any symbols out of crashes.
- none: true,
- },
- },
darwin: {
enabled: false,
},
@@ -200,6 +193,10 @@ art_global_defaults {
// clang/libunwind bugs that cause SEGVs in run-test-004-ThreadStress.
"-fno-omit-frame-pointer",
],
+ // Keep the symbols for host to symbolize crash stack traces.
+ strip: {
+ none: true,
+ },
},
// The build assumes that all our x86/x86_64 hosts (such as buildbots and developer
// desktops) support at least sse4.2/popcount. This firstly implies that the ART