OSDN Git Service

ART: Fix symbols
authorAndreas Gampe <agampe@google.com>
Mon, 29 Aug 2016 15:51:15 +0000 (08:51 -0700)
committerAndreas Gampe <agampe@google.com>
Mon, 29 Aug 2016 15:51:15 +0000 (08:51 -0700)
Follow-up to 1f7f3bd26ecad4366c904b7e7d05587fc7a83ea2

Test: m test-art-host
Test: readelf -s $OUT/system/lib/libart.so
Change-Id: I70b25bf65e09eb984d0f533fa19638ffbec12b3c

runtime/Android.bp

index 012256e..c92df4e 100644 (file)
@@ -439,6 +439,11 @@ gensrcs {
 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 @@ art_cc_library {
         "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 = [