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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 # RunFloat64MulAndFloat64Add1 and friends. | 422 # RunFloat64MulAndFloat64Add1 and friends. |
423 'cflags': ['-ffp-contract=off'], | 423 'cflags': ['-ffp-contract=off'], |
424 }], | 424 }], |
425 ['OS=="aix"', { | 425 ['OS=="aix"', { |
426 'ldflags': [ '-Wl,-bbigtoc' ], | 426 'ldflags': [ '-Wl,-bbigtoc' ], |
427 }], | 427 }], |
428 ['component=="shared_library"', { | 428 ['component=="shared_library"', { |
429 # cctest can't be built against a shared library, so we need to | 429 # cctest can't be built against a shared library, so we need to |
430 # depend on the underlying static target in that case. | 430 # depend on the underlying static target in that case. |
431 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], | 431 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
| 432 'defines': [ 'BUILDING_V8_SHARED', ] |
432 }, { | 433 }, { |
433 'dependencies': ['../../src/v8.gyp:v8'], | 434 'dependencies': ['../../src/v8.gyp:v8'], |
434 }], | 435 }], |
435 ], | 436 ], |
436 }, | 437 }, |
437 { | 438 { |
438 'target_name': 'resources', | 439 'target_name': 'resources', |
439 'type': 'none', | 440 'type': 'none', |
440 'variables': { | 441 'variables': { |
441 'file_list': [ | 442 'file_list': [ |
(...skipping 30 matching lines...) Expand all Loading... |
472 { | 473 { |
473 'target_name': 'generate-bytecode-expectations', | 474 'target_name': 'generate-bytecode-expectations', |
474 'type': 'executable', | 475 'type': 'executable', |
475 'dependencies': [ | 476 'dependencies': [ |
476 '../../src/v8.gyp:v8_libplatform', | 477 '../../src/v8.gyp:v8_libplatform', |
477 ], | 478 ], |
478 'conditions': [ | 479 'conditions': [ |
479 ['component=="shared_library"', { | 480 ['component=="shared_library"', { |
480 # Same as cctest, we need to depend on the underlying static target. | 481 # Same as cctest, we need to depend on the underlying static target. |
481 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], | 482 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
| 483 'defines': [ 'BUILDING_V8_SHARED', ] |
482 }, { | 484 }, { |
483 'dependencies': ['../../src/v8.gyp:v8'], | 485 'dependencies': ['../../src/v8.gyp:v8'], |
484 }], | 486 }], |
485 ], | 487 ], |
486 'include_dirs+': [ | 488 'include_dirs+': [ |
487 '../..', | 489 '../..', |
488 ], | 490 ], |
489 'sources': [ | 491 'sources': [ |
490 'interpreter/bytecode-expectations-printer.cc', | 492 'interpreter/bytecode-expectations-printer.cc', |
491 'interpreter/bytecode-expectations-printer.h', | 493 'interpreter/bytecode-expectations-printer.h', |
(...skipping 27 matching lines...) Expand all Loading... |
519 '../../gypfiles/isolate.gypi', | 521 '../../gypfiles/isolate.gypi', |
520 ], | 522 ], |
521 'sources': [ | 523 'sources': [ |
522 'cctest.isolate', | 524 'cctest.isolate', |
523 ], | 525 ], |
524 }, | 526 }, |
525 ], | 527 ], |
526 }], | 528 }], |
527 ], | 529 ], |
528 } | 530 } |
OLD | NEW |