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

Side by Side Diff: third_party/qcms/BUILD.gn

Issue 1259253006: Reland of Enable C4018 globally for the GN build, and disable per-target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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 unified diff | Download patch
« no previous file with comments | « third_party/protobuf/BUILD.gn ('k') | third_party/re2/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("qcms_config") { 5 config("qcms_config") {
6 include_dirs = [ "src" ] 6 include_dirs = [ "src" ]
7 } 7 }
8 8
9 source_set("qcms") { 9 source_set("qcms") {
10 sources = [ 10 sources = [
(...skipping 14 matching lines...) Expand all
25 configs += [ "//build/config/compiler:no_chromium_code" ] 25 configs += [ "//build/config/compiler:no_chromium_code" ]
26 public_configs = [ ":qcms_config" ] 26 public_configs = [ ":qcms_config" ]
27 27
28 if (current_cpu == "x86" || current_cpu == "x64") { 28 if (current_cpu == "x86" || current_cpu == "x64") {
29 defines = [ "SSE2_ENABLE" ] 29 defines = [ "SSE2_ENABLE" ]
30 sources += [ "src/transform-sse2.c" ] 30 sources += [ "src/transform-sse2.c" ]
31 } 31 }
32 32
33 if (is_win) { 33 if (is_win) {
34 cflags = [ 34 cflags = [
35 "/wd4018", # Signed/unsigned mismatch in comparison.
35 "/wd4056", # Overflow in floating-point constant arithmetic (INFINITY). 36 "/wd4056", # Overflow in floating-point constant arithmetic (INFINITY).
36 "/wd4756", # Overflow in constant arithmetic (INFINITY). 37 "/wd4756", # Overflow in constant arithmetic (INFINITY).
37 ] 38 ]
38 } 39 }
39 } 40 }
OLDNEW
« no previous file with comments | « third_party/protobuf/BUILD.gn ('k') | third_party/re2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698