diff options
author | 2024-01-12 11:22:06 -0800 | |
---|---|---|
committer | 2024-01-12 11:24:25 -0800 | |
commit | 212d38662b20d9577d9487633e49e2b7f57cfc86 (patch) | |
tree | ac5668581fb0e5ef0959f4d6501aebec1528c381 /ci/build_test_suites.py | |
parent | 12eacc1e4e90ef6672fb40e592b664d3f6061a29 (diff) |
Add dexpreopt option to build commands
Missed passing down the WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY
option in the build commands.
Test: ./build/make/ci/build_test_suites --target_product aosp_x86_64
--target_release trunk_staging --with_dexpreopt_boot_img_and_system_server_only --dist_dir <dist_dir> --change_info <change_info_file> <extra_targets>
Bug: 314171817
Change-Id: I0424e8b7ef350b3baff76ff9bcb8255c914fee5a
Diffstat (limited to 'ci/build_test_suites.py')
-rw-r--r-- | ci/build_test_suites.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/build_test_suites.py b/ci/build_test_suites.py index e88b420d3f..0c1d2110a5 100644 --- a/ci/build_test_suites.py +++ b/ci/build_test_suites.py @@ -95,6 +95,8 @@ def base_build_command(args: argparse.Namespace) -> list: build_command.append('DIST_DIR=' + args.dist_dir) build_command.append('TARGET_PRODUCT=' + args.target_product) build_command.append('TARGET_RELEASE=' + args.target_release) + if args.with_dexpreopt_boot_img_and_system_server_only: + build_command.append('WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY=true') build_command.extend(args.extra_targets) return build_command |