diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-16 19:35:03 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-16 19:35:03 +0000 |
commit | 63242994b201f23b45a4796c13c562f8692457d9 (patch) | |
tree | 728ea5a2f68654a4e2e465e4421fa3b9d0404acd | |
parent | 9d9ea487ed41d717973c8322053048c96dec49b6 (diff) | |
parent | effb9f2f8009a899310c2293188f12bebb031df8 (diff) | |
download | buildSrc-emu-34-release.tar.gz |
Snap for 11107449 from effb9f2f8009a899310c2293188f12bebb031df8 to emu-34-releaseemu-34-release
Change-Id: Id65a1140eeef76c19e71b83b2396b5d37ef41bae
-rwxr-xr-x | servers/build_tools.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/servers/build_tools.py b/servers/build_tools.py index 9dbe28e..0c6ad00 100755 --- a/servers/build_tools.py +++ b/servers/build_tools.py @@ -88,6 +88,13 @@ def main(argv): help="Build the emulator with the gfxstream libraries", ) parser.add_argument( + "--prebuilts", + dest="prebuilts", + action="store", + nargs="*", + help="Builds the specified prebuilts (i.e. --prebuilts qt ffmpeg), or all prebuilts if no argument is provided", + ) + parser.add_argument( "--enable_system_rust", action="store_true", help="Build the emulator with the System Rust on the host machine", @@ -152,6 +159,8 @@ def main(argv): cmd = cmd + ["--feature", "enable_system_rust"] if args.with_debug: cmd = cmd + ["--config", "debug"] + if args.prebuilts is not None: + cmd = cmd + ["--prebuilts"] + args.prebuilts # Make sure the dist directory exists. os.makedirs(args.dist_dir, exist_ok=True) |