| 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 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 'icu_use_data_file_flag%': 0, | 30 'icu_use_data_file_flag%': 0, |
| 31 'v8_code': 1, | 31 'v8_code': 1, |
| 32 'v8_random_seed%': 314159265, | 32 'v8_random_seed%': 314159265, |
| 33 'v8_vector_stores%': 0, |
| 33 'embed_script%': "", | 34 'embed_script%': "", |
| 34 'v8_extra_library_files%': [], | 35 'v8_extra_library_files%': [], |
| 35 'v8_experimental_extra_library_files%': [], | 36 'v8_experimental_extra_library_files%': [], |
| 36 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL
E_SUFFIX)', | 37 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL
E_SUFFIX)', |
| 37 }, | 38 }, |
| 38 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], | 39 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], |
| 39 'targets': [ | 40 'targets': [ |
| 40 { | 41 { |
| 41 'target_name': 'v8', | 42 'target_name': 'v8', |
| 42 'dependencies_traverse': 1, | 43 'dependencies_traverse': 1, |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 ], | 199 ], |
| 199 'variables': { | 200 'variables': { |
| 200 'mksnapshot_flags': [ | 201 'mksnapshot_flags': [ |
| 201 '--log-snapshot-positions', | 202 '--log-snapshot-positions', |
| 202 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', | 203 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', |
| 203 ], | 204 ], |
| 204 'conditions': [ | 205 'conditions': [ |
| 205 ['v8_random_seed!=0', { | 206 ['v8_random_seed!=0', { |
| 206 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], | 207 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], |
| 207 }], | 208 }], |
| 209 ['v8_vector_stores!=0', { |
| 210 'mksnapshot_flags': ['--vector-stores'], |
| 211 }], |
| 208 ], | 212 ], |
| 209 }, | 213 }, |
| 210 'action': [ | 214 'action': [ |
| 211 '<(mksnapshot_exec)', | 215 '<(mksnapshot_exec)', |
| 212 '<@(mksnapshot_flags)', | 216 '<@(mksnapshot_flags)', |
| 213 '--startup_src', '<@(INTERMEDIATE_DIR)/snapshot.cc', | 217 '--startup_src', '<@(INTERMEDIATE_DIR)/snapshot.cc', |
| 214 '<(embed_script)', | 218 '<(embed_script)', |
| 215 ], | 219 ], |
| 216 }, | 220 }, |
| 217 ], | 221 ], |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 ], | 304 ], |
| 301 'variables': { | 305 'variables': { |
| 302 'mksnapshot_flags': [ | 306 'mksnapshot_flags': [ |
| 303 '--log-snapshot-positions', | 307 '--log-snapshot-positions', |
| 304 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', | 308 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', |
| 305 ], | 309 ], |
| 306 'conditions': [ | 310 'conditions': [ |
| 307 ['v8_random_seed!=0', { | 311 ['v8_random_seed!=0', { |
| 308 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], | 312 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], |
| 309 }], | 313 }], |
| 314 ['v8_vector_stores!=0', { |
| 315 'mksnapshot_flags': ['--vector-stores'], |
| 316 }], |
| 310 ], | 317 ], |
| 311 }, | 318 }, |
| 312 'conditions': [ | 319 'conditions': [ |
| 313 ['want_separate_host_toolset==1', { | 320 ['want_separate_host_toolset==1', { |
| 314 'target_conditions': [ | 321 'target_conditions': [ |
| 315 ['_toolset=="host"', { | 322 ['_toolset=="host"', { |
| 316 'outputs': [ | 323 'outputs': [ |
| 317 '<(PRODUCT_DIR)/snapshot_blob_host.bin', | 324 '<(PRODUCT_DIR)/snapshot_blob_host.bin', |
| 318 ], | 325 ], |
| 319 'action': [ | 326 'action': [ |
| (...skipping 1752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2072 }], | 2079 }], |
| 2073 ['want_separate_host_toolset==1', { | 2080 ['want_separate_host_toolset==1', { |
| 2074 'toolsets': ['host'], | 2081 'toolsets': ['host'], |
| 2075 }, { | 2082 }, { |
| 2076 'toolsets': ['target'], | 2083 'toolsets': ['target'], |
| 2077 }], | 2084 }], |
| 2078 ], | 2085 ], |
| 2079 }, | 2086 }, |
| 2080 ], | 2087 ], |
| 2081 } | 2088 } |
| OLD | NEW |