Skip to content

Commit 8d49f9a

Browse files
committed
Fixup for: [Backport] Security bug 1062941
Do not make the build believe it is using clang on Windows. Change-Id: I7916c361d34b4d6d12bf885329b38103709e274e Reviewed-by: Jüri Valdmann <[email protected]>
1 parent 4a74909 commit 8d49f9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chromium/third_party/libyuv/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# in the file PATENTS. All contributing project authors may
77
# be found in the AUTHORS file in the root of the source tree.
88

9+
import("//build/config/features.gni")
910
import("//testing/test.gni")
1011
import("libyuv.gni")
1112

@@ -49,7 +50,7 @@ group("libyuv") {
4950
all_dependent_configs = [ ":libyuv_config" ]
5051
deps = []
5152

52-
if (is_win && target_cpu == "x64") {
53+
if (is_win && target_cpu == "x64" && !use_qt) {
5354
# Compile with clang in order to get inline assembly
5455
public_deps = [ ":libyuv_internal(//build/toolchain/win:win_clang_x64)" ]
5556
} else {

0 commit comments

Comments
 (0)