Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1070)

Side by Side Diff: content/shell/BUILD.gn

Issue 2469073004: content_shell: Remove deps for resources only needed at runtime. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/win/console_app.gni") 8 import("//build/config/win/console_app.gni")
9 import("//build/config/win/manifest.gni") 9 import("//build/config/win/manifest.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 391
392 public_deps = [ 392 public_deps = [
393 ":content_shell_resources_grit", 393 ":content_shell_resources_grit",
394 ] 394 ]
395 } 395 }
396 396
397 group("resources") { 397 group("resources") {
398 public_deps = [ 398 public_deps = [
399 ":copy_shell_resources", 399 ":copy_shell_resources",
400 ] 400 ]
401 deps = [
402 "//components/test_runner:resources",
403 ]
404 data_deps = [ 401 data_deps = [
405 "//components/test_runner:resources", 402 "//components/test_runner:resources",
406 ] 403 ]
407 } 404 }
408 405
409 repack("pak") { 406 repack("pak") {
410 sources = [ 407 sources = [
411 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" , 408 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" ,
412 "$root_gen_dir/blink/public/resources/blink_resources.pak", 409 "$root_gen_dir/blink/public/resources/blink_resources.pak",
413 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", 410 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 ] 494 ]
498 495
499 if (is_win) { 496 if (is_win) {
500 sources += [ "app/shell.rc" ] 497 sources += [ "app/shell.rc" ]
501 } 498 }
502 499
503 defines = [] 500 defines = []
504 501
505 deps = [ 502 deps = [
506 ":content_shell_lib", 503 ":content_shell_lib",
507 ":pak",
508 "//build/config/sanitizers:deps", 504 "//build/config/sanitizers:deps",
509 "//build/win:default_exe_manifest", 505 "//build/win:default_exe_manifest",
510 ] 506 ]
511 507
512 data_deps = [ 508 data_deps = [
513 ":pak", 509 ":pak",
514 ] 510 ]
515 511
516 if (is_win) { 512 if (is_win) {
517 deps += [ "//sandbox" ] 513 deps += [ "//sandbox" ]
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 "{{bundle_resources_dir}}/{{source_file_part}}", 742 "{{bundle_resources_dir}}/{{source_file_part}}",
747 ] 743 ]
748 } 744 }
749 } 745 }
750 746
751 mojom("mojo_bindings") { 747 mojom("mojo_bindings") {
752 sources = [ 748 sources = [
753 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom", 749 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom",
754 ] 750 ]
755 } 751 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698