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

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

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

Powered by Google App Engine
This is Rietveld 408576698