summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2020-12-23 03:29:10 +0000
committerMartin Stjernholm <mast@google.com>2021-01-12 11:18:41 +0000
commita3a828d637507b8300aee6588f4c933a6b96973f (patch)
tree4fb2758bd6d48a949d9a395e3288d7853d7a4a1d /test/ProfileTestMultiDex
parentc0d392be9172c4c60b3e81b0123489ec3036c401 (diff)
Fix to not copy pseudo-random module variants to art-test-cases.zip.
The install hook can be called for more than one module variant for the same library (for host). In that case it would just copy the last one, which may be some sanitizer variant that won't work. The install hook needs to check the SkipInstall flag to pick the right variant. This patch also limits the copying to the BuildOs variants, since the OsClass "host" is used for Windows as well. Also error out if conflicting source paths are detected, so this error can't slip by unnoticed. Test: m nothing Test: m art-host-tests unzip out/target/product/vsoc_x86/art-host-tests.zip host/testcases/art_common/out/host/linux-x86/bin/dexdiag Check that dexdiag runs without linker symbol error. Test: Check that testcasesContent() returns the same number of entries before and after the IsSkipInstall() filter. Bug: 176192921 Change-Id: Ief8168e223fc196a49fa266aae38fead71e574ae
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions