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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 185 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
186 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', | 186 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', |
187 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', | 187 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', |
188 '<(INTERMEDIATE_DIR)/snapshot.cc', | 188 '<(INTERMEDIATE_DIR)/snapshot.cc', |
189 ], | 189 ], |
190 'actions': [ | 190 'actions': [ |
191 { | 191 { |
192 'action_name': 'run_mksnapshot', | 192 'action_name': 'run_mksnapshot', |
193 'inputs': [ | 193 'inputs': [ |
194 '<(mksnapshot_exec)', | 194 '<(mksnapshot_exec)', |
195 '<(embed_script)', | 195 ], |
196 '<(warmup_script)', | 196 'conditions': [ |
| 197 ['embed_script!=""', { |
| 198 'inputs': [ |
| 199 '<(embed_script)', |
| 200 ], |
| 201 }], |
| 202 ['warmup_script!=""', { |
| 203 'inputs': [ |
| 204 '<(warmup_script)', |
| 205 ], |
| 206 }], |
197 ], | 207 ], |
198 'outputs': [ | 208 'outputs': [ |
199 '<(INTERMEDIATE_DIR)/snapshot.cc', | 209 '<(INTERMEDIATE_DIR)/snapshot.cc', |
200 ], | 210 ], |
201 'variables': { | 211 'variables': { |
202 'mksnapshot_flags': [], | 212 'mksnapshot_flags': [], |
203 'conditions': [ | 213 'conditions': [ |
204 ['v8_random_seed!=0', { | 214 ['v8_random_seed!=0', { |
205 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], | 215 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], |
206 }], | 216 }], |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 ], | 302 ], |
293 'sources': [ | 303 'sources': [ |
294 'snapshot/natives-external.cc', | 304 'snapshot/natives-external.cc', |
295 'snapshot/snapshot-external.cc', | 305 'snapshot/snapshot-external.cc', |
296 ], | 306 ], |
297 'actions': [ | 307 'actions': [ |
298 { | 308 { |
299 'action_name': 'run_mksnapshot (external)', | 309 'action_name': 'run_mksnapshot (external)', |
300 'inputs': [ | 310 'inputs': [ |
301 '<(mksnapshot_exec)', | 311 '<(mksnapshot_exec)', |
302 '<(embed_script)', | |
303 '<(warmup_script)', | |
304 ], | 312 ], |
305 'variables': { | 313 'variables': { |
306 'mksnapshot_flags': [], | 314 'mksnapshot_flags': [], |
307 'conditions': [ | 315 'conditions': [ |
308 ['v8_random_seed!=0', { | 316 ['v8_random_seed!=0', { |
309 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], | 317 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], |
310 }], | 318 }], |
311 ['v8_vector_stores!=0', { | 319 ['v8_vector_stores!=0', { |
312 'mksnapshot_flags': ['--vector-stores'], | 320 'mksnapshot_flags': ['--vector-stores'], |
313 }], | 321 }], |
314 ], | 322 ], |
315 }, | 323 }, |
316 'conditions': [ | 324 'conditions': [ |
| 325 ['embed_script!=""', { |
| 326 'inputs': [ |
| 327 '<(embed_script)', |
| 328 ], |
| 329 }], |
| 330 ['warmup_script!=""', { |
| 331 'inputs': [ |
| 332 '<(warmup_script)', |
| 333 ], |
| 334 }], |
317 ['want_separate_host_toolset==1', { | 335 ['want_separate_host_toolset==1', { |
318 'target_conditions': [ | 336 'target_conditions': [ |
319 ['_toolset=="host"', { | 337 ['_toolset=="host"', { |
320 'outputs': [ | 338 'outputs': [ |
321 '<(PRODUCT_DIR)/snapshot_blob_host.bin', | 339 '<(PRODUCT_DIR)/snapshot_blob_host.bin', |
322 ], | 340 ], |
323 'action': [ | 341 'action': [ |
324 '<(mksnapshot_exec)', | 342 '<(mksnapshot_exec)', |
325 '<@(mksnapshot_flags)', | 343 '<@(mksnapshot_flags)', |
326 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_host.bin
', | 344 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_host.bin
', |
(...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2214 }], | 2232 }], |
2215 ['want_separate_host_toolset==1', { | 2233 ['want_separate_host_toolset==1', { |
2216 'toolsets': ['host'], | 2234 'toolsets': ['host'], |
2217 }, { | 2235 }, { |
2218 'toolsets': ['target'], | 2236 'toolsets': ['target'], |
2219 }], | 2237 }], |
2220 ], | 2238 ], |
2221 }, | 2239 }, |
2222 ], | 2240 ], |
2223 } | 2241 } |
OLD | NEW |