| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 deps = [ | 199 deps = [ |
| 200 ":resources", | 200 ":resources", |
| 201 "//base", | 201 "//base", |
| 202 "//base:base_static", | 202 "//base:base_static", |
| 203 "//base/allocator", | 203 "//base/allocator", |
| 204 "//base/third_party/dynamic_annotations", | 204 "//base/third_party/dynamic_annotations", |
| 205 "//cc", | 205 "//cc", |
| 206 "//components/breakpad/app", | 206 "//components/breakpad/app", |
| 207 "//content:resources", | 207 "//content:resources", |
| 208 "//content/app:both", | 208 "//content/app:both", |
| 209 "//content/app/strings", |
| 209 "//content/gpu", | 210 "//content/gpu", |
| 210 "//content/ppapi_plugin", | 211 "//content/ppapi_plugin", |
| 211 "//content/public/browser", | 212 "//content/public/browser", |
| 212 "//content/public/common", | 213 "//content/public/common", |
| 213 "//content/public/plugin", | 214 "//content/public/plugin", |
| 214 "//content/public/renderer", | 215 "//content/public/renderer", |
| 215 "//content/public/utility", | 216 "//content/public/utility", |
| 216 "//content/test:layouttest_support", | 217 "//content/test:layouttest_support", |
| 217 "//gin", | 218 "//gin", |
| 218 "//gpu", | 219 "//gpu", |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 if (use_x11) { | 381 if (use_x11) { |
| 381 deps += [ ":copy_x11_fonts" ] | 382 deps += [ ":copy_x11_fonts" ] |
| 382 } | 383 } |
| 383 if (is_android) { | 384 if (is_android) { |
| 384 deps += [ ":copy_android_fonts" ] | 385 deps += [ ":copy_android_fonts" ] |
| 385 } | 386 } |
| 386 } | 387 } |
| 387 | 388 |
| 388 repack("pak") { | 389 repack("pak") { |
| 389 sources = [ | 390 sources = [ |
| 391 "$root_gen_dir/content/app/strings/content_strings_en-US.pak", |
| 392 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", |
| 390 "$root_gen_dir/content/content_resources.pak", | 393 "$root_gen_dir/content/content_resources.pak", |
| 391 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", | |
| 392 "$root_gen_dir/content/shell/shell_resources.pak", | 394 "$root_gen_dir/content/shell/shell_resources.pak", |
| 393 "$root_gen_dir/net/net_resources.pak", | 395 "$root_gen_dir/net/net_resources.pak", |
| 394 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 396 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
| 395 "$root_gen_dir/ui/resources/webui_resources.pak", | 397 "$root_gen_dir/ui/resources/webui_resources.pak", |
| 396 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 398 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
| 397 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 399 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
| 398 "$root_gen_dir/webkit/blink_resources.pak", | 400 "$root_gen_dir/webkit/blink_resources.pak", |
| 399 "$root_gen_dir/webkit/webkit_resources_100_percent.pak", | 401 "$root_gen_dir/webkit/webkit_resources_100_percent.pak", |
| 400 "$root_gen_dir/webkit/webkit_strings_en-US.pak", | |
| 401 ] | 402 ] |
| 402 | 403 |
| 403 deps = [ | 404 deps = [ |
| 404 ":resources", | 405 ":resources", |
| 405 "//content:resources", | 406 "//content:resources", |
| 407 "//content/app/strings", |
| 406 "//content/browser/tracing:resources", | 408 "//content/browser/tracing:resources", |
| 407 "//net:net_resources", | 409 "//net:net_resources", |
| 408 "//ui/resources", | 410 "//ui/resources", |
| 409 "//ui/strings", | 411 "//ui/strings", |
| 410 "//webkit:resources", | 412 "//webkit:resources", |
| 411 "//webkit:strings", | |
| 412 ] | 413 ] |
| 413 | 414 |
| 414 if (is_android) { | 415 if (is_android) { |
| 415 output = "$root_out_dir/content_shell/assets/content_shell.pak" | 416 output = "$root_out_dir/content_shell/assets/content_shell.pak" |
| 416 } else { | 417 } else { |
| 417 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ] | 418 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ] |
| 418 deps += [ "//content/browser/devtools:resources" ] | 419 deps += [ "//content/browser/devtools:resources" ] |
| 419 output = "$root_out_dir/content_shell.pak" | 420 output = "$root_out_dir/content_shell.pak" |
| 420 } | 421 } |
| 421 } | 422 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 451 } | 452 } |
| 452 | 453 |
| 453 if (!is_android || !is_android_webview_build) { | 454 if (!is_android || !is_android_webview_build) { |
| 454 # Some tests rely on this tool. It might be nicer if these tests relied on | 455 # Some tests rely on this tool. It might be nicer if these tests relied on |
| 455 # image diff rather than having content shell depend on it. | 456 # image diff rather than having content shell depend on it. |
| 456 datadeps = [ | 457 datadeps = [ |
| 457 "//tools/imagediff($host_toolchain)", | 458 "//tools/imagediff($host_toolchain)", |
| 458 ] | 459 ] |
| 459 } | 460 } |
| 460 } | 461 } |
| OLD | NEW |