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

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

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

Powered by Google App Engine
This is Rietveld 408576698