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

Commit ffe60238 authored by Nelson Li's avatar Nelson Li
Browse files

Adding dist for aapt2_results

In the previous transition to Android.bp change(aosp/2935114), the
$(call dist-for-goals,aapt2_run_host_unit_tests, ...) was overlooked.
This change added `dist` for `aapt2_results` to fix this issue.

Bug: 322285259
Test: m -j aapt2_run_host_unit_tests dist;
      Then, check ./out/dist/gtest/aapt2_host_unit_tests_result_x86.xml
      and ./out/dist/gtest/aapt2_host_unit_tests_result_x86_64.xml
Change-Id: Ieaa67fef4a47b08fd97f3dc1810f4cd1933f155d
parent 5bb6f919
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -266,6 +266,23 @@ cc_genrule {
        "$(genDir)/aapt2_tests " +
        "--gtest_output=xml:$(out) " +
        ">/dev/null 2>&1 ; true",
    dist: {
        targets: ["aapt2_run_host_unit_tests"],
        dir: "gtest",
        dest: "aapt2_host_unit_tests_result.xml",
    },
    arch: {
        x86: {
            dist: {
                suffix: "_x86",
            },
        },
        x86_64: {
            dist: {
                suffix: "_x86_64",
            },
        },
    },
}

phony_rule {