File tree Expand file tree Collapse file tree
rules/android_sdk_repository Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,24 @@ config_setting(
4949 },
5050)
5151
52+ config_setting (
53+ name = "darwin_arm64" ,
54+ constraint_values = [
55+ "@platforms//os:macos" ,
56+ "@platforms//cpu:arm64" ,
57+ ],
58+ visibility = ["//visibility:public" ],
59+ )
60+
61+ config_setting (
62+ name = "darwin_x86_64" ,
63+ constraint_values = [
64+ "@platforms//os:macos" ,
65+ "@platforms//cpu:x86_64" ,
66+ ],
67+ visibility = ["//visibility:public" ],
68+ )
69+
5270alias (
5371 name = "has_androidsdk" ,
5472 actual = ":always_true" ,
@@ -118,8 +136,8 @@ filegroup(
118136filegroup (
119137 name = "qemu2_x86" ,
120138 srcs = ["emulator/emulator" ] + select ({
121- "@bazel_tools//src/conditions :darwin_x86_64" : ["emulator/qemu/darwin-x86_64/qemu-system-i386" ],
122- "@bazel_tools//src/conditions :darwin_arm64" : ["emulator/qemu/darwin-aarch64/qemu-system-aarch64" ],
139+ ":darwin_x86_64" : ["emulator/qemu/darwin-x86_64/qemu-system-i386" ],
140+ ":darwin_arm64" : ["emulator/qemu/darwin-aarch64/qemu-system-aarch64" ],
123141 "//conditions:default" : ["emulator/qemu/linux-x86_64/qemu-system-i386" ],
124142 }),
125143)
You can’t perform that action at this time.
0 commit comments