forked from chipsalliance/verible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
47 lines (39 loc) · 961 Bytes
/
BUILD
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
"""
Rules for adding './configure && make' style dependencies.
"""
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
package(
default_applicable_licenses = ["//:license"],
default_visibility = [
"//:__subpackages__",
],
features = ["layering_check"],
)
cc_library(
name = "flex",
deps = [
"@rules_flex//flex:current_flex_toolchain", # For FlexLexer.h
],
)
exports_files([
"bison.bzl",
"flex.bzl",
"sh_test_with_runfiles_lib.bzl",
"sh_test_with_runfiles_lib.sh",
])
bool_flag(
name = "use_local_flex_bison",
build_setting_default = False,
)
config_setting(
name = "use_local_flex_bison_enabled",
flag_values = {":use_local_flex_bison": "true"},
)
bool_flag(
name = "create_static_linked_executables",
build_setting_default = False,
)
config_setting(
name = "static_linked_executables",
flag_values = {":create_static_linked_executables": "true"},
)