blob: 2cd2e14e3a24eb466ff6adf3d2075adcb99eed53 [file] [log] [blame]
Kristina Chodorow93fbc3e2016-04-27 17:03:28 +00001workspace(name = "io_bazel")
2
David Chenb78bbd52016-03-16 13:17:57 +00003# Protobuf expects an //external:python_headers label which would contain the
4# Python headers if fast Python protos is enabled. Since we are not using fast
5# Python protos, bind python_headers to a dummy target.
6bind(
7 name = "python_headers",
8 actual = "//:dummy",
9)
10
Damien Martin-Guillerez0c1a8cf2016-02-05 18:37:12 +000011# Bind to dummy targets if no android SDK/NDK is present.
12bind(
13 name = "android_sdk_for_testing",
14 actual = "//:dummy",
15)
16
17bind(
18 name = "android_ndk_for_testing",
19 actual = "//:dummy",
20)
21
Alpha Lama1a79cb2016-05-15 19:13:52 +000022# Protobuf code generation for GRPC requires three external labels:
23# //external:grpc-java_plugin
24# //external:grpc-jar
25# //external:guava
26bind(
27 name = "grpc-java-plugin",
28 actual = "//third_party/grpc:grpc-java-plugin",
29)
30
31bind(
32 name = "grpc-jar",
33 actual = "//third_party/grpc:grpc-jar",
34)
35
36bind(
37 name = "guava",
38 actual = "//third_party:guava",
39)
40
Damien Martin-Guillerez9b889202016-03-03 00:35:13 +000041# For tools/cpp/test/...
42load("//tools/cpp/test:docker_repository.bzl", "docker_repository")
43docker_repository()
44
Steven Deec74d3e42016-02-02 16:32:23 +000045# In order to run the Android integration tests, run
46# scripts/workspace_user.sh and uncomment the next two lines.
47# load("/WORKSPACE.user", "android_repositories")
48# android_repositories()
Cal Peyser2152bc12016-04-22 17:08:59 +000049
Adam Michael8a136d82016-11-16 23:04:46 +000050# In order to run //src/test/shell/bazel:maven_skylark_test, follow the
51# instructions above for the Android integration tests and uncomment the
52# following lines:
53# load("//tools/build_defs/repo:maven_rules.bzl", "maven_dependency_plugin")
54# maven_dependency_plugin()
55
Cal Peyser2152bc12016-04-22 17:08:59 +000056# This allows rules written in skylark to locate apple build tools.
57bind(name = "xcrunwrapper", actual = "@bazel_tools//tools/objc:xcrunwrapper")
Carmi Grushkobfaff292016-08-17 18:37:55 +000058
59bind(name = "protobuf/java_runtime", actual = "//third_party/protobuf:protobuf")
Philipp Wollermann9d9657b2016-08-19 10:45:28 +000060bind(name = "protobuf/javalite_runtime", actual = "//third_party/protobuf:protobuf-lite")
Carmi Grushkob36aefb2016-11-07 21:29:25 +000061bind(name = "proto/toolchains/java", actual = "//third_party/protobuf:java_toolchain")