OLD | NEW |
---|---|
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 16 matching lines...) Expand all Loading... | |
27 | 27 |
28 { | 28 { |
29 'variables': { | 29 'variables': { |
30 'v8_code': 1, | 30 'v8_code': 1, |
31 'v8_random_seed%': 314159265, | 31 'v8_random_seed%': 314159265, |
32 'v8_vector_stores%': 0, | 32 'v8_vector_stores%': 0, |
33 'embed_script%': "", | 33 'embed_script%': "", |
34 'warmup_script%': "", | 34 'warmup_script%': "", |
35 'v8_extra_library_files%': [], | 35 'v8_extra_library_files%': [], |
36 'v8_experimental_extra_library_files%': [], | 36 'v8_experimental_extra_library_files%': [], |
37 'v8_enable_inspector%': 0, | |
37 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL E_SUFFIX)', | 38 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL E_SUFFIX)', |
38 'mkpeephole_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkpeephole<(EXECUTABL E_SUFFIX)', | 39 'mkpeephole_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkpeephole<(EXECUTABL E_SUFFIX)', |
39 }, | 40 }, |
40 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], | 41 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi', 'inspe ctor/inspector.gypi'], |
41 'targets': [ | 42 'targets': [ |
42 { | 43 { |
43 'target_name': 'v8', | 44 'target_name': 'v8', |
44 'dependencies_traverse': 1, | 45 'dependencies_traverse': 1, |
45 'dependencies': ['v8_maybe_snapshot'], | 46 'dependencies': ['v8_maybe_snapshot'], |
46 'conditions': [ | 47 'conditions': [ |
47 ['want_separate_host_toolset==1', { | 48 ['want_separate_host_toolset==1', { |
48 'toolsets': ['host', 'target'], | 49 'toolsets': ['host', 'target'], |
49 }, { | 50 }, { |
50 'toolsets': ['target'], | 51 'toolsets': ['target'], |
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1722 }], | 1723 }], |
1723 ], | 1724 ], |
1724 }], | 1725 }], |
1725 ], | 1726 ], |
1726 }, { # v8_enable_i18n_support==0 | 1727 }, { # v8_enable_i18n_support==0 |
1727 'sources!': [ | 1728 'sources!': [ |
1728 'i18n.cc', | 1729 'i18n.cc', |
1729 'i18n.h', | 1730 'i18n.h', |
1730 ], | 1731 ], |
1731 }], | 1732 }], |
1733 ['v8_enable_inspector==1', { | |
1734 'sources': [ | |
1735 '<@(inspector_all_sources)' | |
1736 ], | |
1737 'dependencies': [ | |
Michael Achenbach
2016/09/05 06:40:34
Didn't see any gn equivalent of this in this CL. N
dgozman
2016/09/06 17:37:35
GN achieves this by having a v8_source_set("inspec
Michael Achenbach
2016/09/06 18:27:22
Acknowledged.
| |
1738 'inspector/inspector.gyp:protocol_generated_sources', | |
1739 'inspector/inspector.gyp:inspector_injected_script', | |
1740 'inspector/inspector.gyp:inspector_debugger_script', | |
1741 ], | |
1742 # TODO(dgozman): fix these warnings and enable them. | |
1743 'msvs_disabled_warnings': [ | |
1744 4267, # Truncation from size_t to int. | |
1745 4305, # Truncation from 'type1' to 'type2'. | |
1746 4324, # Struct padded due to declspec(align). | |
1747 4714, # Function marked forceinline not inlined. | |
1748 4800, # Value forced to bool. | |
1749 4996, # Deprecated function call. | |
1750 ], | |
1751 'cflags': [ | |
1752 '-Wno-zero-length-array', | |
1753 '-Wno-shorten-64-to-32', | |
1754 '-Wno-deprecated-declarations', | |
1755 ], | |
1756 }], | |
1732 ['OS=="win" and v8_enable_i18n_support==1', { | 1757 ['OS=="win" and v8_enable_i18n_support==1', { |
1733 'dependencies': [ | 1758 'dependencies': [ |
1734 '<(icu_gyp_path):icudata', | 1759 '<(icu_gyp_path):icudata', |
1735 ], | 1760 ], |
1736 }], | 1761 }], |
1737 ], | 1762 ], |
1738 }, | 1763 }, |
1739 { | 1764 { |
1740 'target_name': 'v8_libbase', | 1765 'target_name': 'v8_libbase', |
1741 'type': 'static_library', | 1766 'type': 'static_library', |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2415 'conditions': [ | 2440 'conditions': [ |
2416 ['want_separate_host_toolset_mkpeephole==1', { | 2441 ['want_separate_host_toolset_mkpeephole==1', { |
2417 'toolsets': ['host'], | 2442 'toolsets': ['host'], |
2418 }, { | 2443 }, { |
2419 'toolsets': ['target'], | 2444 'toolsets': ['target'], |
2420 }], | 2445 }], |
2421 ], | 2446 ], |
2422 }, | 2447 }, |
2423 ], | 2448 ], |
2424 } | 2449 } |
OLD | NEW |