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