summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorYo Chiang <yochiang@google.com>2020-07-31 20:55:17 +0800
committerYo Chiang <yochiang@google.com>2020-08-06 04:02:47 +0000
commit84eb3c927c5a90aaa63b8e82420689b4ac978730 (patch)
tree24e2ee65dcbc96c9000646e94b1a6e7250e693dc /test/ProfileTestMultiDex/Main.java
parent47f9c9fdd01835e69b1cae705254c8e5c2b01afc (diff)
art: Remove dependencies on platform unavailable modules
The device variants of these tests depend on tools such as `dex2oatd` which are not available to the platform. The tools are provided by the ART APEX (com.android.art.debug / .testing). This also breaks darwin host build coincidentally, because on linux host build the build system confuses the host and device variants of `dex2oatd`, so the build system mistakenly thought device variant of "dex2oatd" exists (while in reality only the host variant exists.) On darwin host however, both device and host variants of `dex2oatd` doesn't exist, thus triggering a build break. So for the host variants of these tests, the tools dependencies should be specified as `host.required: [<tool name>]` and for the device variants `android.required: ["com.android.art.testing"]`. However these device testcases are already packaged in the ART testing APEX, so the device dependency should be omitted. Bug: 162102724 Bug: 7456955 Test: TH build mac host target Change-Id: I8f3435ff11f19f7191e87b0728e6d524bbd0f559
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions