2019-01-07 09:31:27 +00:00
|
|
|
workspace(name = "rules_foreign_cc_tests")
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "rules_foreign_cc",
|
|
|
|
path = "..",
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies")
|
|
|
|
|
2019-01-08 11:25:16 +00:00
|
|
|
rules_foreign_cc_dependencies([
|
|
|
|
"//:built_cmake_toolchain",
|
|
|
|
"//:built_ninja_toolchain",
|
|
|
|
])
|
2019-01-07 09:31:27 +00:00
|
|
|
|
|
|
|
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(":examples_repositories.bzl", "include_examples_repositories")
|
|
|
|
|
|
|
|
include_examples_repositories()
|