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

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

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

Powered by Google App Engine
This is Rietveld 408576698