forked from bazel-contrib/rules_foreign_cc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
41 lines (29 loc) · 1004 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
34
35
36
37
38
39
40
41
workspace(name = "rules_foreign_cc")
load("//:workspace_definitions.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies([
"@rules_foreign_cc_tests//:built_cmake_toolchain",
"@rules_foreign_cc_tests//:built_ninja_toolchain_osx",
"@rules_foreign_cc_tests//:built_ninja_toolchain_linux",
])
local_repository(
name = "rules_foreign_cc_tests",
path = "examples",
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
android_sdk_repository(
name = "androidsdk",
)
android_ndk_repository(
name = "androidndk",
)
# Google Maven Repository
GMAVEN_TAG = "20180625-1"
http_archive(
name = "gmaven_rules",
strip_prefix = "gmaven_rules-%s" % GMAVEN_TAG,
url = "https://github.com/bazelbuild/gmaven_rules/archive/%s.tar.gz" % GMAVEN_TAG,
)
load("@gmaven_rules//:gmaven.bzl", "gmaven_rules")
gmaven_rules()
load("@rules_foreign_cc_tests//:examples_repositories.bzl", "include_examples_repositories")
include_examples_repositories()