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