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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for some comments Created 3 years, 7 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 ":content_shell_lib", 522 ":content_shell_lib",
523 ":pak", 523 ":pak",
524 "//build/config/sanitizers:deps", 524 "//build/config/sanitizers:deps",
525 "//build/win:default_exe_manifest", 525 "//build/win:default_exe_manifest",
526 ] 526 ]
527 527
528 data_deps = [ 528 data_deps = [
529 ":pak", 529 ":pak",
530 ] 530 ]
531 531
532 public_deps = [
533 "//gin:v8_context_snapshot_for_blink",
534 ]
535
536 data = [
537 "$root_out_dir/context_blob.bin",
538 ]
539
532 if (is_win) { 540 if (is_win) {
533 deps += [ "//sandbox" ] 541 deps += [ "//sandbox" ]
534 542
535 # This is a large module that can't do incremental linking in some cases. 543 # This is a large module that can't do incremental linking in some cases.
536 configs -= [ "//build/config/win:default_incremental_linking" ] 544 configs -= [ "//build/config/win:default_incremental_linking" ]
537 configs += 545 configs +=
538 [ "//build/config/win:default_large_module_incremental_linking" ] 546 [ "//build/config/win:default_large_module_incremental_linking" ]
539 if (win_console_app) { 547 if (win_console_app) {
540 defines += [ "WIN_CONSOLE_APP" ] 548 defines += [ "WIN_CONSOLE_APP" ]
541 } else { 549 } else {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 sources = [ 594 sources = [
587 "app/English.lproj/HttpAuth.xib", 595 "app/English.lproj/HttpAuth.xib",
588 "app/English.lproj/MainMenu.xib", 596 "app/English.lproj/MainMenu.xib",
589 ] 597 ]
590 output_path = "{{bundle_resources_dir}}/English.lproj" 598 output_path = "{{bundle_resources_dir}}/English.lproj"
591 } 599 }
592 600
593 bundle_data("content_shell_framework_resources") { 601 bundle_data("content_shell_framework_resources") {
594 sources = [ 602 sources = [
595 "$root_out_dir/content_shell.pak", 603 "$root_out_dir/content_shell.pak",
604 "$root_out_dir/context_blob.bin",
596 "resources/missingImage.png", 605 "resources/missingImage.png",
597 ] 606 ]
598 607
599 public_deps = [ 608 public_deps = [
600 ":pak", 609 ":pak",
610 "//gin:v8_context_snapshot_for_blink",
601 ] 611 ]
602 612
603 if (icu_use_data_file) { 613 if (icu_use_data_file) {
604 sources += [ "$root_out_dir/icudtl.dat" ] 614 sources += [ "$root_out_dir/icudtl.dat" ]
605 deps = [ 615 deps = [
606 "//third_party/icu:icudata", 616 "//third_party/icu:icudata",
607 ] 617 ]
608 } 618 }
609 619
610 if (v8_use_external_startup_data) { 620 if (v8_use_external_startup_data) {
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 data_deps += [ 819 data_deps += [
810 "//breakpad:dump_syms", 820 "//breakpad:dump_syms",
811 "//breakpad:microdump_stackwalk", 821 "//breakpad:microdump_stackwalk",
812 "//breakpad:minidump_dump", 822 "//breakpad:minidump_dump",
813 "//breakpad:minidump_stackwalk", 823 "//breakpad:minidump_stackwalk",
814 "//breakpad:symupload", 824 "//breakpad:symupload",
815 "//tools/android/forwarder2", 825 "//tools/android/forwarder2",
816 ] 826 ]
817 } 827 }
818 } 828 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698