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

Side by Side Diff: extensions/renderer/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 | « extensions/common/BUILD.gn ('k') | extensions/utility/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/features.gni") 5 import("//build/config/features.gni")
6 import("//extensions/extensions.gni") 6 import("//extensions/extensions.gni")
7 7
8 assert(enable_extensions) 8 assert(enable_extensions)
9 9
10 # GYP version: extensions/extensions.gyp:extensions_renderer 10 # GYP version: extensions/extensions.gyp:extensions_renderer
11 source_set("renderer") { 11 source_set("renderer") {
12 sources = rebase_path(extensions_gypi_values.extensions_renderer_sources, 12 sources = rebase_path(extensions_gypi_values.extensions_renderer_sources,
13 ".", 13 ".",
14 "//extensions") 14 "//extensions")
15 15
16 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
17 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
18
16 deps = [ 19 deps = [
17 "//chrome:resources", 20 "//chrome:resources",
18 "//content:resources", 21 "//content:resources",
19 "//extensions:extensions_resources", 22 "//extensions:extensions_resources",
20 "//gin", 23 "//gin",
21 "//skia", 24 "//skia",
22 "//third_party/WebKit/public:blink", 25 "//third_party/WebKit/public:blink",
23 "//third_party/mojo/src/mojo/edk/js", 26 "//third_party/mojo/src/mojo/edk/js",
24 ] 27 ]
25
26 if (is_win) {
27 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations.
28 }
29 } 28 }
OLDNEW
« no previous file with comments | « extensions/common/BUILD.gn ('k') | extensions/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698