| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 }, | 114 }, |
| 115 { | 115 { |
| 116 'target_name': 'v8_snapshot', | 116 'target_name': 'v8_snapshot', |
| 117 'type': 'static_library', | 117 'type': 'static_library', |
| 118 'conditions': [ | 118 'conditions': [ |
| 119 ['want_separate_host_toolset==1', { | 119 ['want_separate_host_toolset==1', { |
| 120 'toolsets': ['host', 'target'], | 120 'toolsets': ['host', 'target'], |
| 121 'dependencies': [ | 121 'dependencies': [ |
| 122 'mksnapshot#host', | 122 'mksnapshot#host', |
| 123 'js2c#host', | 123 'js2c#host', |
| 124 'generate_trig_table#host', | |
| 125 ], | 124 ], |
| 126 }, { | 125 }, { |
| 127 'toolsets': ['target'], | 126 'toolsets': ['target'], |
| 128 'dependencies': [ | 127 'dependencies': [ |
| 129 'mksnapshot', | 128 'mksnapshot', |
| 130 'js2c', | 129 'js2c', |
| 131 'generate_trig_table', | |
| 132 ], | 130 ], |
| 133 }], | 131 }], |
| 134 ['component=="shared_library"', { | 132 ['component=="shared_library"', { |
| 135 'defines': [ | 133 'defines': [ |
| 136 'V8_SHARED', | 134 'V8_SHARED', |
| 137 'BUILDING_V8_SHARED', | 135 'BUILDING_V8_SHARED', |
| 138 ], | 136 ], |
| 139 'direct_dependent_settings': { | 137 'direct_dependent_settings': { |
| 140 'defines': [ | 138 'defines': [ |
| 141 'V8_SHARED', | 139 'V8_SHARED', |
| 142 'USING_V8_SHARED', | 140 'USING_V8_SHARED', |
| 143 ], | 141 ], |
| 144 }, | 142 }, |
| 145 }], | 143 }], |
| 146 ], | 144 ], |
| 147 'dependencies': [ | 145 'dependencies': [ |
| 148 'v8_base', | 146 'v8_base', |
| 149 ], | 147 ], |
| 150 'include_dirs+': [ | 148 'include_dirs+': [ |
| 151 '../..', | 149 '../..', |
| 152 ], | 150 ], |
| 153 'sources': [ | 151 'sources': [ |
| 154 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 152 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 155 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 153 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 156 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 157 '<(INTERMEDIATE_DIR)/snapshot.cc', | 154 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 158 '../../src/snapshot-common.cc', | 155 '../../src/snapshot-common.cc', |
| 159 ], | 156 ], |
| 160 'actions': [ | 157 'actions': [ |
| 161 { | 158 { |
| 162 'action_name': 'run_mksnapshot', | 159 'action_name': 'run_mksnapshot', |
| 163 'inputs': [ | 160 'inputs': [ |
| 164 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 161 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
| 165 ], | 162 ], |
| 166 'outputs': [ | 163 'outputs': [ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 190 'type': 'static_library', | 187 'type': 'static_library', |
| 191 'dependencies': [ | 188 'dependencies': [ |
| 192 'v8_base', | 189 'v8_base', |
| 193 ], | 190 ], |
| 194 'include_dirs+': [ | 191 'include_dirs+': [ |
| 195 '../..', | 192 '../..', |
| 196 ], | 193 ], |
| 197 'sources': [ | 194 'sources': [ |
| 198 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 195 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 199 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 196 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 200 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 201 '../../src/snapshot-common.cc', | 197 '../../src/snapshot-common.cc', |
| 202 '../../src/snapshot-empty.cc', | 198 '../../src/snapshot-empty.cc', |
| 203 ], | 199 ], |
| 204 'conditions': [ | 200 'conditions': [ |
| 205 ['want_separate_host_toolset==1', { | 201 ['want_separate_host_toolset==1', { |
| 206 'toolsets': ['host', 'target'], | 202 'toolsets': ['host', 'target'], |
| 207 'dependencies': ['js2c#host', 'generate_trig_table#host'], | 203 'dependencies': ['js2c#host'], |
| 208 }, { | 204 }, { |
| 209 'toolsets': ['target'], | 205 'toolsets': ['target'], |
| 210 'dependencies': ['js2c', 'generate_trig_table'], | 206 'dependencies': ['js2c'], |
| 211 }], | 207 }], |
| 212 ['component=="shared_library"', { | 208 ['component=="shared_library"', { |
| 213 'defines': [ | 209 'defines': [ |
| 214 'BUILDING_V8_SHARED', | 210 'BUILDING_V8_SHARED', |
| 215 'V8_SHARED', | 211 'V8_SHARED', |
| 216 ], | 212 ], |
| 217 }], | 213 }], |
| 218 ] | 214 ] |
| 219 }, | 215 }, |
| 220 { | 216 { |
| 221 'target_name': 'v8_external_snapshot', | 217 'target_name': 'v8_external_snapshot', |
| 222 'type': 'static_library', | 218 'type': 'static_library', |
| 223 'conditions': [ | 219 'conditions': [ |
| 224 ['want_separate_host_toolset==1', { | 220 ['want_separate_host_toolset==1', { |
| 225 'toolsets': ['host'], | 221 'toolsets': ['host'], |
| 226 'dependencies': [ | 222 'dependencies': [ |
| 227 'mksnapshot#host', | 223 'mksnapshot#host', |
| 228 'js2c#host', | 224 'js2c#host', |
| 229 'generate_trig_table#host', | |
| 230 'natives_blob#host', | 225 'natives_blob#host', |
| 231 ]}, { | 226 ]}, { |
| 232 'toolsets': ['target'], | 227 'toolsets': ['target'], |
| 233 'dependencies': [ | 228 'dependencies': [ |
| 234 'mksnapshot', | 229 'mksnapshot', |
| 235 'js2c', | 230 'js2c', |
| 236 'generate_trig_table', | |
| 237 'natives_blob', | 231 'natives_blob', |
| 238 ], | 232 ], |
| 239 }], | 233 }], |
| 240 ['component=="shared_library"', { | 234 ['component=="shared_library"', { |
| 241 'defines': [ | 235 'defines': [ |
| 242 'V8_SHARED', | 236 'V8_SHARED', |
| 243 'BUILDING_V8_SHARED', | 237 'BUILDING_V8_SHARED', |
| 244 ], | 238 ], |
| 245 'direct_dependent_settings': { | 239 'direct_dependent_settings': { |
| 246 'defines': [ | 240 'defines': [ |
| 247 'V8_SHARED', | 241 'V8_SHARED', |
| 248 'USING_V8_SHARED', | 242 'USING_V8_SHARED', |
| 249 ], | 243 ], |
| 250 }, | 244 }, |
| 251 }], | 245 }], |
| 252 ], | 246 ], |
| 253 'dependencies': [ | 247 'dependencies': [ |
| 254 'v8_base', | 248 'v8_base', |
| 255 ], | 249 ], |
| 256 'include_dirs+': [ | 250 'include_dirs+': [ |
| 257 '../..', | 251 '../..', |
| 258 ], | 252 ], |
| 259 'sources': [ | 253 'sources': [ |
| 260 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 261 '../../src/natives-external.cc', | 254 '../../src/natives-external.cc', |
| 262 '../../src/snapshot-external.cc', | 255 '../../src/snapshot-external.cc', |
| 263 ], | 256 ], |
| 264 'actions': [ | 257 'actions': [ |
| 265 { | 258 { |
| 266 'action_name': 'run_mksnapshot (external)', | 259 'action_name': 'run_mksnapshot (external)', |
| 267 'inputs': [ | 260 'inputs': [ |
| 268 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 261 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
| 269 ], | 262 ], |
| 270 'outputs': [ | 263 'outputs': [ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 284 }, | 277 }, |
| 285 'action': [ | 278 'action': [ |
| 286 '<@(_inputs)', | 279 '<@(_inputs)', |
| 287 '<@(mksnapshot_flags)', | 280 '<@(mksnapshot_flags)', |
| 288 '<@(INTERMEDIATE_DIR)/snapshot.cc', | 281 '<@(INTERMEDIATE_DIR)/snapshot.cc', |
| 289 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', | 282 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 290 ], | 283 ], |
| 291 }, | 284 }, |
| 292 ], | 285 ], |
| 293 }, | 286 }, |
| 294 { 'target_name': 'generate_trig_table', | |
| 295 'type': 'none', | |
| 296 'conditions': [ | |
| 297 ['want_separate_host_toolset==1', { | |
| 298 'toolsets': ['host'], | |
| 299 }, { | |
| 300 'toolsets': ['target'], | |
| 301 }], | |
| 302 ], | |
| 303 'actions': [ | |
| 304 { | |
| 305 'action_name': 'generate', | |
| 306 'inputs': [ | |
| 307 '../../tools/generate-trig-table.py', | |
| 308 ], | |
| 309 'outputs': [ | |
| 310 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 311 ], | |
| 312 'action': [ | |
| 313 'python', | |
| 314 '../../tools/generate-trig-table.py', | |
| 315 '<@(_outputs)', | |
| 316 ], | |
| 317 }, | |
| 318 ] | |
| 319 }, | |
| 320 { | 287 { |
| 321 'target_name': 'v8_base', | 288 'target_name': 'v8_base', |
| 322 'type': 'static_library', | 289 'type': 'static_library', |
| 323 'dependencies': [ | 290 'dependencies': [ |
| 324 'v8_libbase', | 291 'v8_libbase', |
| 325 ], | 292 ], |
| 326 'variables': { | 293 'variables': { |
| 327 'optimize': 'max', | 294 'optimize': 'max', |
| 328 }, | 295 }, |
| 329 'include_dirs+': [ | 296 'include_dirs+': [ |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 '../../src/prototype.h', | 555 '../../src/prototype.h', |
| 589 '../../src/regexp-macro-assembler-irregexp-inl.h', | 556 '../../src/regexp-macro-assembler-irregexp-inl.h', |
| 590 '../../src/regexp-macro-assembler-irregexp.cc', | 557 '../../src/regexp-macro-assembler-irregexp.cc', |
| 591 '../../src/regexp-macro-assembler-irregexp.h', | 558 '../../src/regexp-macro-assembler-irregexp.h', |
| 592 '../../src/regexp-macro-assembler-tracer.cc', | 559 '../../src/regexp-macro-assembler-tracer.cc', |
| 593 '../../src/regexp-macro-assembler-tracer.h', | 560 '../../src/regexp-macro-assembler-tracer.h', |
| 594 '../../src/regexp-macro-assembler.cc', | 561 '../../src/regexp-macro-assembler.cc', |
| 595 '../../src/regexp-macro-assembler.h', | 562 '../../src/regexp-macro-assembler.h', |
| 596 '../../src/regexp-stack.cc', | 563 '../../src/regexp-stack.cc', |
| 597 '../../src/regexp-stack.h', | 564 '../../src/regexp-stack.h', |
| 565 '../../src/rempio2.cc', |
| 566 '../../src/rempio2.h', |
| 598 '../../src/rewriter.cc', | 567 '../../src/rewriter.cc', |
| 599 '../../src/rewriter.h', | 568 '../../src/rewriter.h', |
| 600 '../../src/runtime-profiler.cc', | 569 '../../src/runtime-profiler.cc', |
| 601 '../../src/runtime-profiler.h', | 570 '../../src/runtime-profiler.h', |
| 602 '../../src/runtime.cc', | 571 '../../src/runtime.cc', |
| 603 '../../src/runtime.h', | 572 '../../src/runtime.h', |
| 604 '../../src/safepoint-table.cc', | 573 '../../src/safepoint-table.cc', |
| 605 '../../src/safepoint-table.h', | 574 '../../src/safepoint-table.h', |
| 606 '../../src/sampler.cc', | 575 '../../src/sampler.cc', |
| 607 '../../src/sampler.h', | 576 '../../src/sampler.h', |
| (...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 }], | 1412 }], |
| 1444 ['v8_compress_startup_data=="bz2"', { | 1413 ['v8_compress_startup_data=="bz2"', { |
| 1445 'libraries': [ | 1414 'libraries': [ |
| 1446 '-lbz2', | 1415 '-lbz2', |
| 1447 ] | 1416 ] |
| 1448 }], | 1417 }], |
| 1449 ], | 1418 ], |
| 1450 }, | 1419 }, |
| 1451 ], | 1420 ], |
| 1452 } | 1421 } |
| OLD | NEW |