Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: build/secondary/third_party/libjpeg_turbo/BUILD.gn

Issue 1422333008: Remove Windows-related GN build configuration (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/secondary/testing/gtest/BUILD.gn ('k') | build/secondary/third_party/libsrtp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/third_party/libjpeg_turbo/BUILD.gn
diff --git a/build/secondary/third_party/libjpeg_turbo/BUILD.gn b/build/secondary/third_party/libjpeg_turbo/BUILD.gn
index bf35d07eaa8c1ccff6cc63b29a97a74fd66900e9..7bb83d1ebb218bf7301be0adaa7ce1611bf0dade 100644
--- a/build/secondary/third_party/libjpeg_turbo/BUILD.gn
+++ b/build/secondary/third_party/libjpeg_turbo/BUILD.gn
@@ -73,15 +73,7 @@ if (current_cpu == "x86" || current_cpu == "x64") {
defines += [ "__x86_64__" ]
}
- if (is_win) {
- defines += [ "MSVC" ]
- include_dirs = [ "win" ]
- if (current_cpu == "x86") {
- defines += [ "WIN32" ]
- } else {
- defines += [ "WIN64" ]
- }
- } else if (is_mac) {
+ if (is_mac) {
defines += [ "MACHO" ]
include_dirs = [ "mac" ]
} else if (is_linux || is_android) {
@@ -99,9 +91,6 @@ source_set("simd") {
sources = [
"simd/jsimd_i386.c",
]
- if (is_win) {
- cflags = [ "/wd4245" ]
- }
} else if (current_cpu == "x64") {
deps = [
":simd_asm",
« no previous file with comments | « build/secondary/testing/gtest/BUILD.gn ('k') | build/secondary/third_party/libsrtp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698