Kristina Chodorow | 93fbc3e | 2016-04-27 17:03:28 +0000 | [diff] [blame] | 1 | workspace(name = "io_bazel") |
| 2 | |
David Chen | b78bbd5 | 2016-03-16 13:17:57 +0000 | [diff] [blame] | 3 | # 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. |
| 6 | bind( |
| 7 | name = "python_headers", |
| 8 | actual = "//:dummy", |
| 9 | ) |
| 10 | |
Damien Martin-Guillerez | 0c1a8cf | 2016-02-05 18:37:12 +0000 | [diff] [blame] | 11 | # Bind to dummy targets if no android SDK/NDK is present. |
| 12 | bind( |
| 13 | name = "android_sdk_for_testing", |
| 14 | actual = "//:dummy", |
| 15 | ) |
| 16 | |
| 17 | bind( |
| 18 | name = "android_ndk_for_testing", |
| 19 | actual = "//:dummy", |
| 20 | ) |
| 21 | |
Alpha Lam | a1a79cb | 2016-05-15 19:13:52 +0000 | [diff] [blame] | 22 | # Protobuf code generation for GRPC requires three external labels: |
| 23 | # //external:grpc-java_plugin |
| 24 | # //external:grpc-jar |
| 25 | # //external:guava |
| 26 | bind( |
| 27 | name = "grpc-java-plugin", |
| 28 | actual = "//third_party/grpc:grpc-java-plugin", |
| 29 | ) |
| 30 | |
| 31 | bind( |
| 32 | name = "grpc-jar", |
| 33 | actual = "//third_party/grpc:grpc-jar", |
| 34 | ) |
| 35 | |
| 36 | bind( |
| 37 | name = "guava", |
| 38 | actual = "//third_party:guava", |
| 39 | ) |
| 40 | |
Damien Martin-Guillerez | 9b88920 | 2016-03-03 00:35:13 +0000 | [diff] [blame] | 41 | # For tools/cpp/test/... |
| 42 | load("//tools/cpp/test:docker_repository.bzl", "docker_repository") |
| 43 | docker_repository() |
| 44 | |
Steven Dee | c74d3e4 | 2016-02-02 16:32:23 +0000 | [diff] [blame] | 45 | # 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 Peyser | 2152bc1 | 2016-04-22 17:08:59 +0000 | [diff] [blame] | 49 | |
| 50 | # This allows rules written in skylark to locate apple build tools. |
| 51 | bind(name = "xcrunwrapper", actual = "@bazel_tools//tools/objc:xcrunwrapper") |
Carmi Grushko | bfaff29 | 2016-08-17 18:37:55 +0000 | [diff] [blame^] | 52 | |
| 53 | bind(name = "protobuf/java_runtime", actual = "//third_party/protobuf:protobuf") |
| 54 | bind(name = "protobuf/javalite_runtime", actual = "//third_party/protobuf:protobuf-lite") |