| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 '<@(base_source_files)', | 328 '<@(base_source_files)', |
| 329 ], | 329 ], |
| 330 'sources!': [ | 330 'sources!': [ |
| 331 '<@(not_base_source_files)', | 331 '<@(not_base_source_files)', |
| 332 ], | 332 ], |
| 333 'sources/': [ | 333 'sources/': [ |
| 334 ['exclude', '-arm\\.cc$'], | 334 ['exclude', '-arm\\.cc$'], |
| 335 ['exclude', 'src/platform-.*\\.cc$' ], | 335 ['exclude', 'src/platform-.*\\.cc$' ], |
| 336 ], | 336 ], |
| 337 'conditions': [ | 337 'conditions': [ |
| 338 ['OS=="linux"', {'sources/': [['include', 'src/platform-linux\\.cc$'], [
'include', 'src/platform-posix\\.cc$']]}], | 338 ['OS=="linux"', |
| 339 ['OS=="mac"', {'sources/': [['include', 'src/platform-macos\\.cc$'], ['i
nclude', 'src/platform-posix\\.cc$']]}], | 339 { |
| 340 'sources/': [ |
| 341 ['include', 'src/platform-linux\\.cc$'], |
| 342 ['include', 'src/platform-posix\\.cc$'] |
| 343 ] |
| 344 } |
| 345 ], |
| 346 ['OS=="mac"', |
| 347 { |
| 348 'sources/': [ |
| 349 ['include', 'src/platform-macos\\.cc$'], |
| 350 ['include', 'src/platform-posix\\.cc$'] |
| 351 ] |
| 352 } |
| 353 ], |
| 340 ['OS=="win"', { | 354 ['OS=="win"', { |
| 341 'sources/': [['include', 'src/platform-win32\\.cc$']], | 355 'sources/': [['include', 'src/platform-win32\\.cc$']], |
| 342 # 4355, 4800 came from common.vsprops | 356 # 4355, 4800 came from common.vsprops |
| 343 # 4018, 4244 were a per file config on dtoa-config.c | 357 # 4018, 4244 were a per file config on dtoa-config.c |
| 344 # TODO: It's probably possible and desirable to stop disabling the | 358 # TODO: It's probably possible and desirable to stop disabling the |
| 345 # dtoa-specific warnings by modifying dtoa as was done in Chromium | 359 # dtoa-specific warnings by modifying dtoa as was done in Chromium |
| 346 # r9255. Refer to that revision for details. | 360 # r9255. Refer to that revision for details. |
| 347 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], | 361 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], |
| 348 'link_settings': { | 362 'link_settings': { |
| 349 'libraries': [ '-lwinmm.lib' ], | 363 'libraries': [ '-lwinmm.lib' ], |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 'sources/': [ | 501 'sources/': [ |
| 488 ['exclude', '-ia32\\.cc$'], | 502 ['exclude', '-ia32\\.cc$'], |
| 489 ['exclude', 'src/platform-.*\\.cc$' ], | 503 ['exclude', 'src/platform-.*\\.cc$' ], |
| 490 ], | 504 ], |
| 491 'direct_dependent_settings': { | 505 'direct_dependent_settings': { |
| 492 'include_dirs': [ | 506 'include_dirs': [ |
| 493 '../../v8/include', | 507 '../../v8/include', |
| 494 ], | 508 ], |
| 495 }, | 509 }, |
| 496 'conditions': [ | 510 'conditions': [ |
| 497 ['OS=="linux"', {'sources/': [['include', 'src/platform-linux\\.cc$']]}]
, | 511 ['OS=="linux"', |
| 498 ['OS=="mac"', {'sources/': [['include', 'src/platform-macos\\.cc$']]}], | 512 { |
| 513 'sources/': [ |
| 514 ['include', 'src/platform-linux\\.cc$'], |
| 515 ['include', 'src/platform-posix\\.cc$'] |
| 516 ] |
| 517 } |
| 518 ], |
| 519 ['OS=="mac"', |
| 520 { |
| 521 'sources/': [ |
| 522 ['include', 'src/platform-macos\\.cc$'], |
| 523 ['include', 'src/platform-posix\\.cc$'] |
| 524 ] |
| 525 } |
| 526 ], |
| 499 ['OS=="win"', { | 527 ['OS=="win"', { |
| 500 'sources/': [['include', 'src/platform-win32\\.cc$']], | 528 'sources/': [['include', 'src/platform-win32\\.cc$']], |
| 501 # 4355, 4800 came from common.vsprops | 529 # 4355, 4800 came from common.vsprops |
| 502 # 4018, 4244 were a per file config on dtoa-config.c | 530 # 4018, 4244 were a per file config on dtoa-config.c |
| 503 # TODO: It's probably possible and desirable to stop disabling the | 531 # TODO: It's probably possible and desirable to stop disabling the |
| 504 # dtoa-specific warnings by modifying dtoa as was done in Chromium | 532 # dtoa-specific warnings by modifying dtoa as was done in Chromium |
| 505 # r9255. Refer to that revision for details. | 533 # r9255. Refer to that revision for details. |
| 506 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], | 534 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], |
| 507 }], | 535 }], |
| 508 ], | 536 ], |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 ]}, | 581 ]}, |
| 554 }], | 582 }], |
| 555 [ 'OS=="win"', { | 583 [ 'OS=="win"', { |
| 556 'sources!': [ '../../v8/src/d8-readline.cc' ], | 584 'sources!': [ '../../v8/src/d8-readline.cc' ], |
| 557 }], | 585 }], |
| 558 ], | 586 ], |
| 559 }, | 587 }, |
| 560 ]}], # OS != "linux" (temporary, TODO(sgk)) | 588 ]}], # OS != "linux" (temporary, TODO(sgk)) |
| 561 ], | 589 ], |
| 562 } | 590 } |
| OLD | NEW |