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/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 242 |
243 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 243 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
244 cflags = [ "/wd4267" ] | 244 cflags = [ "/wd4267" ] |
245 } | 245 } |
246 | 246 |
247 if (is_linux) { | 247 if (is_linux) { |
248 configs += [ "//build/config/linux:fontconfig" ] | 248 configs += [ "//build/config/linux:fontconfig" ] |
249 } | 249 } |
250 | 250 |
251 if (use_x11) { | 251 if (use_x11) { |
252 # TODO(GYP) The GYP build includes a dep on the xdisplaycheck executable. | 252 # Some tests rely on this tool at runtime. Note: it might be better if |
253 # Track down who added this and ask them if it's necessary, since this | 253 # the tests that needed it had this as a dep instead of adding it here. |
254 # seems suspicious. | 254 datadeps = [ "//tools/xdisplaycheck" ] |
255 } | 255 } |
256 | 256 |
257 if (is_android) { | 257 if (is_android) { |
258 #deps += [ 'content_shell_jni_headers' ] TODO(GYP) | 258 #deps += [ 'content_shell_jni_headers' ] TODO(GYP) |
259 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP) | 259 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP) |
260 } | 260 } |
261 | 261 |
262 if (is_posix && !is_mac && (!is_android || !is_android_webview_build)) { | 262 if (is_posix && !is_mac && (!is_android || !is_android_webview_build)) { |
263 #deps += [ '../components/components.gyp:breakpad_host' ] TODO(GYP | 263 #deps += [ '../components/components.gyp:breakpad_host' ] TODO(GYP |
264 } | 264 } |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 430 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
431 sources = [ | 431 sources = [ |
432 "../app/startup_helper_win.cc", | 432 "../app/startup_helper_win.cc", |
433 "app/shell_main.cc", | 433 "app/shell_main.cc", |
434 ] | 434 ] |
435 | 435 |
436 deps = [ | 436 deps = [ |
437 ":content_shell_lib", | 437 ":content_shell_lib", |
438 ":pak", | 438 ":pak", |
439 "//base/allocator", | 439 "//base/allocator", |
440 #'../third_party/mesa/mesa.gyp:osmesa', TODO(GYP) | 440 "//third_party/mesa:osmesa", |
441 ] | 441 ] |
442 | 442 |
443 if (is_win) { | 443 if (is_win) { |
444 deps = [ "//sandbox" ] | 444 deps = [ "//sandbox" ] |
445 if (!is_asan) { | 445 if (!is_asan) { |
446 configs -= [ "//build/config/win:console" ] | 446 configs -= [ "//build/config/win:console" ] |
447 configs += [ "//build/config/win:windowed" ] | 447 configs += [ "//build/config/win:windowed" ] |
448 } | 448 } |
449 } | 449 } |
450 | 450 |
451 if (is_mac) { | 451 if (is_mac) { |
452 # TODO(GYP) lots of stuff from GYP file here. | 452 # TODO(GYP) lots of stuff from GYP file here. |
453 } | 453 } |
454 | 454 |
455 if (!is_android || !is_android_webview_build) { | 455 if (!is_android || !is_android_webview_build) { |
456 deps += [ | 456 datadeps += [ |
457 # NOTE: rely on host build of this target. | 457 # NOTE: rely on host build of this target. |
458 #'../tools/imagediff/image_diff.gyp:image_diff', TODO(GYP) | 458 #'../tools/imagediff/image_diff.gyp:image_diff', TODO(GYP) |
459 ] | 459 ] |
460 } | 460 } |
461 } | 461 } |
462 | 462 |
463 } else { | 463 } else { |
464 # Content shell not ready, make a dummpy to make dependency management easier. | 464 # Content shell not ready, make a dummpy to make dependency management easier. |
465 group("content_shell") { | 465 group("content_shell") { |
466 } | 466 } |
467 } | 467 } |
OLD | NEW |