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