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

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

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

Powered by Google App Engine
This is Rietveld 408576698