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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Rebase Created 3 years, 4 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
« no previous file with comments | « content/public/common/content_descriptor_keys.cc ('k') | extensions/shell/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 ":content_shell_lib", 537 ":content_shell_lib",
538 ":pak", 538 ":pak",
539 "//build/config:exe_and_shlib_deps", 539 "//build/config:exe_and_shlib_deps",
540 "//build/win:default_exe_manifest", 540 "//build/win:default_exe_manifest",
541 ] 541 ]
542 542
543 data_deps = [ 543 data_deps = [
544 ":pak", 544 ":pak",
545 ] 545 ]
546 546
547 public_deps = [
548 "//tools/v8_context_snapshot:v8_context_snapshot",
549 ]
550
551 data = [
552 "$root_out_dir/v8_context_snapshot.bin",
553 ]
554
547 if (is_win) { 555 if (is_win) {
548 deps += [ "//sandbox" ] 556 deps += [ "//sandbox" ]
549 557
550 # This is a large module that can't do incremental linking in some cases. 558 # This is a large module that can't do incremental linking in some cases.
551 configs -= [ "//build/config/win:default_incremental_linking" ] 559 configs -= [ "//build/config/win:default_incremental_linking" ]
552 configs += 560 configs +=
553 [ "//build/config/win:default_large_module_incremental_linking" ] 561 [ "//build/config/win:default_large_module_incremental_linking" ]
554 if (win_console_app) { 562 if (win_console_app) {
555 defines += [ "WIN_CONSOLE_APP" ] 563 defines += [ "WIN_CONSOLE_APP" ]
556 } else { 564 } else {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 sources = [ 609 sources = [
602 "app/English.lproj/HttpAuth.xib", 610 "app/English.lproj/HttpAuth.xib",
603 "app/English.lproj/MainMenu.xib", 611 "app/English.lproj/MainMenu.xib",
604 ] 612 ]
605 output_path = "{{bundle_resources_dir}}/English.lproj" 613 output_path = "{{bundle_resources_dir}}/English.lproj"
606 } 614 }
607 615
608 bundle_data("content_shell_framework_resources") { 616 bundle_data("content_shell_framework_resources") {
609 sources = [ 617 sources = [
610 "$root_out_dir/content_shell.pak", 618 "$root_out_dir/content_shell.pak",
619 "$root_out_dir/v8_context_snapshot.bin",
611 "resources/missingImage.png", 620 "resources/missingImage.png",
612 ] 621 ]
613 622
614 public_deps = [ 623 public_deps = [
615 ":pak", 624 ":pak",
625 "//tools/v8_context_snapshot:v8_context_snapshot",
616 ] 626 ]
617 627
618 if (icu_use_data_file) { 628 if (icu_use_data_file) {
619 sources += [ "$root_out_dir/icudtl.dat" ] 629 sources += [ "$root_out_dir/icudtl.dat" ]
620 deps = [ 630 deps = [
621 "//third_party/icu:icudata", 631 "//third_party/icu:icudata",
622 ] 632 ]
623 } 633 }
624 634
625 if (v8_use_external_startup_data) { 635 if (v8_use_external_startup_data) {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 data_deps += [ 835 data_deps += [
826 "//breakpad:dump_syms", 836 "//breakpad:dump_syms",
827 "//breakpad:microdump_stackwalk", 837 "//breakpad:microdump_stackwalk",
828 "//breakpad:minidump_dump", 838 "//breakpad:minidump_dump",
829 "//breakpad:minidump_stackwalk", 839 "//breakpad:minidump_stackwalk",
830 "//breakpad:symupload", 840 "//breakpad:symupload",
831 "//tools/android/forwarder2", 841 "//tools/android/forwarder2",
832 ] 842 ]
833 } 843 }
834 } 844 }
OLDNEW
« no previous file with comments | « content/public/common/content_descriptor_keys.cc ('k') | extensions/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698