blob: 639b5f16465973849a818b861cf767073d7d93a0 [file] [log] [blame]
Yun Peng89ea68b2021-11-23 11:24:51 -08001# This file will replace the content of the WORKSPACE file when Bzlmod is enabled
2# No WORKSPACE prefix or suffix are added.
Googlercf140392023-08-01 12:34:14 -07003
4bind(
5 name = "android/sdk",
6 actual = "@bazel_tools//tools/android:poison_pill_android_sdk",
7)
8
9bind(
10 name = "android/dx_jar_import",
11 actual = "@bazel_tools//tools/android:no_android_sdk_repository_error",
12)
13
14bind(
15 name = "android/d8_jar_import",
16 actual = "@bazel_tools//tools/android:no_android_sdk_repository_error",
17)
18
19bind(
20 name = "android/crosstool",
21 actual = "@bazel_tools//tools/cpp:toolchain",
22)
23
24bind(
25 name = "android_sdk_for_testing",
26 actual = "@bazel_tools//tools/android:empty",
27)
28
29bind(
30 name = "android_ndk_for_testing",
31 actual = "@bazel_tools//tools/android:empty",
32)
33
34bind(
35 name = "databinding_annotation_processor",
36 actual = "@bazel_tools//tools/android:empty",
37)
38
39# This value is overridden by android_sdk_repository function to allow targets
40# to select on whether or not android_sdk_repository has run.
41bind(
42 name = "has_androidsdk",
43 actual = "@bazel_tools//tools/android:always_false",
44)
45
46# To run the Android integration tests in //src/test/shell/bazel/android:all or
47# build the Android sample app in //examples/android/java/bazel:hello_world
48#
49# 1. Install an Android SDK and NDK from https://developer.android.com
50# 2. Set the $ANDROID_HOME and $ANDROID_NDK_HOME environment variables
51# 3. Uncomment the two lines below
52#
53# android_sdk_repository(name = "androidsdk")
54# android_ndk_repository(name = "androidndk")