Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1bf2723 authored by Cole Faust's avatar Cole Faust
Browse files

Fix -host and -target phonies building both variants

The -install, -checkbuild, -outputs get deduped across all variants,
so when the -host / -target phonies depended on them they were
depending on all variants when they should've only depended on the
host/target variants. Instead of depending on those phonies, depend
on their dependencies for the current variant directly.

Fixes: 400503755
Test: atest CtsCompilationTestCases:android.compilation.cts.CompilationTest
Test: Ran all 4 of these commands, before they all had a successful path, now half of them show there's no path cross-variants:
aninja -t path junit-params-test-host out/host/linux-x86/framework/junit-params-test.jar
aninja -t path junit-params-test-host out/target/product/vsoc_x86_64/testcases/junit-params-test/x86_64/junit-params-test.jar
aninja -t path junit-params-test-target out/host/linux-x86/framework/junit-params-test.jar
aninja -t path junit-params-test-target out/target/product/vsoc_x86_64/testcases/junit-params-test/x86_64/junit-params-test.jar

Change-Id: Iffec01948d7287f7e000ff17a4f65f883f46a87c
parent de3a5c4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment