| 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 |
| 11 # with the distribution. | 11 # with the distribution. |
| 12 # * Neither the name of Google Inc. nor the names of its | 12 # * Neither the name of Google Inc. nor the names of its |
| 13 # contributors may be used to endorse or promote products derived | 13 # contributors may be used to endorse or promote products derived |
| 14 # from this software without specific prior written permission. | 14 # from this software without specific prior written permission. |
| 15 # | 15 # |
| 16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | 16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | 17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | 18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | 19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 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 'includes': ['../../build/common.gypi'], | 29 'includes': ['../../build/common.gypi'], |
| 30 'conditions': [ | 30 'targets': [ |
| 31 ['use_system_v8==0', { | 31 { |
| 32 'targets': [ | 32 'target_name': 'v8', |
| 33 'dependencies_traverse': 1, |
| 34 'conditions': [ |
| 35 ['want_separate_host_toolset==1', { |
| 36 'toolsets': ['host', 'target'], |
| 37 }, { |
| 38 'toolsets': ['target'], |
| 39 }], |
| 40 ['v8_use_snapshot=="true"', { |
| 41 # The dependency on v8_base should come from a transitive |
| 42 # dependency however the Android toolchain requires libv8_base.a |
| 43 # to appear before libv8_snapshot.a so it's listed explicitly. |
| 44 'dependencies': ['v8_base.<(v8_target_arch)', 'v8_snapshot'], |
| 45 }, |
| 33 { | 46 { |
| 34 'target_name': 'v8', | 47 # The dependency on v8_base should come from a transitive |
| 35 'dependencies_traverse': 1, | 48 # dependency however the Android toolchain requires libv8_base.a |
| 36 'conditions': [ | 49 # to appear before libv8_snapshot.a so it's listed explicitly. |
| 37 ['want_separate_host_toolset==1', { | 50 'dependencies': [ |
| 38 'toolsets': ['host', 'target'], | 51 'v8_base.<(v8_target_arch)', |
| 39 }, { | 52 'v8_nosnapshot.<(v8_target_arch)', |
| 40 'toolsets': ['target'], | 53 ], |
| 41 }], | 54 }], |
| 42 ['v8_use_snapshot=="true"', { | 55 ['component=="shared_library"', { |
| 43 # The dependency on v8_base should come from a transitive | 56 'type': '<(component)', |
| 44 # dependency however the Android toolchain requires libv8_base.a | 57 'sources': [ |
| 45 # to appear before libv8_snapshot.a so it's listed explicitly. | 58 # Note: on non-Windows we still build this file so that gyp |
| 46 'dependencies': ['v8_base.<(v8_target_arch)', 'v8_snapshot'], | 59 # has some sources to link into the component. |
| 47 }, | 60 '../../src/v8dll-main.cc', |
| 48 { | 61 ], |
| 49 # The dependency on v8_base should come from a transitive | 62 'defines': [ |
| 50 # dependency however the Android toolchain requires libv8_base.a | 63 'V8_SHARED', |
| 51 # to appear before libv8_snapshot.a so it's listed explicitly. | 64 'BUILDING_V8_SHARED', |
| 52 'dependencies': [ | 65 ], |
| 53 'v8_base.<(v8_target_arch)', | 66 'direct_dependent_settings': { |
| 54 'v8_nosnapshot.<(v8_target_arch)', | 67 'defines': [ |
| 68 'V8_SHARED', |
| 69 'USING_V8_SHARED', |
| 70 ], |
| 71 }, |
| 72 'target_conditions': [ |
| 73 ['OS=="android" and _toolset=="target"', { |
| 74 'libraries': [ |
| 75 '-llog', |
| 76 ], |
| 77 'include_dirs': [ |
| 78 'src/common/android/include', |
| 55 ], | 79 ], |
| 56 }], | 80 }], |
| 57 ['component=="shared_library"', { | 81 ], |
| 58 'type': '<(component)', | 82 'conditions': [ |
| 59 'sources': [ | 83 ['OS=="mac"', { |
| 60 # Note: on non-Windows we still build this file so that gyp | 84 'xcode_settings': { |
| 61 # has some sources to link into the component. | 85 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] |
| 62 '../../src/v8dll-main.cc', | |
| 63 ], | |
| 64 'defines': [ | |
| 65 'V8_SHARED', | |
| 66 'BUILDING_V8_SHARED', | |
| 67 ], | |
| 68 'direct_dependent_settings': { | |
| 69 'defines': [ | |
| 70 'V8_SHARED', | |
| 71 'USING_V8_SHARED', | |
| 72 ], | |
| 73 }, | 86 }, |
| 74 'target_conditions': [ | 87 }], |
| 75 ['OS=="android" and _toolset=="target"', { | 88 ['soname_version!=""', { |
| 89 'product_extension': 'so.<(soname_version)', |
| 90 }], |
| 91 ], |
| 92 }, |
| 93 { |
| 94 'type': 'none', |
| 95 }], |
| 96 ], |
| 97 'direct_dependent_settings': { |
| 98 'include_dirs': [ |
| 99 '../../include', |
| 100 ], |
| 101 }, |
| 102 }, |
| 103 { |
| 104 'target_name': 'v8_snapshot', |
| 105 'type': 'static_library', |
| 106 'conditions': [ |
| 107 ['want_separate_host_toolset==1', { |
| 108 'toolsets': ['host', 'target'], |
| 109 'dependencies': [ |
| 110 'mksnapshot.<(v8_target_arch)#host', |
| 111 'js2c#host', |
| 112 ], |
| 113 }, { |
| 114 'toolsets': ['target'], |
| 115 'dependencies': ['mksnapshot.<(v8_target_arch)', 'js2c'], |
| 116 }], |
| 117 ['component=="shared_library"', { |
| 118 'defines': [ |
| 119 'V8_SHARED', |
| 120 'BUILDING_V8_SHARED', |
| 121 ], |
| 122 'direct_dependent_settings': { |
| 123 'defines': [ |
| 124 'V8_SHARED', |
| 125 'USING_V8_SHARED', |
| 126 ], |
| 127 }, |
| 128 }], |
| 129 ], |
| 130 'dependencies': [ |
| 131 'v8_base.<(v8_target_arch)', |
| 132 ], |
| 133 'include_dirs+': [ |
| 134 '../../src', |
| 135 ], |
| 136 'sources': [ |
| 137 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 138 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 139 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 140 ], |
| 141 'actions': [ |
| 142 { |
| 143 'action_name': 'run_mksnapshot', |
| 144 'inputs': [ |
| 145 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX
ECUTABLE_SUFFIX)', |
| 146 ], |
| 147 'outputs': [ |
| 148 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 149 ], |
| 150 'variables': { |
| 151 'mksnapshot_flags': [ |
| 152 '--log-snapshot-positions', |
| 153 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', |
| 154 ], |
| 155 }, |
| 156 'action': [ |
| 157 '<@(_inputs)', |
| 158 '<@(mksnapshot_flags)', |
| 159 '<@(_outputs)' |
| 160 ], |
| 161 }, |
| 162 ], |
| 163 }, |
| 164 { |
| 165 'target_name': 'v8_nosnapshot.<(v8_target_arch)', |
| 166 'type': 'static_library', |
| 167 'dependencies': [ |
| 168 'v8_base.<(v8_target_arch)', |
| 169 ], |
| 170 'include_dirs+': [ |
| 171 '../../src', |
| 172 ], |
| 173 'sources': [ |
| 174 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 175 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 176 '../../src/snapshot-empty.cc', |
| 177 ], |
| 178 'conditions': [ |
| 179 ['want_separate_host_toolset==1', { |
| 180 'toolsets': ['host', 'target'], |
| 181 'dependencies': ['js2c#host'], |
| 182 }, { |
| 183 'toolsets': ['target'], |
| 184 'dependencies': ['js2c'], |
| 185 }], |
| 186 ['component=="shared_library"', { |
| 187 'defines': [ |
| 188 'BUILDING_V8_SHARED', |
| 189 'V8_SHARED', |
| 190 ], |
| 191 }], |
| 192 ] |
| 193 }, |
| 194 { |
| 195 'target_name': 'v8_base.<(v8_target_arch)', |
| 196 'type': 'static_library', |
| 197 'variables': { |
| 198 'optimize': 'max', |
| 199 }, |
| 200 'include_dirs+': [ |
| 201 '../../src', |
| 202 ], |
| 203 'sources': [ ### gcmole(all) ### |
| 204 '../../src/accessors.cc', |
| 205 '../../src/accessors.h', |
| 206 '../../src/allocation.cc', |
| 207 '../../src/allocation.h', |
| 208 '../../src/api.cc', |
| 209 '../../src/api.h', |
| 210 '../../src/apiutils.h', |
| 211 '../../src/arguments.h', |
| 212 '../../src/assembler.cc', |
| 213 '../../src/assembler.h', |
| 214 '../../src/ast.cc', |
| 215 '../../src/ast.h', |
| 216 '../../src/atomicops.h', |
| 217 '../../src/atomicops_internals_x86_gcc.cc', |
| 218 '../../src/bignum-dtoa.cc', |
| 219 '../../src/bignum-dtoa.h', |
| 220 '../../src/bignum.cc', |
| 221 '../../src/bignum.h', |
| 222 '../../src/bootstrapper.cc', |
| 223 '../../src/bootstrapper.h', |
| 224 '../../src/builtins.cc', |
| 225 '../../src/builtins.h', |
| 226 '../../src/bytecodes-irregexp.h', |
| 227 '../../src/cached-powers.cc', |
| 228 '../../src/cached-powers.h', |
| 229 '../../src/char-predicates-inl.h', |
| 230 '../../src/char-predicates.h', |
| 231 '../../src/checks.cc', |
| 232 '../../src/checks.h', |
| 233 '../../src/circular-queue-inl.h', |
| 234 '../../src/circular-queue.cc', |
| 235 '../../src/circular-queue.h', |
| 236 '../../src/code-stubs.cc', |
| 237 '../../src/code-stubs.h', |
| 238 '../../src/code-stubs-hydrogen.cc', |
| 239 '../../src/code.h', |
| 240 '../../src/codegen.cc', |
| 241 '../../src/codegen.h', |
| 242 '../../src/compilation-cache.cc', |
| 243 '../../src/compilation-cache.h', |
| 244 '../../src/compiler.cc', |
| 245 '../../src/compiler.h', |
| 246 '../../src/contexts.cc', |
| 247 '../../src/contexts.h', |
| 248 '../../src/conversions-inl.h', |
| 249 '../../src/conversions.cc', |
| 250 '../../src/conversions.h', |
| 251 '../../src/counters.cc', |
| 252 '../../src/counters.h', |
| 253 '../../src/cpu-profiler-inl.h', |
| 254 '../../src/cpu-profiler.cc', |
| 255 '../../src/cpu-profiler.h', |
| 256 '../../src/cpu.h', |
| 257 '../../src/data-flow.cc', |
| 258 '../../src/data-flow.h', |
| 259 '../../src/date.cc', |
| 260 '../../src/date.h', |
| 261 '../../src/dateparser-inl.h', |
| 262 '../../src/dateparser.cc', |
| 263 '../../src/dateparser.h', |
| 264 '../../src/debug-agent.cc', |
| 265 '../../src/debug-agent.h', |
| 266 '../../src/debug.cc', |
| 267 '../../src/debug.h', |
| 268 '../../src/deoptimizer.cc', |
| 269 '../../src/deoptimizer.h', |
| 270 '../../src/disasm.h', |
| 271 '../../src/disassembler.cc', |
| 272 '../../src/disassembler.h', |
| 273 '../../src/diy-fp.cc', |
| 274 '../../src/diy-fp.h', |
| 275 '../../src/double.h', |
| 276 '../../src/dtoa.cc', |
| 277 '../../src/dtoa.h', |
| 278 '../../src/elements-kind.cc', |
| 279 '../../src/elements-kind.h', |
| 280 '../../src/elements.cc', |
| 281 '../../src/elements.h', |
| 282 '../../src/execution.cc', |
| 283 '../../src/execution.h', |
| 284 '../../src/extensions/externalize-string-extension.cc', |
| 285 '../../src/extensions/externalize-string-extension.h', |
| 286 '../../src/extensions/gc-extension.cc', |
| 287 '../../src/extensions/gc-extension.h', |
| 288 '../../src/extensions/statistics-extension.cc', |
| 289 '../../src/extensions/statistics-extension.h', |
| 290 '../../src/factory.cc', |
| 291 '../../src/factory.h', |
| 292 '../../src/fast-dtoa.cc', |
| 293 '../../src/fast-dtoa.h', |
| 294 '../../src/fixed-dtoa.cc', |
| 295 '../../src/fixed-dtoa.h', |
| 296 '../../src/flag-definitions.h', |
| 297 '../../src/flags.cc', |
| 298 '../../src/flags.h', |
| 299 '../../src/frames-inl.h', |
| 300 '../../src/frames.cc', |
| 301 '../../src/frames.h', |
| 302 '../../src/full-codegen.cc', |
| 303 '../../src/full-codegen.h', |
| 304 '../../src/func-name-inferrer.cc', |
| 305 '../../src/func-name-inferrer.h', |
| 306 '../../src/gdb-jit.cc', |
| 307 '../../src/gdb-jit.h', |
| 308 '../../src/global-handles.cc', |
| 309 '../../src/global-handles.h', |
| 310 '../../src/globals.h', |
| 311 '../../src/handles-inl.h', |
| 312 '../../src/handles.cc', |
| 313 '../../src/handles.h', |
| 314 '../../src/hashmap.h', |
| 315 '../../src/heap-inl.h', |
| 316 '../../src/heap-profiler.cc', |
| 317 '../../src/heap-profiler.h', |
| 318 '../../src/heap-snapshot-generator-inl.h', |
| 319 '../../src/heap-snapshot-generator.cc', |
| 320 '../../src/heap-snapshot-generator.h', |
| 321 '../../src/heap.cc', |
| 322 '../../src/heap.h', |
| 323 '../../src/hydrogen-instructions.cc', |
| 324 '../../src/hydrogen-instructions.h', |
| 325 '../../src/hydrogen.cc', |
| 326 '../../src/hydrogen.h', |
| 327 '../../src/ic-inl.h', |
| 328 '../../src/ic.cc', |
| 329 '../../src/ic.h', |
| 330 '../../src/incremental-marking.cc', |
| 331 '../../src/incremental-marking.h', |
| 332 '../../src/interface.cc', |
| 333 '../../src/interface.h', |
| 334 '../../src/interpreter-irregexp.cc', |
| 335 '../../src/interpreter-irregexp.h', |
| 336 '../../src/isolate.cc', |
| 337 '../../src/isolate.h', |
| 338 '../../src/json-parser.h', |
| 339 '../../src/json-stringifier.h', |
| 340 '../../src/jsregexp-inl.h', |
| 341 '../../src/jsregexp.cc', |
| 342 '../../src/jsregexp.h', |
| 343 '../../src/lazy-instance.h', |
| 344 '../../src/list-inl.h', |
| 345 '../../src/list.h', |
| 346 '../../src/lithium-allocator-inl.h', |
| 347 '../../src/lithium-allocator.cc', |
| 348 '../../src/lithium-allocator.h', |
| 349 '../../src/lithium.cc', |
| 350 '../../src/lithium.h', |
| 351 '../../src/liveedit.cc', |
| 352 '../../src/liveedit.h', |
| 353 '../../src/log-inl.h', |
| 354 '../../src/log-utils.cc', |
| 355 '../../src/log-utils.h', |
| 356 '../../src/log.cc', |
| 357 '../../src/log.h', |
| 358 '../../src/macro-assembler.h', |
| 359 '../../src/mark-compact.cc', |
| 360 '../../src/mark-compact.h', |
| 361 '../../src/marking-thread.h', |
| 362 '../../src/marking-thread.cc', |
| 363 '../../src/messages.cc', |
| 364 '../../src/messages.h', |
| 365 '../../src/natives.h', |
| 366 '../../src/objects-debug.cc', |
| 367 '../../src/objects-inl.h', |
| 368 '../../src/objects-printer.cc', |
| 369 '../../src/objects-visiting.cc', |
| 370 '../../src/objects-visiting.h', |
| 371 '../../src/objects.cc', |
| 372 '../../src/objects.h', |
| 373 '../../src/once.cc', |
| 374 '../../src/once.h', |
| 375 '../../src/optimizing-compiler-thread.h', |
| 376 '../../src/optimizing-compiler-thread.cc', |
| 377 '../../src/parser.cc', |
| 378 '../../src/parser.h', |
| 379 '../../src/platform-posix.h', |
| 380 '../../src/platform-tls-mac.h', |
| 381 '../../src/platform-tls-win32.h', |
| 382 '../../src/platform-tls.h', |
| 383 '../../src/platform.h', |
| 384 '../../src/preparse-data-format.h', |
| 385 '../../src/preparse-data.cc', |
| 386 '../../src/preparse-data.h', |
| 387 '../../src/preparser.cc', |
| 388 '../../src/preparser.h', |
| 389 '../../src/prettyprinter.cc', |
| 390 '../../src/prettyprinter.h', |
| 391 '../../src/profile-generator-inl.h', |
| 392 '../../src/profile-generator.cc', |
| 393 '../../src/profile-generator.h', |
| 394 '../../src/property-details.h', |
| 395 '../../src/property.cc', |
| 396 '../../src/property.h', |
| 397 '../../src/regexp-macro-assembler-irregexp-inl.h', |
| 398 '../../src/regexp-macro-assembler-irregexp.cc', |
| 399 '../../src/regexp-macro-assembler-irregexp.h', |
| 400 '../../src/regexp-macro-assembler-tracer.cc', |
| 401 '../../src/regexp-macro-assembler-tracer.h', |
| 402 '../../src/regexp-macro-assembler.cc', |
| 403 '../../src/regexp-macro-assembler.h', |
| 404 '../../src/regexp-stack.cc', |
| 405 '../../src/regexp-stack.h', |
| 406 '../../src/rewriter.cc', |
| 407 '../../src/rewriter.h', |
| 408 '../../src/runtime-profiler.cc', |
| 409 '../../src/runtime-profiler.h', |
| 410 '../../src/runtime.cc', |
| 411 '../../src/runtime.h', |
| 412 '../../src/safepoint-table.cc', |
| 413 '../../src/safepoint-table.h', |
| 414 '../../src/sampler.cc', |
| 415 '../../src/sampler.h', |
| 416 '../../src/scanner-character-streams.cc', |
| 417 '../../src/scanner-character-streams.h', |
| 418 '../../src/scanner.cc', |
| 419 '../../src/scanner.h', |
| 420 '../../src/scopeinfo.cc', |
| 421 '../../src/scopeinfo.h', |
| 422 '../../src/scopes.cc', |
| 423 '../../src/scopes.h', |
| 424 '../../src/serialize.cc', |
| 425 '../../src/serialize.h', |
| 426 '../../src/small-pointer-list.h', |
| 427 '../../src/smart-pointers.h', |
| 428 '../../src/snapshot-common.cc', |
| 429 '../../src/snapshot.h', |
| 430 '../../src/spaces-inl.h', |
| 431 '../../src/spaces.cc', |
| 432 '../../src/spaces.h', |
| 433 '../../src/store-buffer-inl.h', |
| 434 '../../src/store-buffer.cc', |
| 435 '../../src/store-buffer.h', |
| 436 '../../src/string-search.cc', |
| 437 '../../src/string-search.h', |
| 438 '../../src/string-stream.cc', |
| 439 '../../src/string-stream.h', |
| 440 '../../src/strtod.cc', |
| 441 '../../src/strtod.h', |
| 442 '../../src/stub-cache.cc', |
| 443 '../../src/stub-cache.h', |
| 444 '../../src/sweeper-thread.h', |
| 445 '../../src/sweeper-thread.cc', |
| 446 '../../src/token.cc', |
| 447 '../../src/token.h', |
| 448 '../../src/transitions-inl.h', |
| 449 '../../src/transitions.cc', |
| 450 '../../src/transitions.h', |
| 451 '../../src/type-info.cc', |
| 452 '../../src/type-info.h', |
| 453 '../../src/unbound-queue-inl.h', |
| 454 '../../src/unbound-queue.h', |
| 455 '../../src/unicode-inl.h', |
| 456 '../../src/unicode.cc', |
| 457 '../../src/unicode.h', |
| 458 '../../src/uri.h', |
| 459 '../../src/utils-inl.h', |
| 460 '../../src/utils.cc', |
| 461 '../../src/utils.h', |
| 462 '../../src/v8-counters.cc', |
| 463 '../../src/v8-counters.h', |
| 464 '../../src/v8.cc', |
| 465 '../../src/v8.h', |
| 466 '../../src/v8checks.h', |
| 467 '../../src/v8conversions.cc', |
| 468 '../../src/v8conversions.h', |
| 469 '../../src/v8globals.h', |
| 470 '../../src/v8memory.h', |
| 471 '../../src/v8threads.cc', |
| 472 '../../src/v8threads.h', |
| 473 '../../src/v8utils.cc', |
| 474 '../../src/v8utils.h', |
| 475 '../../src/variables.cc', |
| 476 '../../src/variables.h', |
| 477 '../../src/version.cc', |
| 478 '../../src/version.h', |
| 479 '../../src/vm-state-inl.h', |
| 480 '../../src/vm-state.h', |
| 481 '../../src/zone-inl.h', |
| 482 '../../src/zone.cc', |
| 483 '../../src/zone.h', |
| 484 ], |
| 485 'conditions': [ |
| 486 ['want_separate_host_toolset==1', { |
| 487 'toolsets': ['host', 'target'], |
| 488 }, { |
| 489 'toolsets': ['target'], |
| 490 }], |
| 491 ['v8_target_arch=="arm"', { |
| 492 'sources': [ ### gcmole(arch:arm) ### |
| 493 '../../src/arm/assembler-arm-inl.h', |
| 494 '../../src/arm/assembler-arm.cc', |
| 495 '../../src/arm/assembler-arm.h', |
| 496 '../../src/arm/builtins-arm.cc', |
| 497 '../../src/arm/code-stubs-arm.cc', |
| 498 '../../src/arm/code-stubs-arm.h', |
| 499 '../../src/arm/codegen-arm.cc', |
| 500 '../../src/arm/codegen-arm.h', |
| 501 '../../src/arm/constants-arm.h', |
| 502 '../../src/arm/constants-arm.cc', |
| 503 '../../src/arm/cpu-arm.cc', |
| 504 '../../src/arm/debug-arm.cc', |
| 505 '../../src/arm/deoptimizer-arm.cc', |
| 506 '../../src/arm/disasm-arm.cc', |
| 507 '../../src/arm/frames-arm.cc', |
| 508 '../../src/arm/frames-arm.h', |
| 509 '../../src/arm/full-codegen-arm.cc', |
| 510 '../../src/arm/ic-arm.cc', |
| 511 '../../src/arm/lithium-arm.cc', |
| 512 '../../src/arm/lithium-arm.h', |
| 513 '../../src/arm/lithium-codegen-arm.cc', |
| 514 '../../src/arm/lithium-codegen-arm.h', |
| 515 '../../src/arm/lithium-gap-resolver-arm.cc', |
| 516 '../../src/arm/lithium-gap-resolver-arm.h', |
| 517 '../../src/arm/macro-assembler-arm.cc', |
| 518 '../../src/arm/macro-assembler-arm.h', |
| 519 '../../src/arm/regexp-macro-assembler-arm.cc', |
| 520 '../../src/arm/regexp-macro-assembler-arm.h', |
| 521 '../../src/arm/simulator-arm.cc', |
| 522 '../../src/arm/stub-cache-arm.cc', |
| 523 ], |
| 524 }], |
| 525 ['v8_target_arch=="ia32" or v8_target_arch=="mac" or OS=="mac"', { |
| 526 'sources': [ ### gcmole(arch:ia32) ### |
| 527 '../../src/ia32/assembler-ia32-inl.h', |
| 528 '../../src/ia32/assembler-ia32.cc', |
| 529 '../../src/ia32/assembler-ia32.h', |
| 530 '../../src/ia32/builtins-ia32.cc', |
| 531 '../../src/ia32/code-stubs-ia32.cc', |
| 532 '../../src/ia32/code-stubs-ia32.h', |
| 533 '../../src/ia32/codegen-ia32.cc', |
| 534 '../../src/ia32/codegen-ia32.h', |
| 535 '../../src/ia32/cpu-ia32.cc', |
| 536 '../../src/ia32/debug-ia32.cc', |
| 537 '../../src/ia32/deoptimizer-ia32.cc', |
| 538 '../../src/ia32/disasm-ia32.cc', |
| 539 '../../src/ia32/frames-ia32.cc', |
| 540 '../../src/ia32/frames-ia32.h', |
| 541 '../../src/ia32/full-codegen-ia32.cc', |
| 542 '../../src/ia32/ic-ia32.cc', |
| 543 '../../src/ia32/lithium-codegen-ia32.cc', |
| 544 '../../src/ia32/lithium-codegen-ia32.h', |
| 545 '../../src/ia32/lithium-gap-resolver-ia32.cc', |
| 546 '../../src/ia32/lithium-gap-resolver-ia32.h', |
| 547 '../../src/ia32/lithium-ia32.cc', |
| 548 '../../src/ia32/lithium-ia32.h', |
| 549 '../../src/ia32/macro-assembler-ia32.cc', |
| 550 '../../src/ia32/macro-assembler-ia32.h', |
| 551 '../../src/ia32/regexp-macro-assembler-ia32.cc', |
| 552 '../../src/ia32/regexp-macro-assembler-ia32.h', |
| 553 '../../src/ia32/stub-cache-ia32.cc', |
| 554 ], |
| 555 }], |
| 556 ['v8_target_arch=="mipsel"', { |
| 557 'sources': [ ### gcmole(arch:mipsel) ### |
| 558 '../../src/mips/assembler-mips.cc', |
| 559 '../../src/mips/assembler-mips.h', |
| 560 '../../src/mips/assembler-mips-inl.h', |
| 561 '../../src/mips/builtins-mips.cc', |
| 562 '../../src/mips/codegen-mips.cc', |
| 563 '../../src/mips/codegen-mips.h', |
| 564 '../../src/mips/code-stubs-mips.cc', |
| 565 '../../src/mips/code-stubs-mips.h', |
| 566 '../../src/mips/constants-mips.cc', |
| 567 '../../src/mips/constants-mips.h', |
| 568 '../../src/mips/cpu-mips.cc', |
| 569 '../../src/mips/debug-mips.cc', |
| 570 '../../src/mips/deoptimizer-mips.cc', |
| 571 '../../src/mips/disasm-mips.cc', |
| 572 '../../src/mips/frames-mips.cc', |
| 573 '../../src/mips/frames-mips.h', |
| 574 '../../src/mips/full-codegen-mips.cc', |
| 575 '../../src/mips/ic-mips.cc', |
| 576 '../../src/mips/lithium-codegen-mips.cc', |
| 577 '../../src/mips/lithium-codegen-mips.h', |
| 578 '../../src/mips/lithium-gap-resolver-mips.cc', |
| 579 '../../src/mips/lithium-gap-resolver-mips.h', |
| 580 '../../src/mips/lithium-mips.cc', |
| 581 '../../src/mips/lithium-mips.h', |
| 582 '../../src/mips/macro-assembler-mips.cc', |
| 583 '../../src/mips/macro-assembler-mips.h', |
| 584 '../../src/mips/regexp-macro-assembler-mips.cc', |
| 585 '../../src/mips/regexp-macro-assembler-mips.h', |
| 586 '../../src/mips/simulator-mips.cc', |
| 587 '../../src/mips/stub-cache-mips.cc', |
| 588 ], |
| 589 }], |
| 590 ['v8_target_arch=="x64" or v8_target_arch=="mac" or OS=="mac"', { |
| 591 'sources': [ ### gcmole(arch:x64) ### |
| 592 '../../src/x64/assembler-x64-inl.h', |
| 593 '../../src/x64/assembler-x64.cc', |
| 594 '../../src/x64/assembler-x64.h', |
| 595 '../../src/x64/builtins-x64.cc', |
| 596 '../../src/x64/code-stubs-x64.cc', |
| 597 '../../src/x64/code-stubs-x64.h', |
| 598 '../../src/x64/codegen-x64.cc', |
| 599 '../../src/x64/codegen-x64.h', |
| 600 '../../src/x64/cpu-x64.cc', |
| 601 '../../src/x64/debug-x64.cc', |
| 602 '../../src/x64/deoptimizer-x64.cc', |
| 603 '../../src/x64/disasm-x64.cc', |
| 604 '../../src/x64/frames-x64.cc', |
| 605 '../../src/x64/frames-x64.h', |
| 606 '../../src/x64/full-codegen-x64.cc', |
| 607 '../../src/x64/ic-x64.cc', |
| 608 '../../src/x64/lithium-codegen-x64.cc', |
| 609 '../../src/x64/lithium-codegen-x64.h', |
| 610 '../../src/x64/lithium-gap-resolver-x64.cc', |
| 611 '../../src/x64/lithium-gap-resolver-x64.h', |
| 612 '../../src/x64/lithium-x64.cc', |
| 613 '../../src/x64/lithium-x64.h', |
| 614 '../../src/x64/macro-assembler-x64.cc', |
| 615 '../../src/x64/macro-assembler-x64.h', |
| 616 '../../src/x64/regexp-macro-assembler-x64.cc', |
| 617 '../../src/x64/regexp-macro-assembler-x64.h', |
| 618 '../../src/x64/stub-cache-x64.cc', |
| 619 ], |
| 620 }], |
| 621 ['OS=="linux"', { |
| 622 'link_settings': { |
| 623 'conditions': [ |
| 624 ['v8_compress_startup_data=="bz2"', { |
| 76 'libraries': [ | 625 'libraries': [ |
| 77 '-llog', | 626 '-lbz2', |
| 78 ], | 627 ] |
| 79 'include_dirs': [ | |
| 80 'src/common/android/include', | |
| 81 ], | |
| 82 }], | |
| 83 ], | |
| 84 'conditions': [ | |
| 85 ['OS=="mac"', { | |
| 86 'xcode_settings': { | |
| 87 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] | |
| 88 }, | |
| 89 }], | |
| 90 ['soname_version!=""', { | |
| 91 'product_extension': 'so.<(soname_version)', | |
| 92 }], | 628 }], |
| 93 ], | 629 ], |
| 94 }, | 630 }, |
| 95 { | 631 'sources': [ ### gcmole(os:linux) ### |
| 96 'type': 'none', | 632 '../../src/platform-linux.cc', |
| 97 }], | 633 '../../src/platform-posix.cc' |
| 98 ], | 634 ], |
| 99 'direct_dependent_settings': { | 635 } |
| 100 'include_dirs': [ | 636 ], |
| 101 '../../include', | 637 ['OS=="android"', { |
| 102 ], | 638 'defines': [ |
| 103 }, | 639 'CAN_USE_VFP_INSTRUCTIONS', |
| 104 }, | 640 ], |
| 105 { | 641 'sources': [ |
| 106 'target_name': 'v8_snapshot', | 642 '../../src/platform-posix.cc', |
| 107 'type': 'static_library', | 643 ], |
| 108 'conditions': [ | 644 'conditions': [ |
| 109 ['want_separate_host_toolset==1', { | 645 ['host_os=="mac"', { |
| 110 'toolsets': ['host', 'target'], | 646 'target_conditions': [ |
| 111 'dependencies': [ | 647 ['_toolset=="host"', { |
| 112 'mksnapshot.<(v8_target_arch)#host', | 648 'sources': [ |
| 113 'js2c#host', | 649 '../../src/platform-macos.cc' |
| 114 ], | 650 ] |
| 115 }, { | |
| 116 'toolsets': ['target'], | |
| 117 'dependencies': ['mksnapshot.<(v8_target_arch)', 'js2c'], | |
| 118 }], | |
| 119 ['component=="shared_library"', { | |
| 120 'defines': [ | |
| 121 'V8_SHARED', | |
| 122 'BUILDING_V8_SHARED', | |
| 123 ], | |
| 124 'direct_dependent_settings': { | |
| 125 'defines': [ | |
| 126 'V8_SHARED', | |
| 127 'USING_V8_SHARED', | |
| 128 ], | |
| 129 }, | |
| 130 }], | |
| 131 ], | |
| 132 'dependencies': [ | |
| 133 'v8_base.<(v8_target_arch)', | |
| 134 ], | |
| 135 'include_dirs+': [ | |
| 136 '../../src', | |
| 137 ], | |
| 138 'sources': [ | |
| 139 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | |
| 140 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | |
| 141 '<(INTERMEDIATE_DIR)/snapshot.cc', | |
| 142 ], | |
| 143 'actions': [ | |
| 144 { | |
| 145 'action_name': 'run_mksnapshot', | |
| 146 'inputs': [ | |
| 147 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)
<(EXECUTABLE_SUFFIX)', | |
| 148 ], | |
| 149 'outputs': [ | |
| 150 '<(INTERMEDIATE_DIR)/snapshot.cc', | |
| 151 ], | |
| 152 'variables': { | |
| 153 'mksnapshot_flags': [ | |
| 154 '--log-snapshot-positions', | |
| 155 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', | |
| 156 ], | |
| 157 }, | |
| 158 'action': [ | |
| 159 '<@(_inputs)', | |
| 160 '<@(mksnapshot_flags)', | |
| 161 '<@(_outputs)' | |
| 162 ], | |
| 163 }, | |
| 164 ], | |
| 165 }, | |
| 166 { | |
| 167 'target_name': 'v8_nosnapshot.<(v8_target_arch)', | |
| 168 'type': 'static_library', | |
| 169 'dependencies': [ | |
| 170 'v8_base.<(v8_target_arch)', | |
| 171 ], | |
| 172 'include_dirs+': [ | |
| 173 '../../src', | |
| 174 ], | |
| 175 'sources': [ | |
| 176 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | |
| 177 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | |
| 178 '../../src/snapshot-empty.cc', | |
| 179 ], | |
| 180 'conditions': [ | |
| 181 ['want_separate_host_toolset==1', { | |
| 182 'toolsets': ['host', 'target'], | |
| 183 'dependencies': ['js2c#host'], | |
| 184 }, { | |
| 185 'toolsets': ['target'], | |
| 186 'dependencies': ['js2c'], | |
| 187 }], | |
| 188 ['component=="shared_library"', { | |
| 189 'defines': [ | |
| 190 'BUILDING_V8_SHARED', | |
| 191 'V8_SHARED', | |
| 192 ], | |
| 193 }], | |
| 194 ] | |
| 195 }, | |
| 196 { | |
| 197 'target_name': 'v8_base.<(v8_target_arch)', | |
| 198 'type': 'static_library', | |
| 199 'variables': { | |
| 200 'optimize': 'max', | |
| 201 }, | |
| 202 'include_dirs+': [ | |
| 203 '../../src', | |
| 204 ], | |
| 205 'sources': [ ### gcmole(all) ### | |
| 206 '../../src/accessors.cc', | |
| 207 '../../src/accessors.h', | |
| 208 '../../src/allocation.cc', | |
| 209 '../../src/allocation.h', | |
| 210 '../../src/api.cc', | |
| 211 '../../src/api.h', | |
| 212 '../../src/apiutils.h', | |
| 213 '../../src/arguments.h', | |
| 214 '../../src/assembler.cc', | |
| 215 '../../src/assembler.h', | |
| 216 '../../src/ast.cc', | |
| 217 '../../src/ast.h', | |
| 218 '../../src/atomicops.h', | |
| 219 '../../src/atomicops_internals_x86_gcc.cc', | |
| 220 '../../src/bignum-dtoa.cc', | |
| 221 '../../src/bignum-dtoa.h', | |
| 222 '../../src/bignum.cc', | |
| 223 '../../src/bignum.h', | |
| 224 '../../src/bootstrapper.cc', | |
| 225 '../../src/bootstrapper.h', | |
| 226 '../../src/builtins.cc', | |
| 227 '../../src/builtins.h', | |
| 228 '../../src/bytecodes-irregexp.h', | |
| 229 '../../src/cached-powers.cc', | |
| 230 '../../src/cached-powers.h', | |
| 231 '../../src/char-predicates-inl.h', | |
| 232 '../../src/char-predicates.h', | |
| 233 '../../src/checks.cc', | |
| 234 '../../src/checks.h', | |
| 235 '../../src/circular-queue-inl.h', | |
| 236 '../../src/circular-queue.cc', | |
| 237 '../../src/circular-queue.h', | |
| 238 '../../src/code-stubs.cc', | |
| 239 '../../src/code-stubs.h', | |
| 240 '../../src/code-stubs-hydrogen.cc', | |
| 241 '../../src/code.h', | |
| 242 '../../src/codegen.cc', | |
| 243 '../../src/codegen.h', | |
| 244 '../../src/compilation-cache.cc', | |
| 245 '../../src/compilation-cache.h', | |
| 246 '../../src/compiler.cc', | |
| 247 '../../src/compiler.h', | |
| 248 '../../src/contexts.cc', | |
| 249 '../../src/contexts.h', | |
| 250 '../../src/conversions-inl.h', | |
| 251 '../../src/conversions.cc', | |
| 252 '../../src/conversions.h', | |
| 253 '../../src/counters.cc', | |
| 254 '../../src/counters.h', | |
| 255 '../../src/cpu-profiler-inl.h', | |
| 256 '../../src/cpu-profiler.cc', | |
| 257 '../../src/cpu-profiler.h', | |
| 258 '../../src/cpu.h', | |
| 259 '../../src/data-flow.cc', | |
| 260 '../../src/data-flow.h', | |
| 261 '../../src/date.cc', | |
| 262 '../../src/date.h', | |
| 263 '../../src/dateparser-inl.h', | |
| 264 '../../src/dateparser.cc', | |
| 265 '../../src/dateparser.h', | |
| 266 '../../src/debug-agent.cc', | |
| 267 '../../src/debug-agent.h', | |
| 268 '../../src/debug.cc', | |
| 269 '../../src/debug.h', | |
| 270 '../../src/deoptimizer.cc', | |
| 271 '../../src/deoptimizer.h', | |
| 272 '../../src/disasm.h', | |
| 273 '../../src/disassembler.cc', | |
| 274 '../../src/disassembler.h', | |
| 275 '../../src/diy-fp.cc', | |
| 276 '../../src/diy-fp.h', | |
| 277 '../../src/double.h', | |
| 278 '../../src/dtoa.cc', | |
| 279 '../../src/dtoa.h', | |
| 280 '../../src/elements-kind.cc', | |
| 281 '../../src/elements-kind.h', | |
| 282 '../../src/elements.cc', | |
| 283 '../../src/elements.h', | |
| 284 '../../src/execution.cc', | |
| 285 '../../src/execution.h', | |
| 286 '../../src/extensions/externalize-string-extension.cc', | |
| 287 '../../src/extensions/externalize-string-extension.h', | |
| 288 '../../src/extensions/gc-extension.cc', | |
| 289 '../../src/extensions/gc-extension.h', | |
| 290 '../../src/extensions/statistics-extension.cc', | |
| 291 '../../src/extensions/statistics-extension.h', | |
| 292 '../../src/factory.cc', | |
| 293 '../../src/factory.h', | |
| 294 '../../src/fast-dtoa.cc', | |
| 295 '../../src/fast-dtoa.h', | |
| 296 '../../src/fixed-dtoa.cc', | |
| 297 '../../src/fixed-dtoa.h', | |
| 298 '../../src/flag-definitions.h', | |
| 299 '../../src/flags.cc', | |
| 300 '../../src/flags.h', | |
| 301 '../../src/frames-inl.h', | |
| 302 '../../src/frames.cc', | |
| 303 '../../src/frames.h', | |
| 304 '../../src/full-codegen.cc', | |
| 305 '../../src/full-codegen.h', | |
| 306 '../../src/func-name-inferrer.cc', | |
| 307 '../../src/func-name-inferrer.h', | |
| 308 '../../src/gdb-jit.cc', | |
| 309 '../../src/gdb-jit.h', | |
| 310 '../../src/global-handles.cc', | |
| 311 '../../src/global-handles.h', | |
| 312 '../../src/globals.h', | |
| 313 '../../src/handles-inl.h', | |
| 314 '../../src/handles.cc', | |
| 315 '../../src/handles.h', | |
| 316 '../../src/hashmap.h', | |
| 317 '../../src/heap-inl.h', | |
| 318 '../../src/heap-profiler.cc', | |
| 319 '../../src/heap-profiler.h', | |
| 320 '../../src/heap-snapshot-generator-inl.h', | |
| 321 '../../src/heap-snapshot-generator.cc', | |
| 322 '../../src/heap-snapshot-generator.h', | |
| 323 '../../src/heap.cc', | |
| 324 '../../src/heap.h', | |
| 325 '../../src/hydrogen-instructions.cc', | |
| 326 '../../src/hydrogen-instructions.h', | |
| 327 '../../src/hydrogen.cc', | |
| 328 '../../src/hydrogen.h', | |
| 329 '../../src/ic-inl.h', | |
| 330 '../../src/ic.cc', | |
| 331 '../../src/ic.h', | |
| 332 '../../src/incremental-marking.cc', | |
| 333 '../../src/incremental-marking.h', | |
| 334 '../../src/interface.cc', | |
| 335 '../../src/interface.h', | |
| 336 '../../src/interpreter-irregexp.cc', | |
| 337 '../../src/interpreter-irregexp.h', | |
| 338 '../../src/isolate.cc', | |
| 339 '../../src/isolate.h', | |
| 340 '../../src/json-parser.h', | |
| 341 '../../src/json-stringifier.h', | |
| 342 '../../src/jsregexp-inl.h', | |
| 343 '../../src/jsregexp.cc', | |
| 344 '../../src/jsregexp.h', | |
| 345 '../../src/lazy-instance.h', | |
| 346 '../../src/list-inl.h', | |
| 347 '../../src/list.h', | |
| 348 '../../src/lithium-allocator-inl.h', | |
| 349 '../../src/lithium-allocator.cc', | |
| 350 '../../src/lithium-allocator.h', | |
| 351 '../../src/lithium.cc', | |
| 352 '../../src/lithium.h', | |
| 353 '../../src/liveedit.cc', | |
| 354 '../../src/liveedit.h', | |
| 355 '../../src/log-inl.h', | |
| 356 '../../src/log-utils.cc', | |
| 357 '../../src/log-utils.h', | |
| 358 '../../src/log.cc', | |
| 359 '../../src/log.h', | |
| 360 '../../src/macro-assembler.h', | |
| 361 '../../src/mark-compact.cc', | |
| 362 '../../src/mark-compact.h', | |
| 363 '../../src/marking-thread.h', | |
| 364 '../../src/marking-thread.cc', | |
| 365 '../../src/messages.cc', | |
| 366 '../../src/messages.h', | |
| 367 '../../src/natives.h', | |
| 368 '../../src/objects-debug.cc', | |
| 369 '../../src/objects-inl.h', | |
| 370 '../../src/objects-printer.cc', | |
| 371 '../../src/objects-visiting.cc', | |
| 372 '../../src/objects-visiting.h', | |
| 373 '../../src/objects.cc', | |
| 374 '../../src/objects.h', | |
| 375 '../../src/once.cc', | |
| 376 '../../src/once.h', | |
| 377 '../../src/optimizing-compiler-thread.h', | |
| 378 '../../src/optimizing-compiler-thread.cc', | |
| 379 '../../src/parser.cc', | |
| 380 '../../src/parser.h', | |
| 381 '../../src/platform-posix.h', | |
| 382 '../../src/platform-tls-mac.h', | |
| 383 '../../src/platform-tls-win32.h', | |
| 384 '../../src/platform-tls.h', | |
| 385 '../../src/platform.h', | |
| 386 '../../src/preparse-data-format.h', | |
| 387 '../../src/preparse-data.cc', | |
| 388 '../../src/preparse-data.h', | |
| 389 '../../src/preparser.cc', | |
| 390 '../../src/preparser.h', | |
| 391 '../../src/prettyprinter.cc', | |
| 392 '../../src/prettyprinter.h', | |
| 393 '../../src/profile-generator-inl.h', | |
| 394 '../../src/profile-generator.cc', | |
| 395 '../../src/profile-generator.h', | |
| 396 '../../src/property-details.h', | |
| 397 '../../src/property.cc', | |
| 398 '../../src/property.h', | |
| 399 '../../src/regexp-macro-assembler-irregexp-inl.h', | |
| 400 '../../src/regexp-macro-assembler-irregexp.cc', | |
| 401 '../../src/regexp-macro-assembler-irregexp.h', | |
| 402 '../../src/regexp-macro-assembler-tracer.cc', | |
| 403 '../../src/regexp-macro-assembler-tracer.h', | |
| 404 '../../src/regexp-macro-assembler.cc', | |
| 405 '../../src/regexp-macro-assembler.h', | |
| 406 '../../src/regexp-stack.cc', | |
| 407 '../../src/regexp-stack.h', | |
| 408 '../../src/rewriter.cc', | |
| 409 '../../src/rewriter.h', | |
| 410 '../../src/runtime-profiler.cc', | |
| 411 '../../src/runtime-profiler.h', | |
| 412 '../../src/runtime.cc', | |
| 413 '../../src/runtime.h', | |
| 414 '../../src/safepoint-table.cc', | |
| 415 '../../src/safepoint-table.h', | |
| 416 '../../src/sampler.cc', | |
| 417 '../../src/sampler.h', | |
| 418 '../../src/scanner-character-streams.cc', | |
| 419 '../../src/scanner-character-streams.h', | |
| 420 '../../src/scanner.cc', | |
| 421 '../../src/scanner.h', | |
| 422 '../../src/scopeinfo.cc', | |
| 423 '../../src/scopeinfo.h', | |
| 424 '../../src/scopes.cc', | |
| 425 '../../src/scopes.h', | |
| 426 '../../src/serialize.cc', | |
| 427 '../../src/serialize.h', | |
| 428 '../../src/small-pointer-list.h', | |
| 429 '../../src/smart-pointers.h', | |
| 430 '../../src/snapshot-common.cc', | |
| 431 '../../src/snapshot.h', | |
| 432 '../../src/spaces-inl.h', | |
| 433 '../../src/spaces.cc', | |
| 434 '../../src/spaces.h', | |
| 435 '../../src/store-buffer-inl.h', | |
| 436 '../../src/store-buffer.cc', | |
| 437 '../../src/store-buffer.h', | |
| 438 '../../src/string-search.cc', | |
| 439 '../../src/string-search.h', | |
| 440 '../../src/string-stream.cc', | |
| 441 '../../src/string-stream.h', | |
| 442 '../../src/strtod.cc', | |
| 443 '../../src/strtod.h', | |
| 444 '../../src/stub-cache.cc', | |
| 445 '../../src/stub-cache.h', | |
| 446 '../../src/sweeper-thread.h', | |
| 447 '../../src/sweeper-thread.cc', | |
| 448 '../../src/token.cc', | |
| 449 '../../src/token.h', | |
| 450 '../../src/transitions-inl.h', | |
| 451 '../../src/transitions.cc', | |
| 452 '../../src/transitions.h', | |
| 453 '../../src/type-info.cc', | |
| 454 '../../src/type-info.h', | |
| 455 '../../src/unbound-queue-inl.h', | |
| 456 '../../src/unbound-queue.h', | |
| 457 '../../src/unicode-inl.h', | |
| 458 '../../src/unicode.cc', | |
| 459 '../../src/unicode.h', | |
| 460 '../../src/uri.h', | |
| 461 '../../src/utils-inl.h', | |
| 462 '../../src/utils.cc', | |
| 463 '../../src/utils.h', | |
| 464 '../../src/v8-counters.cc', | |
| 465 '../../src/v8-counters.h', | |
| 466 '../../src/v8.cc', | |
| 467 '../../src/v8.h', | |
| 468 '../../src/v8checks.h', | |
| 469 '../../src/v8conversions.cc', | |
| 470 '../../src/v8conversions.h', | |
| 471 '../../src/v8globals.h', | |
| 472 '../../src/v8memory.h', | |
| 473 '../../src/v8threads.cc', | |
| 474 '../../src/v8threads.h', | |
| 475 '../../src/v8utils.cc', | |
| 476 '../../src/v8utils.h', | |
| 477 '../../src/variables.cc', | |
| 478 '../../src/variables.h', | |
| 479 '../../src/version.cc', | |
| 480 '../../src/version.h', | |
| 481 '../../src/vm-state-inl.h', | |
| 482 '../../src/vm-state.h', | |
| 483 '../../src/zone-inl.h', | |
| 484 '../../src/zone.cc', | |
| 485 '../../src/zone.h', | |
| 486 ], | |
| 487 'conditions': [ | |
| 488 ['want_separate_host_toolset==1', { | |
| 489 'toolsets': ['host', 'target'], | |
| 490 }, { | |
| 491 'toolsets': ['target'], | |
| 492 }], | |
| 493 ['v8_target_arch=="arm"', { | |
| 494 'sources': [ ### gcmole(arch:arm) ### | |
| 495 '../../src/arm/assembler-arm-inl.h', | |
| 496 '../../src/arm/assembler-arm.cc', | |
| 497 '../../src/arm/assembler-arm.h', | |
| 498 '../../src/arm/builtins-arm.cc', | |
| 499 '../../src/arm/code-stubs-arm.cc', | |
| 500 '../../src/arm/code-stubs-arm.h', | |
| 501 '../../src/arm/codegen-arm.cc', | |
| 502 '../../src/arm/codegen-arm.h', | |
| 503 '../../src/arm/constants-arm.h', | |
| 504 '../../src/arm/constants-arm.cc', | |
| 505 '../../src/arm/cpu-arm.cc', | |
| 506 '../../src/arm/debug-arm.cc', | |
| 507 '../../src/arm/deoptimizer-arm.cc', | |
| 508 '../../src/arm/disasm-arm.cc', | |
| 509 '../../src/arm/frames-arm.cc', | |
| 510 '../../src/arm/frames-arm.h', | |
| 511 '../../src/arm/full-codegen-arm.cc', | |
| 512 '../../src/arm/ic-arm.cc', | |
| 513 '../../src/arm/lithium-arm.cc', | |
| 514 '../../src/arm/lithium-arm.h', | |
| 515 '../../src/arm/lithium-codegen-arm.cc', | |
| 516 '../../src/arm/lithium-codegen-arm.h', | |
| 517 '../../src/arm/lithium-gap-resolver-arm.cc', | |
| 518 '../../src/arm/lithium-gap-resolver-arm.h', | |
| 519 '../../src/arm/macro-assembler-arm.cc', | |
| 520 '../../src/arm/macro-assembler-arm.h', | |
| 521 '../../src/arm/regexp-macro-assembler-arm.cc', | |
| 522 '../../src/arm/regexp-macro-assembler-arm.h', | |
| 523 '../../src/arm/simulator-arm.cc', | |
| 524 '../../src/arm/stub-cache-arm.cc', | |
| 525 ], | |
| 526 }], | |
| 527 ['v8_target_arch=="ia32" or v8_target_arch=="mac" or OS=="mac"', { | |
| 528 'sources': [ ### gcmole(arch:ia32) ### | |
| 529 '../../src/ia32/assembler-ia32-inl.h', | |
| 530 '../../src/ia32/assembler-ia32.cc', | |
| 531 '../../src/ia32/assembler-ia32.h', | |
| 532 '../../src/ia32/builtins-ia32.cc', | |
| 533 '../../src/ia32/code-stubs-ia32.cc', | |
| 534 '../../src/ia32/code-stubs-ia32.h', | |
| 535 '../../src/ia32/codegen-ia32.cc', | |
| 536 '../../src/ia32/codegen-ia32.h', | |
| 537 '../../src/ia32/cpu-ia32.cc', | |
| 538 '../../src/ia32/debug-ia32.cc', | |
| 539 '../../src/ia32/deoptimizer-ia32.cc', | |
| 540 '../../src/ia32/disasm-ia32.cc', | |
| 541 '../../src/ia32/frames-ia32.cc', | |
| 542 '../../src/ia32/frames-ia32.h', | |
| 543 '../../src/ia32/full-codegen-ia32.cc', | |
| 544 '../../src/ia32/ic-ia32.cc', | |
| 545 '../../src/ia32/lithium-codegen-ia32.cc', | |
| 546 '../../src/ia32/lithium-codegen-ia32.h', | |
| 547 '../../src/ia32/lithium-gap-resolver-ia32.cc', | |
| 548 '../../src/ia32/lithium-gap-resolver-ia32.h', | |
| 549 '../../src/ia32/lithium-ia32.cc', | |
| 550 '../../src/ia32/lithium-ia32.h', | |
| 551 '../../src/ia32/macro-assembler-ia32.cc', | |
| 552 '../../src/ia32/macro-assembler-ia32.h', | |
| 553 '../../src/ia32/regexp-macro-assembler-ia32.cc', | |
| 554 '../../src/ia32/regexp-macro-assembler-ia32.h', | |
| 555 '../../src/ia32/stub-cache-ia32.cc', | |
| 556 ], | |
| 557 }], | |
| 558 ['v8_target_arch=="mipsel"', { | |
| 559 'sources': [ ### gcmole(arch:mipsel) ### | |
| 560 '../../src/mips/assembler-mips.cc', | |
| 561 '../../src/mips/assembler-mips.h', | |
| 562 '../../src/mips/assembler-mips-inl.h', | |
| 563 '../../src/mips/builtins-mips.cc', | |
| 564 '../../src/mips/codegen-mips.cc', | |
| 565 '../../src/mips/codegen-mips.h', | |
| 566 '../../src/mips/code-stubs-mips.cc', | |
| 567 '../../src/mips/code-stubs-mips.h', | |
| 568 '../../src/mips/constants-mips.cc', | |
| 569 '../../src/mips/constants-mips.h', | |
| 570 '../../src/mips/cpu-mips.cc', | |
| 571 '../../src/mips/debug-mips.cc', | |
| 572 '../../src/mips/deoptimizer-mips.cc', | |
| 573 '../../src/mips/disasm-mips.cc', | |
| 574 '../../src/mips/frames-mips.cc', | |
| 575 '../../src/mips/frames-mips.h', | |
| 576 '../../src/mips/full-codegen-mips.cc', | |
| 577 '../../src/mips/ic-mips.cc', | |
| 578 '../../src/mips/lithium-codegen-mips.cc', | |
| 579 '../../src/mips/lithium-codegen-mips.h', | |
| 580 '../../src/mips/lithium-gap-resolver-mips.cc', | |
| 581 '../../src/mips/lithium-gap-resolver-mips.h', | |
| 582 '../../src/mips/lithium-mips.cc', | |
| 583 '../../src/mips/lithium-mips.h', | |
| 584 '../../src/mips/macro-assembler-mips.cc', | |
| 585 '../../src/mips/macro-assembler-mips.h', | |
| 586 '../../src/mips/regexp-macro-assembler-mips.cc', | |
| 587 '../../src/mips/regexp-macro-assembler-mips.h', | |
| 588 '../../src/mips/simulator-mips.cc', | |
| 589 '../../src/mips/stub-cache-mips.cc', | |
| 590 ], | |
| 591 }], | |
| 592 ['v8_target_arch=="x64" or v8_target_arch=="mac" or OS=="mac"', { | |
| 593 'sources': [ ### gcmole(arch:x64) ### | |
| 594 '../../src/x64/assembler-x64-inl.h', | |
| 595 '../../src/x64/assembler-x64.cc', | |
| 596 '../../src/x64/assembler-x64.h', | |
| 597 '../../src/x64/builtins-x64.cc', | |
| 598 '../../src/x64/code-stubs-x64.cc', | |
| 599 '../../src/x64/code-stubs-x64.h', | |
| 600 '../../src/x64/codegen-x64.cc', | |
| 601 '../../src/x64/codegen-x64.h', | |
| 602 '../../src/x64/cpu-x64.cc', | |
| 603 '../../src/x64/debug-x64.cc', | |
| 604 '../../src/x64/deoptimizer-x64.cc', | |
| 605 '../../src/x64/disasm-x64.cc', | |
| 606 '../../src/x64/frames-x64.cc', | |
| 607 '../../src/x64/frames-x64.h', | |
| 608 '../../src/x64/full-codegen-x64.cc', | |
| 609 '../../src/x64/ic-x64.cc', | |
| 610 '../../src/x64/lithium-codegen-x64.cc', | |
| 611 '../../src/x64/lithium-codegen-x64.h', | |
| 612 '../../src/x64/lithium-gap-resolver-x64.cc', | |
| 613 '../../src/x64/lithium-gap-resolver-x64.h', | |
| 614 '../../src/x64/lithium-x64.cc', | |
| 615 '../../src/x64/lithium-x64.h', | |
| 616 '../../src/x64/macro-assembler-x64.cc', | |
| 617 '../../src/x64/macro-assembler-x64.h', | |
| 618 '../../src/x64/regexp-macro-assembler-x64.cc', | |
| 619 '../../src/x64/regexp-macro-assembler-x64.h', | |
| 620 '../../src/x64/stub-cache-x64.cc', | |
| 621 ], | |
| 622 }], | |
| 623 ['OS=="linux"', { | |
| 624 'link_settings': { | |
| 625 'conditions': [ | |
| 626 ['v8_compress_startup_data=="bz2"', { | |
| 627 'libraries': [ | |
| 628 '-lbz2', | |
| 629 ] | |
| 630 }], | |
| 631 ], | |
| 632 }, | |
| 633 'sources': [ ### gcmole(os:linux) ### | |
| 634 '../../src/platform-linux.cc', | |
| 635 '../../src/platform-posix.cc' | |
| 636 ], | |
| 637 } | |
| 638 ], | |
| 639 ['OS=="android"', { | |
| 640 'defines': [ | |
| 641 'CAN_USE_VFP_INSTRUCTIONS', | |
| 642 ], | |
| 643 'sources': [ | |
| 644 '../../src/platform-posix.cc', | |
| 645 ], | |
| 646 'conditions': [ | |
| 647 ['host_os=="mac"', { | |
| 648 'target_conditions': [ | |
| 649 ['_toolset=="host"', { | |
| 650 'sources': [ | |
| 651 '../../src/platform-macos.cc' | |
| 652 ] | |
| 653 }, { | |
| 654 'sources': [ | |
| 655 '../../src/platform-linux.cc' | |
| 656 ] | |
| 657 }], | |
| 658 ], | |
| 659 }, { | 651 }, { |
| 660 'sources': [ | 652 'sources': [ |
| 661 '../../src/platform-linux.cc' | 653 '../../src/platform-linux.cc' |
| 662 ] | 654 ] |
| 663 }], | 655 }], |
| 664 ], | 656 ], |
| 665 }, | 657 }, { |
| 666 ], | |
| 667 ['OS=="freebsd"', { | |
| 668 'link_settings': { | |
| 669 'libraries': [ | |
| 670 '-L/usr/local/lib -lexecinfo', | |
| 671 ]}, | |
| 672 'sources': [ | 658 'sources': [ |
| 673 '../../src/platform-freebsd.cc', | 659 '../../src/platform-linux.cc' |
| 674 '../../src/platform-posix.cc' | 660 ] |
| 675 ], | 661 }], |
| 676 } | 662 ], |
| 677 ], | 663 }, |
| 678 ['OS=="openbsd"', { | 664 ], |
| 679 'link_settings': { | 665 ['OS=="freebsd"', { |
| 680 'libraries': [ | 666 'link_settings': { |
| 681 '-L/usr/local/lib -lexecinfo', | 667 'libraries': [ |
| 682 ]}, | 668 '-L/usr/local/lib -lexecinfo', |
| 683 'sources': [ | 669 ]}, |
| 684 '../../src/platform-openbsd.cc', | 670 'sources': [ |
| 685 '../../src/platform-posix.cc' | 671 '../../src/platform-freebsd.cc', |
| 686 ], | 672 '../../src/platform-posix.cc' |
| 687 } | 673 ], |
| 688 ], | 674 } |
| 689 ['OS=="netbsd"', { | 675 ], |
| 690 'link_settings': { | 676 ['OS=="openbsd"', { |
| 691 'libraries': [ | 677 'link_settings': { |
| 692 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', | 678 'libraries': [ |
| 693 ]}, | 679 '-L/usr/local/lib -lexecinfo', |
| 694 'sources': [ | 680 ]}, |
| 695 '../../src/platform-openbsd.cc', | 681 'sources': [ |
| 696 '../../src/platform-posix.cc' | 682 '../../src/platform-openbsd.cc', |
| 697 ], | 683 '../../src/platform-posix.cc' |
| 698 } | 684 ], |
| 699 ], | 685 } |
| 700 ['OS=="solaris"', { | 686 ], |
| 701 'link_settings': { | 687 ['OS=="netbsd"', { |
| 702 'libraries': [ | 688 'link_settings': { |
| 703 '-lsocket -lnsl', | 689 'libraries': [ |
| 704 ]}, | 690 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', |
| 705 'sources': [ | 691 ]}, |
| 706 '../../src/platform-solaris.cc', | 692 'sources': [ |
| 707 '../../src/platform-posix.cc', | 693 '../../src/platform-openbsd.cc', |
| 708 ], | 694 '../../src/platform-posix.cc' |
| 709 } | 695 ], |
| 710 ], | 696 } |
| 711 ['OS=="mac"', { | 697 ], |
| 712 'sources': [ | 698 ['OS=="solaris"', { |
| 713 '../../src/platform-macos.cc', | 699 'link_settings': { |
| 714 '../../src/platform-posix.cc' | 700 'libraries': [ |
| 715 ]}, | 701 '-lsocket -lnsl', |
| 716 ], | 702 ]}, |
| 717 ['OS=="win"', { | 703 'sources': [ |
| 704 '../../src/platform-solaris.cc', |
| 705 '../../src/platform-posix.cc', |
| 706 ], |
| 707 } |
| 708 ], |
| 709 ['OS=="mac"', { |
| 710 'sources': [ |
| 711 '../../src/platform-macos.cc', |
| 712 '../../src/platform-posix.cc' |
| 713 ]}, |
| 714 ], |
| 715 ['OS=="win"', { |
| 716 'variables': { |
| 717 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
| 718 }, |
| 719 'conditions': [ |
| 720 ['gyp_generators=="make"', { |
| 718 'variables': { | 721 'variables': { |
| 719 'gyp_generators': '<!(echo $GYP_GENERATORS)', | 722 'build_env': '<!(uname -o)', |
| 720 }, | 723 }, |
| 721 'conditions': [ | 724 'conditions': [ |
| 722 ['gyp_generators=="make"', { | 725 ['build_env=="Cygwin"', { |
| 723 'variables': { | 726 'sources': [ |
| 724 'build_env': '<!(uname -o)', | 727 '../../src/platform-cygwin.cc', |
| 725 }, | 728 '../../src/platform-posix.cc', |
| 726 'conditions': [ | |
| 727 ['build_env=="Cygwin"', { | |
| 728 'sources': [ | |
| 729 '../../src/platform-cygwin.cc', | |
| 730 '../../src/platform-posix.cc', | |
| 731 ], | |
| 732 }, { | |
| 733 'sources': [ | |
| 734 '../../src/platform-win32.cc', | |
| 735 '../../src/win32-math.h', | |
| 736 '../../src/win32-math.cc', | |
| 737 ], | |
| 738 }], | |
| 739 ], | 729 ], |
| 740 'link_settings': { | |
| 741 'libraries': [ '-lwinmm', '-lws2_32' ], | |
| 742 }, | |
| 743 }, { | 730 }, { |
| 744 'sources': [ | 731 'sources': [ |
| 745 '../../src/platform-win32.cc', | 732 '../../src/platform-win32.cc', |
| 746 '../../src/win32-math.h', | 733 '../../src/win32-math.h', |
| 747 '../../src/win32-math.cc', | 734 '../../src/win32-math.cc', |
| 748 ], | 735 ], |
| 749 'msvs_disabled_warnings': [4351, 4355, 4800], | |
| 750 'link_settings': { | |
| 751 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], | |
| 752 }, | |
| 753 }], | 736 }], |
| 754 ], | 737 ], |
| 738 'link_settings': { |
| 739 'libraries': [ '-lwinmm', '-lws2_32' ], |
| 740 }, |
| 741 }, { |
| 742 'sources': [ |
| 743 '../../src/platform-win32.cc', |
| 744 '../../src/win32-math.h', |
| 745 '../../src/win32-math.cc', |
| 746 ], |
| 747 'msvs_disabled_warnings': [4351, 4355, 4800], |
| 748 'link_settings': { |
| 749 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], |
| 750 }, |
| 755 }], | 751 }], |
| 756 ['component=="shared_library"', { | 752 ], |
| 757 'defines': [ | 753 }], |
| 758 'BUILDING_V8_SHARED', | 754 ['component=="shared_library"', { |
| 759 'V8_SHARED', | 755 'defines': [ |
| 760 ], | 756 'BUILDING_V8_SHARED', |
| 761 }], | 757 'V8_SHARED', |
| 762 ['v8_postmortem_support=="true"', { | 758 ], |
| 763 'sources': [ | 759 }], |
| 764 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', | 760 ['v8_postmortem_support=="true"', { |
| 765 ] | 761 'sources': [ |
| 766 }], | 762 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', |
| 763 ] |
| 764 }], |
| 765 ], |
| 766 }, |
| 767 { |
| 768 'target_name': 'js2c', |
| 769 'type': 'none', |
| 770 'conditions': [ |
| 771 ['want_separate_host_toolset==1', { |
| 772 'toolsets': ['host'], |
| 773 }, { |
| 774 'toolsets': ['target'], |
| 775 }], |
| 776 ], |
| 777 'variables': { |
| 778 'library_files': [ |
| 779 '../../src/runtime.js', |
| 780 '../../src/v8natives.js', |
| 781 '../../src/array.js', |
| 782 '../../src/string.js', |
| 783 '../../src/uri.js', |
| 784 '../../src/math.js', |
| 785 '../../src/messages.js', |
| 786 '../../src/apinatives.js', |
| 787 '../../src/debug-debugger.js', |
| 788 '../../src/mirror-debugger.js', |
| 789 '../../src/liveedit-debugger.js', |
| 790 '../../src/date.js', |
| 791 '../../src/json.js', |
| 792 '../../src/regexp.js', |
| 793 '../../src/macros.py', |
| 794 ], |
| 795 'experimental_library_files': [ |
| 796 '../../src/macros.py', |
| 797 '../../src/symbol.js', |
| 798 '../../src/proxy.js', |
| 799 '../../src/collection.js', |
| 800 '../../src/object-observe.js', |
| 801 '../../src/typedarray.js', |
| 802 '../../src/generator.js' |
| 803 ], |
| 804 }, |
| 805 'actions': [ |
| 806 { |
| 807 'action_name': 'js2c', |
| 808 'inputs': [ |
| 809 '../../tools/js2c.py', |
| 810 '<@(library_files)', |
| 811 ], |
| 812 'outputs': [ |
| 813 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 814 ], |
| 815 'action': [ |
| 816 'python', |
| 817 '../../tools/js2c.py', |
| 818 '<@(_outputs)', |
| 819 'CORE', |
| 820 '<(v8_compress_startup_data)', |
| 821 '<@(library_files)' |
| 767 ], | 822 ], |
| 768 }, | 823 }, |
| 769 { | 824 { |
| 770 'target_name': 'js2c', | 825 'action_name': 'js2c_experimental', |
| 771 'type': 'none', | 826 'inputs': [ |
| 772 'conditions': [ | 827 '../../tools/js2c.py', |
| 773 ['want_separate_host_toolset==1', { | 828 '<@(experimental_library_files)', |
| 774 'toolsets': ['host'], | 829 ], |
| 775 }, { | 830 'outputs': [ |
| 776 'toolsets': ['target'], | 831 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 777 }], | 832 ], |
| 778 ], | 833 'action': [ |
| 779 'variables': { | 834 'python', |
| 780 'library_files': [ | 835 '../../tools/js2c.py', |
| 781 '../../src/runtime.js', | 836 '<@(_outputs)', |
| 782 '../../src/v8natives.js', | 837 'EXPERIMENTAL', |
| 783 '../../src/array.js', | 838 '<(v8_compress_startup_data)', |
| 784 '../../src/string.js', | 839 '<@(experimental_library_files)' |
| 785 '../../src/uri.js', | |
| 786 '../../src/math.js', | |
| 787 '../../src/messages.js', | |
| 788 '../../src/apinatives.js', | |
| 789 '../../src/debug-debugger.js', | |
| 790 '../../src/mirror-debugger.js', | |
| 791 '../../src/liveedit-debugger.js', | |
| 792 '../../src/date.js', | |
| 793 '../../src/json.js', | |
| 794 '../../src/regexp.js', | |
| 795 '../../src/macros.py', | |
| 796 ], | |
| 797 'experimental_library_files': [ | |
| 798 '../../src/macros.py', | |
| 799 '../../src/symbol.js', | |
| 800 '../../src/proxy.js', | |
| 801 '../../src/collection.js', | |
| 802 '../../src/object-observe.js', | |
| 803 '../../src/typedarray.js', | |
| 804 '../../src/generator.js' | |
| 805 ], | |
| 806 }, | |
| 807 'actions': [ | |
| 808 { | |
| 809 'action_name': 'js2c', | |
| 810 'inputs': [ | |
| 811 '../../tools/js2c.py', | |
| 812 '<@(library_files)', | |
| 813 ], | |
| 814 'outputs': [ | |
| 815 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | |
| 816 ], | |
| 817 'action': [ | |
| 818 'python', | |
| 819 '../../tools/js2c.py', | |
| 820 '<@(_outputs)', | |
| 821 'CORE', | |
| 822 '<(v8_compress_startup_data)', | |
| 823 '<@(library_files)' | |
| 824 ], | |
| 825 }, | |
| 826 { | |
| 827 'action_name': 'js2c_experimental', | |
| 828 'inputs': [ | |
| 829 '../../tools/js2c.py', | |
| 830 '<@(experimental_library_files)', | |
| 831 ], | |
| 832 'outputs': [ | |
| 833 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | |
| 834 ], | |
| 835 'action': [ | |
| 836 'python', | |
| 837 '../../tools/js2c.py', | |
| 838 '<@(_outputs)', | |
| 839 'EXPERIMENTAL', | |
| 840 '<(v8_compress_startup_data)', | |
| 841 '<@(experimental_library_files)' | |
| 842 ], | |
| 843 }, | |
| 844 ], | 840 ], |
| 845 }, | 841 }, |
| 846 { | 842 ], |
| 847 'target_name': 'postmortem-metadata', | 843 }, |
| 848 'type': 'none', | 844 { |
| 849 'variables': { | 845 'target_name': 'postmortem-metadata', |
| 850 'heapobject_files': [ | 846 'type': 'none', |
| 851 '../../src/objects.h', | 847 'variables': { |
| 852 '../../src/objects-inl.h', | 848 'heapobject_files': [ |
| 853 ], | 849 '../../src/objects.h', |
| 854 }, | 850 '../../src/objects-inl.h', |
| 855 'actions': [ | 851 ], |
| 856 { | 852 }, |
| 857 'action_name': 'gen-postmortem-metadata', | 853 'actions': [ |
| 858 'inputs': [ | 854 { |
| 859 '../../tools/gen-postmortem-metadata.py', | 855 'action_name': 'gen-postmortem-metadata', |
| 860 '<@(heapobject_files)', | 856 'inputs': [ |
| 861 ], | 857 '../../tools/gen-postmortem-metadata.py', |
| 862 'outputs': [ | 858 '<@(heapobject_files)', |
| 863 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', | 859 ], |
| 864 ], | 860 'outputs': [ |
| 865 'action': [ | 861 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', |
| 866 'python', | 862 ], |
| 867 '../../tools/gen-postmortem-metadata.py', | 863 'action': [ |
| 868 '<@(_outputs)', | 864 'python', |
| 869 '<@(heapobject_files)' | 865 '../../tools/gen-postmortem-metadata.py', |
| 870 ] | 866 '<@(_outputs)', |
| 871 } | 867 '<@(heapobject_files)' |
| 872 ] | 868 ] |
| 873 }, | 869 } |
| 874 { | 870 ] |
| 875 'target_name': 'mksnapshot.<(v8_target_arch)', | 871 }, |
| 876 'type': 'executable', | 872 { |
| 877 'dependencies': [ | 873 'target_name': 'mksnapshot.<(v8_target_arch)', |
| 878 'v8_base.<(v8_target_arch)', | 874 'type': 'executable', |
| 879 'v8_nosnapshot.<(v8_target_arch)', | 875 'dependencies': [ |
| 880 ], | 876 'v8_base.<(v8_target_arch)', |
| 881 'include_dirs+': [ | 877 'v8_nosnapshot.<(v8_target_arch)', |
| 882 '../../src', | 878 ], |
| 883 ], | 879 'include_dirs+': [ |
| 884 'sources': [ | 880 '../../src', |
| 885 '../../src/mksnapshot.cc', | 881 ], |
| 886 ], | 882 'sources': [ |
| 887 'conditions': [ | 883 '../../src/mksnapshot.cc', |
| 888 ['want_separate_host_toolset==1', { | 884 ], |
| 889 'toolsets': ['host'], | 885 'conditions': [ |
| 890 }, { | 886 ['want_separate_host_toolset==1', { |
| 891 'toolsets': ['target'], | 887 'toolsets': ['host'], |
| 892 }], | 888 }, { |
| 893 ['v8_compress_startup_data=="bz2"', { | 889 'toolsets': ['target'], |
| 894 'libraries': [ | 890 }], |
| 895 '-lbz2', | 891 ['v8_compress_startup_data=="bz2"', { |
| 896 ] | 892 'libraries': [ |
| 897 }], | 893 '-lbz2', |
| 898 ], | 894 ] |
| 899 }, | 895 }], |
| 900 { | 896 ], |
| 901 'target_name': 'v8_shell', | 897 }, |
| 902 'type': 'executable', | 898 { |
| 903 'dependencies': [ | 899 'target_name': 'v8_shell', |
| 904 'v8' | 900 'type': 'executable', |
| 905 ], | 901 'dependencies': [ |
| 906 'sources': [ | 902 'v8' |
| 907 '../../samples/shell.cc', | 903 ], |
| 908 ], | 904 'sources': [ |
| 909 'conditions': [ | 905 '../../samples/shell.cc', |
| 910 ['want_separate_host_toolset==1', { | 906 ], |
| 911 'toolsets': ['host'], | 907 'conditions': [ |
| 912 }, { | 908 ['want_separate_host_toolset==1', { |
| 913 'toolsets': ['target'], | 909 'toolsets': ['host'], |
| 914 }], | 910 }, { |
| 915 ['OS=="win"', { | 911 'toolsets': ['target'], |
| 916 # This could be gotten by not setting chromium_code, if that's OK. | 912 }], |
| 917 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 913 ['OS=="win"', { |
| 918 }], | 914 # This could be gotten by not setting chromium_code, if that's OK. |
| 919 ['v8_compress_startup_data=="bz2"', { | 915 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 920 'libraries': [ | 916 }], |
| 921 '-lbz2', | 917 ['v8_compress_startup_data=="bz2"', { |
| 922 ] | 918 'libraries': [ |
| 923 }], | 919 '-lbz2', |
| 924 ], | 920 ] |
| 925 }, | 921 }], |
| 926 ], | 922 ], |
| 927 }, { # use_system_v8 != 0 | 923 }, |
| 928 'targets': [ | |
| 929 { | |
| 930 'target_name': 'v8', | |
| 931 'type': 'none', | |
| 932 'conditions': [ | |
| 933 ['want_separate_host_toolset==1', { | |
| 934 'toolsets': ['host', 'target'], | |
| 935 }, { | |
| 936 'toolsets': ['target'], | |
| 937 }], | |
| 938 ], | |
| 939 'variables': { | |
| 940 'shim_headers_path': '<(SHARED_INTERMEDIATE_DIR)/shim_headers/<(_tar
get_name)/<(_toolset)', | |
| 941 }, | |
| 942 'include_dirs++': [ | |
| 943 '<(shim_headers_path)', | |
| 944 ], | |
| 945 'all_dependent_settings': { | |
| 946 'include_dirs+++': [ | |
| 947 '<(shim_headers_path)', | |
| 948 ], | |
| 949 }, | |
| 950 'actions': [ | |
| 951 { | |
| 952 'variables': { | |
| 953 'generator_path': '../../../tools/generate_shim_headers/generate
_shim_headers.py', | |
| 954 'generator_args': [ | |
| 955 '--headers-root', '../../include', | |
| 956 '--output-directory', '<(shim_headers_path)', | |
| 957 'v8-debug.h', | |
| 958 'v8-preparser.h', | |
| 959 'v8-profiler.h', | |
| 960 'v8-testing.h', | |
| 961 'v8.h', | |
| 962 'v8stdint.h', | |
| 963 ], | |
| 964 }, | |
| 965 'action_name': 'generate_<(_target_name)_shim_headers', | |
| 966 'inputs': [ | |
| 967 '<(generator_path)', | |
| 968 ], | |
| 969 'outputs': [ | |
| 970 '<!@pymod_do_main(generate_shim_headers <@(generator_args) --out
puts)', | |
| 971 ], | |
| 972 'action': ['python', | |
| 973 '<(generator_path)', | |
| 974 '<@(generator_args)', | |
| 975 '--generate', | |
| 976 ], | |
| 977 'message': 'Generating <(_target_name) shim headers.', | |
| 978 }, | |
| 979 ], | |
| 980 'link_settings': { | |
| 981 'libraries': [ | |
| 982 '-lv8', | |
| 983 ], | |
| 984 }, | |
| 985 }, | |
| 986 { | |
| 987 'target_name': 'v8_shell', | |
| 988 'type': 'none', | |
| 989 'conditions': [ | |
| 990 ['want_separate_host_toolset==1', { | |
| 991 'toolsets': ['host'], | |
| 992 }, { | |
| 993 'toolsets': ['target'], | |
| 994 }], | |
| 995 ], | |
| 996 'dependencies': [ | |
| 997 'v8' | |
| 998 ], | |
| 999 }, | |
| 1000 ], | |
| 1001 }], | |
| 1002 ], | 924 ], |
| 1003 } | 925 } |
| OLD | NEW |