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

Side by Side Diff: third_party/smhasher/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/re2/BUILD.gn ('k') | third_party/snappy/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 source_set("murmurhash3") { 5 source_set("murmurhash3") {
6 sources = [ 6 sources = [
7 "src/MurmurHash3.cpp", 7 "src/MurmurHash3.cpp",
8 "src/MurmurHash3.h", 8 "src/MurmurHash3.h",
9 ] 9 ]
10 configs -= [ "//build/config/compiler:chromium_code" ] 10 configs -= [ "//build/config/compiler:chromium_code" ]
11 configs += [ "//build/config/compiler:no_chromium_code" ] 11 configs += [ "//build/config/compiler:no_chromium_code" ]
12 } 12 }
13 13
14 source_set("pmurhash") { 14 source_set("pmurhash") {
15 sources = [ 15 sources = [
16 "src/PMurHash.c", 16 "src/PMurHash.c",
17 "src/PMurHash.h", 17 "src/PMurHash.h",
18 ] 18 ]
19 configs -= [ "//build/config/compiler:chromium_code" ] 19 configs -= [ "//build/config/compiler:chromium_code" ]
20 configs += [ "//build/config/compiler:no_chromium_code" ] 20 configs += [ "//build/config/compiler:no_chromium_code" ]
21 } 21 }
22 22
23 source_set("cityhash") { 23 source_set("cityhash") {
24 sources = [ 24 sources = [
25 "src/City.cpp", 25 "src/City.cpp",
26 "src/City.h", 26 "src/City.h",
27 ] 27 ]
28 configs -= [ "//build/config/compiler:chromium_code" ] 28 configs -= [ "//build/config/compiler:chromium_code" ]
29 configs += [ "//build/config/compiler:no_chromium_code" ] 29 configs += [ "//build/config/compiler:no_chromium_code" ]
30
31 if (is_win) {
32 # TODO(jschuh): http://code.google.com/p/smhasher/issues/detail?id=19
33 cflags = [ "/wd4267" ]
34 }
35 } 30 }
OLDNEW
« no previous file with comments | « third_party/re2/BUILD.gn ('k') | third_party/snappy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698