diff --git a/BUILD b/BUILD index 2b539afee8b..57eadaa224d 100644 --- a/BUILD +++ b/BUILD @@ -7,3 +7,17 @@ refresh_compile_commands( name = "refresh_compile_commands", targets = ["//..."], ) + +load("@bazel_skylib//rules:common_settings.bzl", "bool_flag") + +bool_flag( + name = "with_compression", + build_setting_default = False, +) + +config_setting( + name = "with_compression_enabled", + flag_values = { + ":with_compression": "True", + }, +)