Fix mac build: Enable libdexfile_external (attempt 2)
Bug: 131709594
Change-Id: Id9110adfcb42a94701eccc421ca7d9cceacd4cd2
diff --git a/libdexfile/Android.bp b/libdexfile/Android.bp
index e3452a3..2c4c3d8 100644
--- a/libdexfile/Android.bp
+++ b/libdexfile/Android.bp
@@ -266,11 +266,6 @@
shared_libs: [
"libbase",
],
- target: {
- darwin: {
- enabled: true,
- },
- },
stubs: {
symbol_file: "external/libdexfile_external.map.txt",
versions: ["1"],
@@ -283,6 +278,11 @@
"art_defaults",
"libdexfile_external-defaults",
],
+ target: {
+ darwin: {
+ enabled: true,
+ },
+ },
shared_libs: [
"libdexfile",
],
@@ -294,6 +294,11 @@
"art_debug_defaults",
"libdexfile_external-defaults",
],
+ target: {
+ darwin: {
+ enabled: true,
+ },
+ },
shared_libs: [
"libdexfiled",
],