| workspace(name = "FXdiv") | |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |
| # Bazel rule definitions | |
| http_archive( | |
| name = "rules_cc", | |
| strip_prefix = "rules_cc-master", | |
| urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"], | |
| ) | |
| # Google Test framework, used by most unit-tests. | |
| http_archive( | |
| name = "com_google_googletest", | |
| strip_prefix = "googletest-master", | |
| urls = ["https://github.com/google/googletest/archive/master.zip"], | |
| ) | |
| # Google Benchmark library, used in micro-benchmarks. | |
| http_archive( | |
| name = "com_google_benchmark", | |
| strip_prefix = "benchmark-master", | |
| urls = ["https://github.com/google/benchmark/archive/master.zip"], | |
| ) | |
| # Android NDK location and version is auto-detected from $ANDROID_NDK_HOME environment variable | |
| android_ndk_repository(name = "androidndk") | |
| # Android SDK location and API is auto-detected from $ANDROID_HOME environment variable | |
| android_sdk_repository(name = "androidsdk") | |