use flag_values = {"@bazel_tools//tools/cpp:compiler": "x"} for compiler config_settings

This commit is contained in:
scentini 2018-08-28 14:07:55 +02:00 committed by GitHub
parent 45d03a9771
commit b30ddee2aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
BUILD
View File

@ -52,10 +52,9 @@ COPTS = select({
],
})
config_setting(
name = "msvc",
values = { "compiler": "msvc-cl" },
)
load(":compiler_config_setting.bzl", "create_compiler_config_setting")
create_compiler_config_setting(name = "msvc", value = "msvc-cl")
config_setting(
name = "android",