rules_foreign_cc/examples/WORKSPACE

41 lines
879 B
Python
Raw Normal View History

workspace(name = "rules_foreign_cc_tests")
local_repository(
name = "rules_foreign_cc",
path = "..",
)
load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies([
"//:built_cmake_toolchain",
"//:built_ninja_toolchain",
])
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()