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

Side by Side Diff: third_party/harfbuzz-ng/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/cld_2/BUILD.gn ('k') | third_party/libexif/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 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 6
7 # The GYP build supports system harfbuzz for non-official builds when using 7 # The GYP build supports system harfbuzz for non-official builds when using
8 # pangoft2 1.31.0 or greater (which pulls it in). 8 # pangoft2 1.31.0 or greater (which pulls it in).
9 # TODO(brettw) we can consider doing this as well, although the benefit is 9 # TODO(brettw) we can consider doing this as well, although the benefit is
10 # unclear and requires shelling out to a script to check the version. 10 # unclear and requires shelling out to a script to check the version.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 deps = [ 155 deps = [
156 "//third_party/icu:icuuc", 156 "//third_party/icu:icuuc",
157 ] 157 ]
158 158
159 cflags = [] 159 cflags = []
160 if (is_clang) { 160 if (is_clang) {
161 cflags += [ "-Wno-unused-value" ] 161 cflags += [ "-Wno-unused-value" ]
162 } 162 }
163 if (is_win) { 163 if (is_win) {
164 cflags += [ 164 cflags += [
165 "/wd4267", # size_t to 'type' converion.
166 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. 165 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits.
167 ] 166 ]
168 } 167 }
169 if (is_mac) { 168 if (is_mac) {
170 sources += [ 169 sources += [
171 "src/hb-coretext.cc", 170 "src/hb-coretext.cc",
172 "src/hb-coretext.h", 171 "src/hb-coretext.h",
173 ] 172 ]
174 defines += [ "HAVE_CORETEXT" ] 173 defines += [ "HAVE_CORETEXT" ]
175 } 174 }
176 } 175 }
177 } 176 }
OLDNEW
« no previous file with comments | « third_party/cld_2/BUILD.gn ('k') | third_party/libexif/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698