forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgflags.bzl
More file actions
26 lines (23 loc) · 658 Bytes
/
gflags.bzl
File metadata and controls
26 lines (23 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copied from third-party/gflags/BUCK
load(":gflags_defs.bzl", "gflags_library", "gflags_sources")
def define_gflags():
(exported_headers, headers, srcs) = gflags_sources(namespace = [
"gflags",
"google",
])
gflags_library(
name = "gflags",
srcs = srcs,
headers = headers,
exported_headers = exported_headers,
enable_static_variant = True,
threads = True,
)
gflags_library(
name = "gflags_nothreads",
srcs = srcs,
headers = headers,
exported_headers = exported_headers,
enable_static_variant = True,
threads = False,
)