diff --git a/external/fdk_aac.BUILD b/external/fdk_aac.BUILD index 68438c14..5aaee6fb 100644 --- a/external/fdk_aac.BUILD +++ b/external/fdk_aac.BUILD @@ -68,7 +68,7 @@ cc_library( "libMpegTPDec/include/*.h", ]), copts = select({ - "//tools/cc_target_os:windows": [], + "@bazel_tools//src/conditions:windows": [], "//conditions:default": [ "-Wno-implicit-fallthrough", "-Wno-unused-label", @@ -202,7 +202,7 @@ cc_library( "libPCMutils/include/*.h", ]), copts = select({ - "//tools/cc_target_os:windows": [], + "@bazel_tools//src/conditions:windows": [], "//conditions:default": [ "-Wno-implicit-fallthrough", "-Wno-unused-label", @@ -258,7 +258,7 @@ cc_library( "//conditions:default": [], }), copts = select({ - "//tools/cc_target_os:windows": [], + "@bazel_tools//src/conditions:windows": [], "//conditions:default": [ "-Wno-implicit-fallthrough", "-Wno-unused-variable", diff --git a/external/flac.BUILD b/external/flac.BUILD index b1248799..ede136fb 100644 --- a/external/flac.BUILD +++ b/external/flac.BUILD @@ -11,7 +11,7 @@ flac_version_dir = "src" exports_files(["LICENSE"]) platform_srcs = select({ - "//tools/cc_target_os:windows": glob(["src/share/win_utf8_io/*.c"]), + "@bazel_tools//src/conditions:windows": glob(["src/share/win_utf8_io/*.c"]), "//conditions:default": glob([]), })