OLD | NEW |
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 } |
OLD | NEW |