diff options
author | Zi Wang <mrziwang@google.com> | 2023-04-17 20:10:28 -0700 |
---|---|---|
committer | Zi Wang <mrziwang@google.com> | 2023-04-18 15:48:08 -0700 |
commit | 0f189b62bda0759d2e0925c95dfd27bf160ea471 (patch) | |
tree | 5e6fe3b5ba806e93f37535ad336119d92ded8d96 /scripts/incremental_build/canonical_perf.sh | |
parent | 50f7e3212f41621f8fd7441e79bf056a15833656 (diff) | |
download | bazel-0f189b62bda0759d2e0925c95dfd27bf160ea471.tar.gz |
Fix api fingerprinting with apex and update tests
Use run_shell instead of run in _run_apexer because --target_sdk_version may
use the API fingerprinting file contents using bash expansion,
and only run_shell can support that by executing the whole command with
/bin/bash -c. Regular run would quote the --target_sdk_version value with
single quotes ('--target_sdk_version=ABC.$(cat version.txt)'), preventing
bash expansion.
Test: adbd and tzdata have correct target sdk version and all the tests
in apex_test.bzl
Bug: 277921995
Change-Id: I6ec4e9ee4b01acb70b2b38b1416a59b2d1bfe18b
Diffstat (limited to 'scripts/incremental_build/canonical_perf.sh')
0 files changed, 0 insertions, 0 deletions