| 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/locales.gni") | 6 import("//build/config/locales.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//chrome/chrome_repack_locales.gni") | 8 import("//chrome/chrome_repack_locales.gni") |
| 9 import("//chrome/version.gni") | 9 import("//chrome/version.gni") |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 deps = [] | 34 deps = [] |
| 35 datadeps = [] | 35 datadeps = [] |
| 36 | 36 |
| 37 # TODO(GYP) mac_bundle_resources, xcode_settings | 37 # TODO(GYP) mac_bundle_resources, xcode_settings |
| 38 | 38 |
| 39 # TODO(GYP) order_profiling, order_text_section | 39 # TODO(GYP) order_profiling, order_text_section |
| 40 | 40 |
| 41 if (is_win) { | 41 if (is_win) { |
| 42 sources += [ | 42 sources += [ |
| 43 "$target_gen_dir/chrome_exe_version.rc", | 43 "$target_gen_dir/chrome_exe_version.rc", |
| 44 "//content/app/startup_helper_win.cc", |
| 45 "//content/public/common/content_switches.cc", |
| 44 "app/chrome_crash_reporter_client.cc", | 46 "app/chrome_crash_reporter_client.cc", |
| 45 "app/chrome_crash_reporter_client.h", | 47 "app/chrome_crash_reporter_client.h", |
| 46 "app/chrome_exe.rc", | 48 "app/chrome_exe.rc", |
| 47 "app/chrome_exe_main_win.cc", | 49 "app/chrome_exe_main_win.cc", |
| 48 "app/chrome_watcher_client_win.cc", | 50 "app/chrome_watcher_client_win.cc", |
| 49 "app/chrome_watcher_client_win.h", | 51 "app/chrome_watcher_client_win.h", |
| 50 "app/chrome_watcher_command_line_win.cc", | 52 "app/chrome_watcher_command_line_win.cc", |
| 51 "app/chrome_watcher_command_line_win.h", | 53 "app/chrome_watcher_command_line_win.h", |
| 52 "app/client_util.cc", | 54 "app/client_util.cc", |
| 53 "app/client_util.h", | 55 "app/client_util.h", |
| 54 "app/signature_validator_win.cc", | 56 "app/signature_validator_win.cc", |
| 55 "app/signature_validator_win.h", | 57 "app/signature_validator_win.h", |
| 56 "common/crash_keys.cc", | 58 "common/crash_keys.cc", |
| 57 "common/crash_keys.h'", | 59 "common/crash_keys.h'", |
| 58 "//content/app/startup_helper_win.cc", | |
| 59 "//content/public/common/content_switches.cc", | |
| 60 ] | 60 ] |
| 61 deps += [ | 61 deps += [ |
| 62 ":chrome_version_resources", | 62 ":chrome_version_resources", |
| 63 ":image_pre_reader", | 63 ":image_pre_reader", |
| 64 ":main_dll", | 64 ":main_dll", |
| 65 | 65 |
| 66 # 'chrome_nacl_win64" TODO(GYP) | 66 # 'chrome_nacl_win64" TODO(GYP) |
| 67 # '../win8/delegate_execute/delegate_execute.gyp:*', TODO(GYP) | 67 # '../win8/delegate_execute/delegate_execute.gyp:*', TODO(GYP) |
| 68 # '../win8/metro_driver/metro_driver.gyp:metro_driver', TODO(GYP) | 68 # '../win8/metro_driver/metro_driver.gyp:metro_driver', TODO(GYP) |
| 69 "//base", | 69 "//base", |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 "//chrome/browser/resources:quota_internals_resources", | 401 "//chrome/browser/resources:quota_internals_resources", |
| 402 "//chrome/browser/resources:sync_file_system_internals_resources", | 402 "//chrome/browser/resources:sync_file_system_internals_resources", |
| 403 ] | 403 ] |
| 404 } | 404 } |
| 405 } | 405 } |
| 406 | 406 |
| 407 if (is_chrome_branded) { | 407 if (is_chrome_branded) { |
| 408 copy("default_apps") { | 408 copy("default_apps") { |
| 409 visibility = [ ":packed_resources" ] | 409 visibility = [ ":packed_resources" ] |
| 410 sources = [ | 410 sources = [ |
| 411 "browser/resources/default_apps/docs.crx", |
| 412 "browser/resources/default_apps/drive.crx", |
| 411 "browser/resources/default_apps/external_extensions.json", | 413 "browser/resources/default_apps/external_extensions.json", |
| 412 "browser/resources/default_apps/gmail.crx", | 414 "browser/resources/default_apps/gmail.crx", |
| 413 "browser/resources/default_apps/search.crx", | 415 "browser/resources/default_apps/search.crx", |
| 414 "browser/resources/default_apps/youtube.crx", | 416 "browser/resources/default_apps/youtube.crx", |
| 415 "browser/resources/default_apps/drive.crx", | |
| 416 "browser/resources/default_apps/docs.crx", | |
| 417 ] | 417 ] |
| 418 outputs = [ | 418 outputs = [ |
| 419 "$root_out_dir/default_apps/{{source_file_part}}", | 419 "$root_out_dir/default_apps/{{source_file_part}}", |
| 420 ] | 420 ] |
| 421 } | 421 } |
| 422 } | 422 } |
| 423 | 423 |
| 424 group("packed_resources") { | 424 group("packed_resources") { |
| 425 deps = [ | 425 deps = [ |
| 426 ":repack_locales_pack", | 426 ":repack_locales_pack", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 "//chrome/browser/resources:sync_internals_resources", | 466 "//chrome/browser/resources:sync_internals_resources", |
| 467 "//chrome/browser/resources:translate_internals_resources", | 467 "//chrome/browser/resources:translate_internals_resources", |
| 468 "//components/resources", | 468 "//components/resources", |
| 469 "//net:net_resources", | 469 "//net:net_resources", |
| 470 "//ui/resources", | 470 "//ui/resources", |
| 471 ] | 471 ] |
| 472 | 472 |
| 473 if (!is_ios && !is_android) { | 473 if (!is_ios && !is_android) { |
| 474 # New paks should be added here by default. | 474 # New paks should be added here by default. |
| 475 sources += [ | 475 sources += [ |
| 476 "$root_gen_dir/blink/devtools_resources.pak", |
| 476 "$root_gen_dir/chrome/component_extension_resources.pak", | 477 "$root_gen_dir/chrome/component_extension_resources.pak", |
| 477 "$root_gen_dir/chrome/options_resources.pak", | 478 "$root_gen_dir/chrome/options_resources.pak", |
| 478 "$root_gen_dir/chrome/quota_internals_resources.pak", | 479 "$root_gen_dir/chrome/quota_internals_resources.pak", |
| 479 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak", | 480 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak", |
| 480 "$root_gen_dir/chrome/webrtc_device_provider_resources.pak", | 481 "$root_gen_dir/chrome/webrtc_device_provider_resources.pak", |
| 481 "$root_gen_dir/blink/devtools_resources.pak", | |
| 482 ] | 482 ] |
| 483 deps += [ | 483 deps += [ |
| 484 "//chrome/browser/devtools:webrtc_device_provider_resources", | 484 "//chrome/browser/devtools:webrtc_device_provider_resources", |
| 485 "//chrome/browser/resources:component_extension_resources", | 485 "//chrome/browser/resources:component_extension_resources", |
| 486 "//chrome/browser/resources:options_resources", | 486 "//chrome/browser/resources:options_resources", |
| 487 "//chrome/browser/resources:quota_internals_resources", | 487 "//chrome/browser/resources:quota_internals_resources", |
| 488 "//chrome/browser/resources:sync_file_system_internals_resources", | 488 "//chrome/browser/resources:sync_file_system_internals_resources", |
| 489 "//content/browser/devtools:devtools_resources", | 489 "//content/browser/devtools:devtools_resources", |
| 490 ] | 490 ] |
| 491 } | 491 } |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 repack_name = "${target_name}_repack" | 571 repack_name = "${target_name}_repack" |
| 572 repack_output_file = "$root_gen_dir/repack/chrome_${percent}_percent.pak" | 572 repack_output_file = "$root_gen_dir/repack/chrome_${percent}_percent.pak" |
| 573 | 573 |
| 574 copy_name = target_name | 574 copy_name = target_name |
| 575 | 575 |
| 576 repack(repack_name) { | 576 repack(repack_name) { |
| 577 visibility = [ ":$copy_name" ] | 577 visibility = [ ":$copy_name" ] |
| 578 | 578 |
| 579 # All sources should also have deps for completeness. | 579 # All sources should also have deps for completeness. |
| 580 sources = [ | 580 sources = [ |
| 581 "$root_gen_dir/chrome/renderer_resources_${percent}_percent.pak", |
| 582 "$root_gen_dir/chrome/theme_resources_${percent}_percent.pak", |
| 581 "$root_gen_dir/components/components_resources_${percent}_percent.pak", | 583 "$root_gen_dir/components/components_resources_${percent}_percent.pak", |
| 582 "$root_gen_dir/ui/resources/ui_resources_${percent}_percent.pak", | 584 "$root_gen_dir/ui/resources/ui_resources_${percent}_percent.pak", |
| 583 "$root_gen_dir/chrome/renderer_resources_${percent}_percent.pak", | |
| 584 "$root_gen_dir/chrome/theme_resources_${percent}_percent.pak", | |
| 585 ] | 585 ] |
| 586 | 586 |
| 587 deps = [ | 587 deps = [ |
| 588 "//chrome/app/theme:theme_resources", | 588 "//chrome/app/theme:theme_resources", |
| 589 "//chrome/renderer:resources", | 589 "//chrome/renderer:resources", |
| 590 "//components/strings", | 590 "//components/strings", |
| 591 "//net:net_resources", | 591 "//net:net_resources", |
| 592 ] | 592 ] |
| 593 | 593 |
| 594 if (!is_ios) { | 594 if (!is_ios) { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 | 733 |
| 734 args = [ | 734 args = [ |
| 735 rebase_path(infile, root_build_dir), | 735 rebase_path(infile, root_build_dir), |
| 736 rebase_path(outfile, root_build_dir), | 736 rebase_path(outfile, root_build_dir), |
| 737 "-e s/@@NAME@@/$name/", | 737 "-e s/@@NAME@@/$name/", |
| 738 "-e s/@@FILENAME@@/$filename/", | 738 "-e s/@@FILENAME@@/$filename/", |
| 739 "-e s/@@CONFDIR@@/$confdir/", | 739 "-e s/@@CONFDIR@@/$confdir/", |
| 740 ] | 740 ] |
| 741 } | 741 } |
| 742 } | 742 } |
| OLD | NEW |