summaryrefslogtreecommitdiff
path: root/disassembler
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2019-12-02 13:44:06 +0900
committer Jiyong Park <jiyong@google.com> 2019-12-19 00:21:38 +0000
commit1e88f980a85056165312331746862dc48186bc54 (patch)
tree0cbeeaf951d6bd637a46f4f51faf80587f3ecc2b /disassembler
parentc9af14e93f6a2691bf8231752d8d7c3e41b14c76 (diff)
Use apex_available property
Use apex_available property to prevent modules that are only for the ART apex from being used outside of the APEX. This change also fixes the reference to $(TARGET_OUT_SHARED_LIBRARIES)/$(lib).so to $(lib).com.android.art.debug phony module since the former is never installed to the system partition due to their 'apex_available' settings. Bug: 128708192 Bug: 133140750 Test: m Change-Id: I990e0a67e066d9b1dc221748422a2f44449258da
Diffstat (limited to 'disassembler')
-rw-r--r--disassembler/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/disassembler/Android.bp b/disassembler/Android.bp
index 892d0604fd..e841953c28 100644
--- a/disassembler/Android.bp
+++ b/disassembler/Android.bp
@@ -58,6 +58,10 @@ art_cc_library {
// For disassembler_arm*.
"libvixl",
],
+ apex_available: [
+ "com.android.art.release",
+ "com.android.art.debug",
+ ],
}
art_cc_library {