| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # TODO(mark): Upstream this file to v8. | 5 # TODO(mark): Upstream this file to v8. |
| 6 { | 6 { |
| 7 'variables': { | 7 'variables': { |
| 8 'chromium_code': 1, | 8 'chromium_code': 1, |
| 9 'base_source_files': [ | 9 'base_source_files': [ |
| 10 '../../v8/src/third_party/dtoa/dtoa.c', | 10 '../../v8/src/third_party/dtoa/dtoa.c', |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 [ 'OS=="mac"', { | 445 [ 'OS=="mac"', { |
| 446 'link_settings': { 'libraries': [ | 446 'link_settings': { 'libraries': [ |
| 447 '$(SDKROOT)/usr/lib/libreadline.dylib' | 447 '$(SDKROOT)/usr/lib/libreadline.dylib' |
| 448 ]}, | 448 ]}, |
| 449 }], | 449 }], |
| 450 [ 'OS=="win"', { | 450 [ 'OS=="win"', { |
| 451 'sources!': [ '../../v8/src/d8-readline.cc' ], | 451 'sources!': [ '../../v8/src/d8-readline.cc' ], |
| 452 }], | 452 }], |
| 453 ], | 453 ], |
| 454 }, | 454 }, |
| 455 ], |
| 455 | 456 |
| 457 # TODO(sgk): temporarily disable the arm targets on Linux while |
| 458 # we work out how to refactor the generator and/or add configuration |
| 459 # settings to the .gyp file to handle building both variants in |
| 460 # the same output directory. |
| 461 'conditions': [ ['OS!="linux"', { 'targets': [ |
| 456 # ARM targets, to test ARM code generation. These use an ARM simulator | 462 # ARM targets, to test ARM code generation. These use an ARM simulator |
| 457 # (src/simulator-arm.cc). The ARM targets are not snapshot-enabled. | 463 # (src/simulator-arm.cc). The ARM targets are not snapshot-enabled. |
| 458 { | 464 { |
| 459 'target_name': 'v8_arm', | 465 'target_name': 'v8_arm', |
| 460 'type': 'static_library', | 466 'type': 'static_library', |
| 461 'dependencies': [ | 467 'dependencies': [ |
| 462 'js2c', | 468 'js2c', |
| 463 ], | 469 ], |
| 464 'defines': [ | 470 'defines': [ |
| 465 'ARM', | 471 'ARM', |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 [ 'OS=="mac"', { | 547 [ 'OS=="mac"', { |
| 542 'link_settings': { 'libraries': [ | 548 'link_settings': { 'libraries': [ |
| 543 '$(SDKROOT)/usr/lib/libreadline.dylib' | 549 '$(SDKROOT)/usr/lib/libreadline.dylib' |
| 544 ]}, | 550 ]}, |
| 545 }], | 551 }], |
| 546 [ 'OS=="win"', { | 552 [ 'OS=="win"', { |
| 547 'sources!': [ '../../v8/src/d8-readline.cc' ], | 553 'sources!': [ '../../v8/src/d8-readline.cc' ], |
| 548 }], | 554 }], |
| 549 ], | 555 ], |
| 550 }, | 556 }, |
| 557 ]}], # OS != "linux" (temporary, TODO(sgk)) |
| 551 ], | 558 ], |
| 552 } | 559 } |
| OLD | NEW |