forked from bazelbuild/rules_android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
33 lines (22 loc) · 902 Bytes
/
WORKSPACE
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
workspace(name = "rules_android")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load(":android_sdk_supplemental_repository.bzl", "android_sdk_supplemental_repository")
maybe(
android_sdk_repository,
name = "androidsdk",
)
maybe(
android_ndk_repository,
name = "androidndk",
)
# This can be removed once https://github.com/bazelbuild/bazel/commit/773b50f979b8f40e73cf547049bb8e1114fb670a
# is released, or android_sdk_repository is properly Starlarkified and dexdump
# added there.
android_sdk_supplemental_repository(name = "androidsdk-supplemental")
load("prereqs.bzl", "rules_android_prereqs")
rules_android_prereqs(dev_mode = True)
load("defs_dev.bzl", "rules_android_workspace")
rules_android_workspace()
register_toolchains("//toolchains/android:all")
register_toolchains("//toolchains/android_sdk:all")
register_toolchains("//toolchains/emulator:all")