| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 ], | 303 ], |
| 304 }, | 304 }, |
| 305 | 305 |
| 306 # Targets to build v8 for the native architecture (ia32). | 306 # Targets to build v8 for the native architecture (ia32). |
| 307 { | 307 { |
| 308 'target_name': 'v8_base', | 308 'target_name': 'v8_base', |
| 309 'type': 'static_library', | 309 'type': 'static_library', |
| 310 'include_dirs': [ | 310 'include_dirs': [ |
| 311 '../../v8/src', | 311 '../../v8/src', |
| 312 ], | 312 ], |
| 313 'msvs_guid': 'EC8B7909-62AF-470D-A75D-E1D89C837142', |
| 313 'sources': [ | 314 'sources': [ |
| 314 '<@(base_source_files)', | 315 '<@(base_source_files)', |
| 315 ], | 316 ], |
| 316 'sources!': [ | 317 'sources!': [ |
| 317 '<@(not_base_source_files)', | 318 '<@(not_base_source_files)', |
| 318 ], | 319 ], |
| 319 'sources/': [ | 320 'sources/': [ |
| 320 ['exclude', '-arm\\.cc$'], | 321 ['exclude', '-arm\\.cc$'], |
| 321 ['exclude', 'src/platform-.*\\.cc$' ], | 322 ['exclude', 'src/platform-.*\\.cc$' ], |
| 322 ], | 323 ], |
| (...skipping 28 matching lines...) Expand all Loading... |
| 351 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc', | 352 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc', |
| 352 '../../v8/src/snapshot-empty.cc', | 353 '../../v8/src/snapshot-empty.cc', |
| 353 ], | 354 ], |
| 354 }, | 355 }, |
| 355 { | 356 { |
| 356 'target_name': 'mksnapshot', | 357 'target_name': 'mksnapshot', |
| 357 'type': 'executable', | 358 'type': 'executable', |
| 358 'dependencies': [ | 359 'dependencies': [ |
| 359 'v8_nosnapshot', | 360 'v8_nosnapshot', |
| 360 ], | 361 ], |
| 362 'msvs_guid': '865575D0-37E2-405E-8CBA-5F6C485B5A26', |
| 361 'sources': [ | 363 'sources': [ |
| 362 '../../v8/src/mksnapshot.cc', | 364 '../../v8/src/mksnapshot.cc', |
| 363 ], | 365 ], |
| 364 }, | 366 }, |
| 365 { | 367 { |
| 366 'target_name': 'v8', | 368 'target_name': 'v8', |
| 367 'type': 'static_library', | 369 'type': 'static_library', |
| 368 'dependencies': [ | 370 'dependencies': [ |
| 369 'js2c', | 371 'js2c', |
| 370 'mksnapshot', | 372 'mksnapshot', |
| 371 'v8_base', | 373 'v8_base', |
| 372 ], | 374 ], |
| 375 'msvs_guid': '21E22961-22BF-4493-BD3A-868F93DA5179', |
| 373 'actions': [ | 376 'actions': [ |
| 374 { | 377 { |
| 375 'action_name': 'mksnapshot', | 378 'action_name': 'mksnapshot', |
| 376 'inputs': [ | 379 'inputs': [ |
| 377 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 380 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
| 378 ], | 381 ], |
| 379 'outputs': [ | 382 'outputs': [ |
| 380 '<(INTERMEDIATE_DIR)/snapshot.cc', | 383 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 381 ], | 384 ], |
| 382 'action': ['<@(_inputs)', '<@(_outputs)'], | 385 'action': ['<@(_inputs)', '<@(_outputs)'], |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 '$(SDKROOT)/usr/lib/libreadline.dylib' | 533 '$(SDKROOT)/usr/lib/libreadline.dylib' |
| 531 ]}, | 534 ]}, |
| 532 }], | 535 }], |
| 533 [ 'OS=="win"', { | 536 [ 'OS=="win"', { |
| 534 'sources!': [ '../../v8/src/d8-readline.cc' ], | 537 'sources!': [ '../../v8/src/d8-readline.cc' ], |
| 535 }], | 538 }], |
| 536 ], | 539 ], |
| 537 }, | 540 }, |
| 538 ], | 541 ], |
| 539 } | 542 } |
| OLD | NEW |