summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2020-01-09 15:57:18 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2020-01-25 00:38:17 +0000
commit08a1d1ba90c69e4b39f2df90eacee2c5413f8b4e (patch)
tree48947a8cc7166d7ffe17cb56f0dc1296ae3ea0a4
parentf0e90bacbfcd36fed615dd82c689f872437fa5ef (diff)
Make dex2oat(d) visible for use as implicit dexpreopt tool deps.
Bug: 145934348 Test: m Change-Id: Ibc427a9a8d9fb64c473f2f4e1ddfde4d3a60bf1f
-rw-r--r--dex2oat/Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/dex2oat/Android.bp b/dex2oat/Android.bp
index 635a3d327f..4f71c399bc 100644
--- a/dex2oat/Android.bp
+++ b/dex2oat/Android.bp
@@ -250,6 +250,9 @@ art_cc_binary {
"dex2oat-defaults",
"dex2oat-pgo-defaults",
],
+ // Modules that do dexpreopting, e.g. android_app, depend implicitly on
+ // either dex2oat or dex2oatd in ART source builds.
+ visibility: ["//visibility:public"],
shared_libs: [
"libprofile",
"libart-compiler",
@@ -301,6 +304,9 @@ art_cc_binary {
"art_debug_defaults",
"dex2oat-defaults",
],
+ // Modules that do dexpreopting, e.g. android_app, depend implicitly on
+ // either dex2oat or dex2oatd in ART source builds.
+ visibility: ["//visibility:public"],
shared_libs: [
"libprofiled",
"libartd-compiler",