summaryrefslogtreecommitdiff
path: root/ci/build_test_suites.py
diff options
context:
space:
mode:
author Luca Farsi <lucafarsi@google.com> 2024-02-21 12:09:10 -0800
committer Luca Farsi <lucafarsi@google.com> 2024-02-21 12:18:49 -0800
commit5722c941cafc5ebc9e44ec470856bf449d11d1af (patch)
treedfc16df1b8508333fd1c1df898d72a96b325a7b1 /ci/build_test_suites.py
parent9d24ed057f653cb68e15ccb29cae29312086cfd7 (diff)
Build the general tests host shared libs.
Build general-tests-shared-libs as it's an expected output of building general-tests. Test: BUILD_NUMBER="P0" ./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: I2c18f41079d6db8621299734398b7a9df64930db
Diffstat (limited to 'ci/build_test_suites.py')
-rw-r--r--ci/build_test_suites.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/build_test_suites.py b/ci/build_test_suites.py
index 24419a7103..5798f2b741 100644
--- a/ci/build_test_suites.py
+++ b/ci/build_test_suites.py
@@ -80,6 +80,9 @@ def build_affected_modules(args: argparse.Namespace):
# Call the build command with everything.
build_command = base_build_command(args)
build_command.extend(modules_to_build)
+ # When not building general-tests we also have to build the general tests
+ # shared libs.
+ build_command.append('general-tests-shared-libs')
run_command(build_command, print_output=True)