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([
|
2019-01-18 17:06:10 +00:00
|
|
|
"//:built_ninja_toolchain_osx",
|
|
|
|
"//:built_ninja_toolchain_linux",
|
2019-01-08 11:25:16 +00:00
|
|
|
])
|
2019-01-07 09:31:27 +00:00
|
|
|
|
2019-04-30 13:50:26 +00:00
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
|
|
|
|
|
|
|
bazel_skylib_workspace()
|
|
|
|
|
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",
|
|
|
|
)
|
|
|
|
|
2019-07-10 16:44:57 +00:00
|
|
|
RULES_JVM_EXTERNAL_TAG = "2.3"
|
|
|
|
|
|
|
|
RULES_JVM_EXTERNAL_SHA = "375b1592e3f4e0a46e6236e19fc30c8020c438803d4d49b13b40aaacd2703c30"
|
2019-01-07 09:31:27 +00:00
|
|
|
|
|
|
|
http_archive(
|
2019-07-10 16:44:57 +00:00
|
|
|
name = "rules_jvm_external",
|
2019-03-12 14:41:04 +00:00
|
|
|
sha256 = RULES_JVM_EXTERNAL_SHA,
|
2019-07-10 16:44:57 +00:00
|
|
|
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
|
2019-03-12 14:41:04 +00:00
|
|
|
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
|
2019-01-07 09:31:27 +00:00
|
|
|
)
|
|
|
|
|
2019-07-10 16:44:57 +00:00
|
|
|
load("@rules_jvm_external//:defs.bzl", "maven_install")
|
|
|
|
|
|
|
|
maven_install(
|
|
|
|
artifacts = [
|
|
|
|
"com.android.support.constraint:constraint-layout:aar:1.1.2",
|
|
|
|
"com.android.support:appcompat-v7:aar:26.1.0",
|
|
|
|
],
|
|
|
|
repositories = [
|
|
|
|
"https://jcenter.bintray.com/",
|
|
|
|
"https://maven.google.com",
|
|
|
|
"https://repo1.maven.org/maven2",
|
|
|
|
],
|
|
|
|
)
|
2019-01-07 09:31:27 +00:00
|
|
|
|
|
|
|
load(":examples_repositories.bzl", "include_examples_repositories")
|
|
|
|
|
|
|
|
include_examples_repositories()
|