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

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

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 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/boringssl/BUILD.gn ('k') | third_party/cld_2/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("cld_config") { 5 config("cld_config") {
6 defines = [ "CLD_WINDOWS" ] 6 defines = [ "CLD_WINDOWS" ]
7 include_dirs = [ "." ] 7 include_dirs = [ "." ]
8 } 8 }
9 9
10 source_set("cld") { 10 source_set("cld") {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ] 95 ]
96 configs += [ "//build/config/compiler:no_chromium_code" ] 96 configs += [ "//build/config/compiler:no_chromium_code" ]
97 public_configs = [ ":cld_config" ] 97 public_configs = [ ":cld_config" ]
98 98
99 if (is_win) { 99 if (is_win) {
100 defines = [ "COMPILER_MSVC" ] 100 defines = [ "COMPILER_MSVC" ]
101 cflags = [ 101 cflags = [
102 "/wd4005", # Macro defined twice. 102 "/wd4005", # Macro defined twice.
103 "/wd4006", # #undef expected an identifier. 103 "/wd4006", # #undef expected an identifier.
104 "/wd4309", # Truncation of constant value. 104 "/wd4309", # Truncation of constant value.
105 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int
106 ] 105 ]
107 } else { 106 } else {
108 defines = [ "COMPILER_GCC" ] 107 defines = [ "COMPILER_GCC" ]
109 } 108 }
110 109
111 public_deps = [ 110 public_deps = [
112 "//third_party/icu:icuuc", 111 "//third_party/icu:icuuc",
113 ] 112 ]
114 } 113 }
OLDNEW
« no previous file with comments | « third_party/boringssl/BUILD.gn ('k') | third_party/cld_2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698