-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
22 lines (16 loc) · 710 Bytes
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
workspace(name = "rules_foreign_cc_usage_example")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
all_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])"""
http_archive(
name = "rules_foreign_cc",
strip_prefix = "rules_foreign_cc-master",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/master.zip",
)
load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies()
http_archive(
name = "librtlsdr",
build_file_content = all_content,
strip_prefix = "librtlsdr-0.8.0",
urls = ["https://github.com/librtlsdr/librtlsdr/archive/v0.8.0.tar.gz"],
)