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

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

Issue 2989793003: Revert of [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: 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
555 if (is_win) { 547 if (is_win) {
556 deps += [ "//sandbox" ] 548 deps += [ "//sandbox" ]
557 549
558 # This is a large module that can't do incremental linking in some cases. 550 # This is a large module that can't do incremental linking in some cases.
559 configs -= [ "//build/config/win:default_incremental_linking" ] 551 configs -= [ "//build/config/win:default_incremental_linking" ]
560 configs += 552 configs +=
561 [ "//build/config/win:default_large_module_incremental_linking" ] 553 [ "//build/config/win:default_large_module_incremental_linking" ]
562 if (win_console_app) { 554 if (win_console_app) {
563 defines += [ "WIN_CONSOLE_APP" ] 555 defines += [ "WIN_CONSOLE_APP" ]
564 } else { 556 } else {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 sources = [ 601 sources = [
610 "app/English.lproj/HttpAuth.xib", 602 "app/English.lproj/HttpAuth.xib",
611 "app/English.lproj/MainMenu.xib", 603 "app/English.lproj/MainMenu.xib",
612 ] 604 ]
613 output_path = "{{bundle_resources_dir}}/English.lproj" 605 output_path = "{{bundle_resources_dir}}/English.lproj"
614 } 606 }
615 607
616 bundle_data("content_shell_framework_resources") { 608 bundle_data("content_shell_framework_resources") {
617 sources = [ 609 sources = [
618 "$root_out_dir/content_shell.pak", 610 "$root_out_dir/content_shell.pak",
619 "$root_out_dir/v8_context_snapshot.bin",
620 "resources/missingImage.png", 611 "resources/missingImage.png",
621 ] 612 ]
622 613
623 public_deps = [ 614 public_deps = [
624 ":pak", 615 ":pak",
625 "//tools/v8_context_snapshot:v8_context_snapshot",
626 ] 616 ]
627 617
628 if (icu_use_data_file) { 618 if (icu_use_data_file) {
629 sources += [ "$root_out_dir/icudtl.dat" ] 619 sources += [ "$root_out_dir/icudtl.dat" ]
630 deps = [ 620 deps = [
631 "//third_party/icu:icudata", 621 "//third_party/icu:icudata",
632 ] 622 ]
633 } 623 }
634 624
635 if (v8_use_external_startup_data) { 625 if (v8_use_external_startup_data) {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 data_deps += [ 825 data_deps += [
836 "//breakpad:dump_syms", 826 "//breakpad:dump_syms",
837 "//breakpad:microdump_stackwalk", 827 "//breakpad:microdump_stackwalk",
838 "//breakpad:minidump_dump", 828 "//breakpad:minidump_dump",
839 "//breakpad:minidump_stackwalk", 829 "//breakpad:minidump_stackwalk",
840 "//breakpad:symupload", 830 "//breakpad:symupload",
841 "//tools/android/forwarder2", 831 "//tools/android/forwarder2",
842 ] 832 ]
843 } 833 }
844 } 834 }
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