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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//tools/grit/repack.gni") | 7 import("//tools/grit/repack.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 "renderer/test_runner/web_task.cc", | 218 "renderer/test_runner/web_task.cc", |
219 "renderer/test_runner/web_task.h", | 219 "renderer/test_runner/web_task.h", |
220 "renderer/test_runner/web_test_delegate.h", | 220 "renderer/test_runner/web_test_delegate.h", |
221 "renderer/test_runner/web_test_interfaces.cc", | 221 "renderer/test_runner/web_test_interfaces.cc", |
222 "renderer/test_runner/web_test_interfaces.h", | 222 "renderer/test_runner/web_test_interfaces.h", |
223 "renderer/test_runner/web_test_proxy.cc", | 223 "renderer/test_runner/web_test_proxy.cc", |
224 "renderer/test_runner/web_test_proxy.h", | 224 "renderer/test_runner/web_test_proxy.h", |
225 "renderer/test_runner/web_test_runner.h", | 225 "renderer/test_runner/web_test_runner.h", |
226 ] | 226 ] |
227 | 227 |
| 228 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 229 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 230 |
228 defines = [ "CONTENT_SHELL_VERSION=\"$content_shell_version\"" ] | 231 defines = [ "CONTENT_SHELL_VERSION=\"$content_shell_version\"" ] |
229 | 232 |
230 public_deps = [ | 233 public_deps = [ |
231 # This exposes all public content APIs. | 234 # This exposes all public content APIs. |
232 "//content/public/app:both", | 235 "//content/public/app:both", |
233 "//content/public/browser", | 236 "//content/public/browser", |
234 "//content/public/common", | 237 "//content/public/common", |
235 "//content/public/plugin", | 238 "//content/public/plugin", |
236 "//content/public/renderer", | 239 "//content/public/renderer", |
237 "//content/public/utility", | 240 "//content/public/utility", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 "//v8", | 276 "//v8", |
274 | 277 |
275 #'copy_test_netscape_plugin', TODO(GYP) | 278 #'copy_test_netscape_plugin', TODO(GYP) |
276 ] | 279 ] |
277 if (enable_plugins) { | 280 if (enable_plugins) { |
278 deps += [ "//content/ppapi_plugin" ] | 281 deps += [ "//content/ppapi_plugin" ] |
279 } | 282 } |
280 | 283 |
281 if (is_win) { | 284 if (is_win) { |
282 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) | 285 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) |
283 | |
284 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
285 cflags = [ "/wd4267" ] | |
286 sources += [ | 286 sources += [ |
287 "common/v8_breakpad_support_win.cc", | 287 "common/v8_breakpad_support_win.cc", |
288 "common/v8_breakpad_support_win.h", | 288 "common/v8_breakpad_support_win.h", |
289 ] | 289 ] |
290 } | 290 } |
291 | 291 |
292 if (is_linux) { | 292 if (is_linux) { |
293 configs += [ "//build/config/linux:fontconfig" ] | 293 configs += [ "//build/config/linux:fontconfig" ] |
294 } | 294 } |
295 | 295 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 # image diff rather than having content shell depend on it. | 522 # image diff rather than having content shell depend on it. |
523 datadeps = [ | 523 datadeps = [ |
524 "//tools/imagediff($host_toolchain)", | 524 "//tools/imagediff($host_toolchain)", |
525 ] | 525 ] |
526 } | 526 } |
527 } | 527 } |
528 } else { | 528 } else { |
529 group("content_shell") { | 529 group("content_shell") { |
530 } | 530 } |
531 } | 531 } |
OLD | NEW |