OLD | NEW |
1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 12 matching lines...) Expand all Loading... |
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 { | 28 { |
29 'variables': { | 29 'variables': { |
30 'use_system_v8%': 0, | 30 'use_system_v8%': 0, |
31 'msvs_use_common_release': 0, | 31 'msvs_use_common_release': 0, |
32 'gcc_version%': 'unknown', | 32 'gcc_version%': 'unknown', |
33 'v8_compress_startup_data%': 'false', | 33 'v8_compress_startup_data%': 'off', |
34 'v8_target_arch%': '<(target_arch)', | 34 'v8_target_arch%': '<(target_arch)', |
35 | 35 |
36 # Setting 'v8_can_use_unaligned_accesses' to 'true' will allow the code | 36 # Setting 'v8_can_use_unaligned_accesses' to 'true' will allow the code |
37 # generated by V8 to do unaligned memory access, and setting it to 'false' | 37 # generated by V8 to do unaligned memory access, and setting it to 'false' |
38 # will ensure that the generated code will always do aligned memory | 38 # will ensure that the generated code will always do aligned memory |
39 # accesses. The default value of 'default' will try to determine the correct | 39 # accesses. The default value of 'default' will try to determine the correct |
40 # setting. Note that for Intel architectures (ia32 and x64) unaligned memory | 40 # setting. Note that for Intel architectures (ia32 and x64) unaligned memory |
41 # access is allowed for all CPUs. | 41 # access is allowed for all CPUs. |
42 'v8_can_use_unaligned_accesses%': 'default', | 42 'v8_can_use_unaligned_accesses%': 'default', |
43 | 43 |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 ['v8_compress_startup_data=="bz2"', { | 782 ['v8_compress_startup_data=="bz2"', { |
783 'libraries': [ | 783 'libraries': [ |
784 '-lbz2', | 784 '-lbz2', |
785 ]}], | 785 ]}], |
786 ], | 786 ], |
787 }, | 787 }, |
788 'sources': [ | 788 'sources': [ |
789 '../../src/platform-linux.cc', | 789 '../../src/platform-linux.cc', |
790 '../../src/platform-posix.cc' | 790 '../../src/platform-posix.cc' |
791 ], | 791 ], |
| 792 'conditions': [ |
| 793 ['v8_compress_startup_data=="bz2"', { |
| 794 'sources': [ |
| 795 '../../src/bz2-decompress.cc', |
| 796 ]}], |
| 797 ] |
792 } | 798 } |
793 ], | 799 ], |
794 ['OS=="android"', { | 800 ['OS=="android"', { |
795 'sources': [ | 801 'sources': [ |
796 '../../src/platform-posix.cc', | 802 '../../src/platform-posix.cc', |
797 ], | 803 ], |
798 'conditions': [ | 804 'conditions': [ |
799 ['host_os=="mac" and _toolset!="target"', { | 805 ['host_os=="mac" and _toolset!="target"', { |
800 'sources': [ | 806 'sources': [ |
801 '../../src/platform-macos.cc' | 807 '../../src/platform-macos.cc' |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 '<@(library_files)', | 901 '<@(library_files)', |
896 ], | 902 ], |
897 'outputs': [ | 903 'outputs': [ |
898 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 904 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
899 ], | 905 ], |
900 'action': [ | 906 'action': [ |
901 'python', | 907 'python', |
902 '../../tools/js2c.py', | 908 '../../tools/js2c.py', |
903 '<@(_outputs)', | 909 '<@(_outputs)', |
904 'CORE', | 910 'CORE', |
| 911 '<(v8_compress_startup_data)', |
905 '<@(library_files)' | 912 '<@(library_files)' |
906 ], | 913 ], |
907 }, | 914 }, |
908 { | 915 { |
909 'action_name': 'js2c_experimental', | 916 'action_name': 'js2c_experimental', |
910 'inputs': [ | 917 'inputs': [ |
911 '../../tools/js2c.py', | 918 '../../tools/js2c.py', |
912 '<@(experimental_library_files)', | 919 '<@(experimental_library_files)', |
913 ], | 920 ], |
914 'outputs': [ | 921 'outputs': [ |
915 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 922 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
916 ], | 923 ], |
917 'action': [ | 924 'action': [ |
918 'python', | 925 'python', |
919 '../../tools/js2c.py', | 926 '../../tools/js2c.py', |
920 '<@(_outputs)', | 927 '<@(_outputs)', |
921 'EXPERIMENTAL', | 928 'EXPERIMENTAL', |
| 929 '<(v8_compress_startup_data)', |
922 '<@(experimental_library_files)' | 930 '<@(experimental_library_files)' |
923 ], | 931 ], |
924 }, | 932 }, |
925 ], | 933 ], |
926 }, | 934 }, |
927 { | 935 { |
928 'target_name': 'mksnapshot', | 936 'target_name': 'mksnapshot', |
929 'type': 'executable', | 937 'type': 'executable', |
930 'toolsets': ['host'], | 938 'toolsets': ['host'], |
931 'dependencies': [ | 939 'dependencies': [ |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
986 'target_name': 'v8_shell', | 994 'target_name': 'v8_shell', |
987 'type': 'none', | 995 'type': 'none', |
988 'dependencies': [ | 996 'dependencies': [ |
989 'v8' | 997 'v8' |
990 ], | 998 ], |
991 }, | 999 }, |
992 ], | 1000 ], |
993 }], | 1001 }], |
994 ], | 1002 ], |
995 } | 1003 } |
OLD | NEW |