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 14 matching lines...) Expand all Loading... |
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 '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%': [], | |
36 'v8_experimental_extra_library_files%': [], | 35 'v8_experimental_extra_library_files%': [], |
37 'v8_enable_inspector%': 0, | 36 'v8_enable_inspector%': 0, |
38 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL
E_SUFFIX)', | 37 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL
E_SUFFIX)', |
39 'mkpeephole_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkpeephole<(EXECUTABL
E_SUFFIX)', | 38 'mkpeephole_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkpeephole<(EXECUTABL
E_SUFFIX)', |
40 'v8_os_page_size%': 0, | 39 'v8_os_page_size%': 0, |
41 }, | 40 }, |
42 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi', 'inspe
ctor/inspector.gypi'], | 41 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi', 'inspe
ctor/inspector.gypi'], |
43 'targets': [ | 42 'targets': [ |
44 { | 43 { |
45 'target_name': 'v8', | 44 'target_name': 'v8', |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 ], | 163 ], |
165 'dependencies': [ | 164 'dependencies': [ |
166 'v8_base', | 165 'v8_base', |
167 ], | 166 ], |
168 'include_dirs+': [ | 167 'include_dirs+': [ |
169 '..', | 168 '..', |
170 '<(DEPTH)', | 169 '<(DEPTH)', |
171 ], | 170 ], |
172 'sources': [ | 171 'sources': [ |
173 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 172 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
174 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | |
175 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', | 173 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', |
176 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', | 174 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', |
177 '<(INTERMEDIATE_DIR)/snapshot.cc', | 175 '<(INTERMEDIATE_DIR)/snapshot.cc', |
178 ], | 176 ], |
179 'actions': [ | 177 'actions': [ |
180 { | 178 { |
181 'action_name': 'run_mksnapshot', | 179 'action_name': 'run_mksnapshot', |
182 'inputs': [ | 180 'inputs': [ |
183 '<(mksnapshot_exec)', | 181 '<(mksnapshot_exec)', |
184 ], | 182 ], |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 'type': 'static_library', | 221 'type': 'static_library', |
224 'dependencies': [ | 222 'dependencies': [ |
225 'v8_base', | 223 'v8_base', |
226 ], | 224 ], |
227 'include_dirs+': [ | 225 'include_dirs+': [ |
228 '..', | 226 '..', |
229 '<(DEPTH)', | 227 '<(DEPTH)', |
230 ], | 228 ], |
231 'sources': [ | 229 'sources': [ |
232 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 230 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
233 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | |
234 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', | 231 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', |
235 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', | 232 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', |
236 'snapshot/snapshot-empty.cc', | 233 'snapshot/snapshot-empty.cc', |
237 ], | 234 ], |
238 'conditions': [ | 235 'conditions': [ |
239 ['want_separate_host_toolset==1', { | 236 ['want_separate_host_toolset==1', { |
240 'toolsets': ['host', 'target'], | 237 'toolsets': ['host', 'target'], |
241 'dependencies': ['js2c#host'], | 238 'dependencies': ['js2c#host'], |
242 }, { | 239 }, { |
243 'toolsets': ['target'], | 240 'toolsets': ['target'], |
(...skipping 1956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2200 'dependencies': ['js2c#host'], | 2197 'dependencies': ['js2c#host'], |
2201 }, { | 2198 }, { |
2202 'dependencies': ['js2c'], | 2199 'dependencies': ['js2c'], |
2203 }], | 2200 }], |
2204 ], | 2201 ], |
2205 'actions': [{ | 2202 'actions': [{ |
2206 'action_name': 'concatenate_natives_blob', | 2203 'action_name': 'concatenate_natives_blob', |
2207 'inputs': [ | 2204 'inputs': [ |
2208 '../tools/concatenate-files.py', | 2205 '../tools/concatenate-files.py', |
2209 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', | 2206 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', |
2210 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin', | |
2211 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', | 2207 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', |
2212 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin', | 2208 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin', |
2213 ], | 2209 ], |
2214 'conditions': [ | 2210 'conditions': [ |
2215 ['want_separate_host_toolset==1', { | 2211 ['want_separate_host_toolset==1', { |
2216 'target_conditions': [ | 2212 'target_conditions': [ |
2217 ['_toolset=="host"', { | 2213 ['_toolset=="host"', { |
2218 'outputs': [ | 2214 'outputs': [ |
2219 '<(PRODUCT_DIR)/natives_blob_host.bin', | 2215 '<(PRODUCT_DIR)/natives_blob_host.bin', |
2220 ], | 2216 ], |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2275 'js/promise.js', | 2271 'js/promise.js', |
2276 'js/messages.js', | 2272 'js/messages.js', |
2277 'js/templates.js', | 2273 'js/templates.js', |
2278 'js/spread.js', | 2274 'js/spread.js', |
2279 'js/proxy.js', | 2275 'js/proxy.js', |
2280 'js/harmony-string-padding.js', | 2276 'js/harmony-string-padding.js', |
2281 'debug/mirrors.js', | 2277 'debug/mirrors.js', |
2282 'debug/debug.js', | 2278 'debug/debug.js', |
2283 'debug/liveedit.js', | 2279 'debug/liveedit.js', |
2284 ], | 2280 ], |
2285 'experimental_library_files': [ | |
2286 'js/macros.py', | |
2287 'messages.h', | |
2288 ], | |
2289 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', | 2281 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', |
2290 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries
-experimental.bin', | |
2291 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra
s.bin', | 2282 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra
s.bin', |
2292 'libraries_experimental_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/li
braries-experimental-extras.bin', | 2283 'libraries_experimental_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/li
braries-experimental-extras.bin', |
2293 'conditions': [ | 2284 'conditions': [ |
2294 ['v8_enable_i18n_support==1', { | 2285 ['v8_enable_i18n_support==1', { |
2295 'library_files': ['js/i18n.js'], | 2286 'library_files': ['js/i18n.js'], |
2296 }], | 2287 }], |
2297 ], | 2288 ], |
2298 }, | 2289 }, |
2299 'actions': [ | 2290 'actions': [ |
2300 { | 2291 { |
(...skipping 22 matching lines...) Expand all Loading... |
2323 'python', | 2314 'python', |
2324 '../tools/js2c.py', | 2315 '../tools/js2c.py', |
2325 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 2316 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
2326 'CORE', | 2317 'CORE', |
2327 '<@(library_files)', | 2318 '<@(library_files)', |
2328 '--startup_blob', '<@(libraries_bin_file)', | 2319 '--startup_blob', '<@(libraries_bin_file)', |
2329 '--nojs', | 2320 '--nojs', |
2330 ], | 2321 ], |
2331 }, | 2322 }, |
2332 { | 2323 { |
2333 'action_name': 'js2c_experimental', | |
2334 'inputs': [ | |
2335 '../tools/js2c.py', | |
2336 '<@(experimental_library_files)', | |
2337 ], | |
2338 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc'], | |
2339 'action': [ | |
2340 'python', | |
2341 '../tools/js2c.py', | |
2342 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | |
2343 'EXPERIMENTAL', | |
2344 '<@(experimental_library_files)', | |
2345 ], | |
2346 }, | |
2347 { | |
2348 'action_name': 'js2c_experimental_bin', | |
2349 'inputs': [ | |
2350 '../tools/js2c.py', | |
2351 '<@(experimental_library_files)', | |
2352 ], | |
2353 'outputs': ['<@(libraries_experimental_bin_file)'], | |
2354 'action': [ | |
2355 'python', | |
2356 '../tools/js2c.py', | |
2357 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | |
2358 'EXPERIMENTAL', | |
2359 '<@(experimental_library_files)', | |
2360 '--startup_blob', '<@(libraries_experimental_bin_file)', | |
2361 '--nojs', | |
2362 ], | |
2363 }, | |
2364 { | |
2365 'action_name': 'js2c_extras', | 2324 'action_name': 'js2c_extras', |
2366 'inputs': [ | 2325 'inputs': [ |
2367 '../tools/js2c.py', | 2326 '../tools/js2c.py', |
2368 '<@(v8_extra_library_files)', | 2327 '<@(v8_extra_library_files)', |
2369 ], | 2328 ], |
2370 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc'], | 2329 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc'], |
2371 'action': [ | 2330 'action': [ |
2372 'python', | 2331 'python', |
2373 '../tools/js2c.py', | 2332 '../tools/js2c.py', |
2374 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', | 2333 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2506 'conditions': [ | 2465 'conditions': [ |
2507 ['want_separate_host_toolset_mkpeephole==1', { | 2466 ['want_separate_host_toolset_mkpeephole==1', { |
2508 'toolsets': ['host'], | 2467 'toolsets': ['host'], |
2509 }, { | 2468 }, { |
2510 'toolsets': ['target'], | 2469 'toolsets': ['target'], |
2511 }], | 2470 }], |
2512 ], | 2471 ], |
2513 }, | 2472 }, |
2514 ], | 2473 ], |
2515 } | 2474 } |
OLD | NEW |