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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 "//content:resources", | 425 "//content:resources", |
426 "//content/app/resources", | 426 "//content/app/resources", |
427 "//content/app/strings", | 427 "//content/app/strings", |
428 "//content/browser/tracing:resources", | 428 "//content/browser/tracing:resources", |
429 "//net:net_resources", | 429 "//net:net_resources", |
430 "//third_party/WebKit/public:resources", | 430 "//third_party/WebKit/public:resources", |
431 "//ui/resources", | 431 "//ui/resources", |
432 "//ui/strings", | 432 "//ui/strings", |
433 ] | 433 ] |
434 | 434 |
435 if (is_android) { | 435 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ] |
436 output = "$root_out_dir/content_shell/assets/content_shell.pak" | 436 deps += [ "//content/browser/devtools:resources" ] |
437 } else { | 437 output = "$root_out_dir/content_shell.pak" |
438 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ] | |
439 deps += [ "//content/browser/devtools:resources" ] | |
440 output = "$root_out_dir/content_shell.pak" | |
441 } | |
442 } | 438 } |
443 | 439 |
444 # TODO(GYP): Figure out what this should be on android | 440 # TODO(GYP): Figure out what this should be on android |
445 if (!is_android) { | 441 if (!is_android) { |
446 | 442 |
447 executable("content_shell") { | 443 executable("content_shell") { |
448 testonly = true | 444 testonly = true |
449 # TODO(GYP) mac resource bundle stuff for this target. | 445 # TODO(GYP) mac resource bundle stuff for this target. |
450 # TODO(GYP) Windows content shell settings: | 446 # TODO(GYP) Windows content shell settings: |
451 # - Manifest. | 447 # - Manifest. |
(...skipping 25 matching lines...) Expand all Loading... |
477 if (is_android && !is_android_webview_build) { | 473 if (is_android && !is_android_webview_build) { |
478 # Some tests rely on this tool. It might be nicer if these tests relied on | 474 # Some tests rely on this tool. It might be nicer if these tests relied on |
479 # image diff rather than having content shell depend on it. | 475 # image diff rather than having content shell depend on it. |
480 datadeps = [ | 476 datadeps = [ |
481 "//tools/imagediff($host_toolchain)", | 477 "//tools/imagediff($host_toolchain)", |
482 ] | 478 ] |
483 } | 479 } |
484 } | 480 } |
485 | 481 |
486 } | 482 } |
OLD | NEW |