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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Disable on ChromeOS and reduce size of table Created 3 years, 5 months 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 ":content_shell_lib", 531 ":content_shell_lib",
532 ":pak", 532 ":pak",
533 "//build/config:exe_and_shlib_deps", 533 "//build/config:exe_and_shlib_deps",
534 "//build/win:default_exe_manifest", 534 "//build/win:default_exe_manifest",
535 ] 535 ]
536 536
537 data_deps = [ 537 data_deps = [
538 ":pak", 538 ":pak",
539 ] 539 ]
540 540
541 public_deps = [
542 "//tools/blink_v8_snapshot:blink_v8_snapshot",
543 ]
544
545 data = [
546 "$root_out_dir/blink_v8_snapshot.bin",
547 ]
548
541 if (is_win) { 549 if (is_win) {
542 deps += [ "//sandbox" ] 550 deps += [ "//sandbox" ]
543 551
544 # This is a large module that can't do incremental linking in some cases. 552 # This is a large module that can't do incremental linking in some cases.
545 configs -= [ "//build/config/win:default_incremental_linking" ] 553 configs -= [ "//build/config/win:default_incremental_linking" ]
546 configs += 554 configs +=
547 [ "//build/config/win:default_large_module_incremental_linking" ] 555 [ "//build/config/win:default_large_module_incremental_linking" ]
548 if (win_console_app) { 556 if (win_console_app) {
549 defines += [ "WIN_CONSOLE_APP" ] 557 defines += [ "WIN_CONSOLE_APP" ]
550 } else { 558 } else {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 mac_xib_bundle_data("content_shell_framework_xibs") { 602 mac_xib_bundle_data("content_shell_framework_xibs") {
595 sources = [ 603 sources = [
596 "app/English.lproj/HttpAuth.xib", 604 "app/English.lproj/HttpAuth.xib",
597 "app/English.lproj/MainMenu.xib", 605 "app/English.lproj/MainMenu.xib",
598 ] 606 ]
599 output_path = "{{bundle_resources_dir}}/English.lproj" 607 output_path = "{{bundle_resources_dir}}/English.lproj"
600 } 608 }
601 609
602 bundle_data("content_shell_framework_resources") { 610 bundle_data("content_shell_framework_resources") {
603 sources = [ 611 sources = [
612 "$root_out_dir/blink_v8_snapshot.bin",
604 "$root_out_dir/content_shell.pak", 613 "$root_out_dir/content_shell.pak",
605 "resources/missingImage.png", 614 "resources/missingImage.png",
606 ] 615 ]
607 616
608 public_deps = [ 617 public_deps = [
609 ":pak", 618 ":pak",
619 "//tools/blink_v8_snapshot:blink_v8_snapshot",
610 ] 620 ]
611 621
612 if (icu_use_data_file) { 622 if (icu_use_data_file) {
613 sources += [ "$root_out_dir/icudtl.dat" ] 623 sources += [ "$root_out_dir/icudtl.dat" ]
614 deps = [ 624 deps = [
615 "//third_party/icu:icudata", 625 "//third_party/icu:icudata",
616 ] 626 ]
617 } 627 }
618 628
619 if (v8_use_external_startup_data) { 629 if (v8_use_external_startup_data) {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 data_deps += [ 829 data_deps += [
820 "//breakpad:dump_syms", 830 "//breakpad:dump_syms",
821 "//breakpad:microdump_stackwalk", 831 "//breakpad:microdump_stackwalk",
822 "//breakpad:minidump_dump", 832 "//breakpad:minidump_dump",
823 "//breakpad:minidump_stackwalk", 833 "//breakpad:minidump_stackwalk",
824 "//breakpad:symupload", 834 "//breakpad:symupload",
825 "//tools/android/forwarder2", 835 "//tools/android/forwarder2",
826 ] 836 ]
827 } 837 }
828 } 838 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698