Skip to content

Commit

Permalink
refactor(build): hermetic install of files after build
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed May 15, 2024
1 parent 204dd8d commit b906efc
Show file tree
Hide file tree
Showing 31 changed files with 534 additions and 347 deletions.
37 changes: 26 additions & 11 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,18 @@ config_setting(
visibility = ["//visibility:public"],
)

config_setting(
name = "debug_linux_flag",
constraint_values = [
"@platforms//os:linux",
],
flag_values = {
":debug": "true",
},
visibility = ["//visibility:public"],
)

# --//:brotli=true
bool_flag(
name = "brotli",
build_setting_default = True,
Expand All @@ -136,17 +148,6 @@ config_setting(
visibility = ["//visibility:public"],
)

config_setting(
name = "debug_linux_flag",
constraint_values = [
"@platforms//os:linux",
],
flag_values = {
":debug": "true",
},
visibility = ["//visibility:public"],
)

# --//:licensing=false
bool_flag(
name = "licensing",
Expand Down Expand Up @@ -258,6 +259,20 @@ config_setting(
visibility = ["//visibility:public"],
)

# --//:skip_tools=false
bool_flag(
name = "skip_tools",
build_setting_default = False,
)

config_setting(
name = "skip_tools_flag",
flag_values = {
":skip_tools": "true",
},
visibility = ["//visibility:public"],
)

##### constraints, platforms and config_settings for cross-compile

constraint_setting(name = "cross_build_setting")
Expand Down
Loading

0 comments on commit b906efc

Please sign in to comment.