mirror of
https://gitee.com/openharmony/third_party_benchmark
synced 2025-02-23 08:51:24 +00:00

Note, bazel only supports MSVC on Windows, and not MinGW, so linking against shlwapi.lib only needs to follow MSVC conventions. git_repository() did not work in local testing, so is swapped for http_archive(). The latter is also documented as the preferred way to depend on an external library in bazel.
8 lines
284 B
Python
8 lines
284 B
Python
workspace(name = "com_github_google_benchmark")
|
|
|
|
http_archive(
|
|
name = "com_google_googletest",
|
|
urls = ["https://github.com/google/googletest/archive/3f0cf6b62ad1eb50d8736538363d3580dd640c3e.zip"],
|
|
strip_prefix = "googletest-3f0cf6b62ad1eb50d8736538363d3580dd640c3e",
|
|
)
|