-
Notifications
You must be signed in to change notification settings - Fork 3
/
WORKSPACE
60 lines (52 loc) · 1.47 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## local repo, for access to stuff in /usr/local, e.g. cdk
new_local_repository(
name = "usr_local",
path = "/usr/local",
build_file = "platforms/local/cosysroot.BUILD"
# FIXME: select for local platform?
# build_file = "platforms/darwin/cosysroot.BUILD"
# build_file = "platforms/linux/cosysroot.BUILD"
)
## toolchain repos
new_local_repository(
name = "toolchain_ndk",
path = "/Users/gar/android/android-ndk-r15c",
build_file = 'platforms/ndk/toolchain.BUILD',
)
new_local_repository(
name = "toolchain_rpi3b",
path = "/Volumes/CrossToolNG/armv8-rpi3-linux-gnueabihf",
build_file = 'platforms/rpi3b/toolchain.BUILD',
)
new_local_repository(
name = "toolchain_wrlinux",
path = "/Volumes/CrossToolNG/x86_64-unknown-linux-gnu",
build_file = 'platforms/wrlinux/toolchain.BUILD',
)
# cross-compiled cosysroots
new_local_repository(
name = "cosysroot_rpi3b",
path = "/Users/gar/cosysroots/rpi3b",
build_file = "platforms/rpi3b/cosysroot.BUILD"
)
new_local_repository(
name = "cosysroot_wrlinux",
path = "/Users/gar/cosysroots/wrlinux",
build_file = "platforms/wrlinux/cosysroot.BUILD"
)
new_local_repository(
name = "cosysroot_ndk",
path = "/Users/gar/cosysroots/ndk",
build_file = "platforms/ndk/cosysroot.BUILD"
)
# android
android_sdk_repository(
name="androidsdk",
path="/Users/gar/android/sdk",
api_level=23,
)
android_ndk_repository(
name="androidndk",
path="/Users/gar/android/android-ndk-r14b",
api_level=23,
)