Add aapt2 to the filegroup of integration test dependencies.
This will allow us to write a bazel integration test for --android_aapt=aapt2.
Necessary for
RELNOTES: None
@@ -52,14 +52,17 @@ def create_android_sdk_rules(
"build-tools/%s/aidl.exe" % build_tools_directory,
"build-tools/%s/zipalign.exe" % build_tools_directory,
"platform-tools/adb.exe",
- ]
+ ] + native.glob(["build-tools/%s/aapt2.exe" % build_tools_directory])
linux_only_files = [
"build-tools/%s/aapt" % build_tools_directory,
"build-tools/%s/aidl" % build_tools_directory,
"build-tools/%s/zipalign" % build_tools_directory,
"platform-tools/adb",
- ] + native.glob(["extras"], exclude_directories = 0)
+ ] + native.glob(
+ ["extras", "build-tools/%s/aapt2" % build_tools_directory],
+ exclude_directories = 0,
+ )
# This filegroup is used to pass the minimal contents of the SDK to the
# Android integration tests. Note that in order to work on Windows, we cannot
