1workspace(name = "FXdiv") 2 3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 4 5# Bazel rule definitions 6http_archive( 7 name = "rules_cc", 8 strip_prefix = "rules_cc-master", 9 urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"], 10) 11 12# Google Test framework, used by most unit-tests. 13http_archive( 14 name = "com_google_googletest", 15 strip_prefix = "googletest-master", 16 urls = ["https://github.com/google/googletest/archive/master.zip"], 17) 18 19# Google Benchmark library, used in micro-benchmarks. 20http_archive( 21 name = "com_google_benchmark", 22 strip_prefix = "benchmark-master", 23 urls = ["https://github.com/google/benchmark/archive/master.zip"], 24) 25 26# Android NDK location and version is auto-detected from $ANDROID_NDK_HOME environment variable 27android_ndk_repository(name = "androidndk") 28 29# Android SDK location and API is auto-detected from $ANDROID_HOME environment variable 30android_sdk_repository(name = "androidsdk") 31