1workspace(name = "pthreadpool") 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-main", 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-main", 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# FXdiv library, used for repeated integer division by the same factor 27http_archive( 28 name = "FXdiv", 29 strip_prefix = "FXdiv-63058eff77e11aa15bf531df5dd34395ec3017c8", 30 sha256 = "3d7b0e9c4c658a84376a1086126be02f9b7f753caa95e009d9ac38d11da444db", 31 urls = ["https://github.com/Maratyszcza/FXdiv/archive/63058eff77e11aa15bf531df5dd34395ec3017c8.zip"], 32) 33 34# Android NDK location and version is auto-detected from $ANDROID_NDK_HOME environment variable 35android_ndk_repository(name = "androidndk") 36 37# Android SDK location and API is auto-detected from $ANDROID_HOME environment variable 38android_sdk_repository(name = "androidsdk") 39