ART: Fix symbols
Follow-up to 1f7f3bd26ecad4366c904b7e7d05587fc7a83ea2
Test: m test-art-host
Test: readelf -s $OUT/system/lib/libart.so
Change-Id: I70b25bf65e09eb984d0f533fa19638ffbec12b3c
diff --git a/runtime/Android.bp b/runtime/Android.bp
index 012256e..c92df4e 100644
--- a/runtime/Android.bp
+++ b/runtime/Android.bp
@@ -439,6 +439,11 @@
art_cc_library {
name: "libart",
defaults: ["libart_defaults"],
+ // Leave the symbols in the shared library so that stack unwinders can
+ // produce meaningful name resolution.
+ strip: {
+ keep_symbols: true,
+ },
}
art_cc_library {
@@ -447,11 +452,6 @@
"libart_defaults",
"art_debug_defaults",
],
- // Leave the symbols in the shared library so that stack unwinders can
- // produce meaningful name resolution.
- strip: {
- keep_symbols: true,
- },
}
subdirs = [