From 08a1d1ba90c69e4b39f2df90eacee2c5413f8b4e Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Thu, 9 Jan 2020 15:57:18 +0000 Subject: Make dex2oat(d) visible for use as implicit dexpreopt tool deps. Bug: 145934348 Test: m Change-Id: Ibc427a9a8d9fb64c473f2f4e1ddfde4d3a60bf1f --- dex2oat/Android.bp | 6 ++++++ 1 file changed, 6 insertions(+) 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", -- cgit v1.2.3-59-g8ed1b