Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'target_defaults': { | 6 'target_defaults': { |
| 7 'variables': { | 7 'variables': { |
| 8 'base_target': 0, | 8 'base_target': 0, |
| 9 }, | 9 }, |
| 10 'target_conditions': [ | 10 'target_conditions': [ |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 324 'synchronization/condition_variable_win.cc', | 324 'synchronization/condition_variable_win.cc', |
| 325 'synchronization/lock.cc', | 325 'synchronization/lock.cc', |
| 326 'synchronization/lock.h', | 326 'synchronization/lock.h', |
| 327 'synchronization/lock_impl.h', | 327 'synchronization/lock_impl.h', |
| 328 'synchronization/lock_impl_posix.cc', | 328 'synchronization/lock_impl_posix.cc', |
| 329 'synchronization/lock_impl_win.cc', | 329 'synchronization/lock_impl_win.cc', |
| 330 'synchronization/spin_wait.h', | 330 'synchronization/spin_wait.h', |
| 331 'synchronization/waitable_event.h', | 331 'synchronization/waitable_event.h', |
| 332 'synchronization/waitable_event_posix.cc', | 332 'synchronization/waitable_event_posix.cc', |
| 333 'synchronization/waitable_event_watcher.h', | 333 'synchronization/waitable_event_watcher.h', |
| 334 'synchronization/waitable_event_watcher_posix.cc', | 334 'synchronization/waitable_event_watcher_posix.cc', |
| 335 'synchronization/waitable_event_watcher_win.cc', | 335 'synchronization/waitable_event_watcher_win.cc', |
| 336 'synchronization/waitable_event_win.cc', | 336 'synchronization/waitable_event_win.cc', |
| 337 'system_monitor/system_monitor.cc', | 337 'system_monitor/system_monitor.cc', |
| 338 'system_monitor/system_monitor.h', | 338 'system_monitor/system_monitor.h', |
| 339 'system_monitor/system_monitor_android.cc', | 339 'system_monitor/system_monitor_android.cc', |
| 340 'system_monitor/system_monitor_mac.mm', | 340 'system_monitor/system_monitor_mac.mm', |
| 341 'system_monitor/system_monitor_posix.cc', | 341 'system_monitor/system_monitor_posix.cc', |
| 342 'system_monitor/system_monitor_win.cc', | 342 'system_monitor/system_monitor_win.cc', |
| 343 'sys_byteorder.h', | 343 'sys_byteorder.h', |
| 344 'sys_info.h', | 344 'sys_info.h', |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 474 'include_dirs': [ | 474 'include_dirs': [ |
| 475 '..', | 475 '..', |
| 476 ], | 476 ], |
| 477 # These warnings are needed for the files in third_party\dmg_fp. | 477 # These warnings are needed for the files in third_party\dmg_fp. |
| 478 'msvs_disabled_warnings': [ | 478 'msvs_disabled_warnings': [ |
| 479 4244, 4554, 4018, 4102, | 479 4244, 4554, 4018, 4102, |
| 480 ], | 480 ], |
| 481 'mac_framework_dirs': [ | 481 'mac_framework_dirs': [ |
| 482 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks', | 482 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks', |
| 483 ], | 483 ], |
| 484 'conditions': [ | 484 'target_conditions': [ |
| 485 [ 'use_glib==0', { | 485 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', { |
| 486 'sources/': [ | 486 'sources/': [ |
| 487 ['exclude', '^nix/'], | 487 ['exclude', '^nix/'], |
| 488 ], | 488 ], |
| 489 'sources!': [ | 489 'sources!': [ |
| 490 'atomicops_internals_x86_gcc.cc', | 490 'atomicops_internals_x86_gcc.cc', |
| 491 'message_pump_glib.cc', | 491 'message_pump_glib.cc', |
| 492 'message_pump_aurax11.cc', | 492 'message_pump_aurax11.cc', |
| 493 ], | 493 ], |
| 494 }], | 494 }], |
| 495 [ 'toolkit_uses_gtk==0', { | 495 ['<(toolkit_uses_gtk)==0 or >(nacl_untrusted_build)==1', { |
| 496 'sources!': [ 'message_pump_gtk.cc', ], | 496 'sources!': ['message_pump_gtk.cc'], |
| 497 }], | 497 }], |
| 498 [ 'OS != "linux" and os_bsd != 1', { | 498 ['(OS != "linux" and <(os_bsd) != 1) or >(nacl_untrusted_build)==1', { |
| 499 'sources!': [ | 499 'sources!': [ |
| 500 # Not automatically excluded by the *linux.cc rules. | 500 # Not automatically excluded by the *linux.cc rules. |
| 501 'linux_util.cc', | 501 'linux_util.cc', |
| 502 ], | 502 ], |
| 503 }, | 503 }, |
| 504 ], | 504 ], |
| 505 [ 'OS == "android"', { | 505 ['>(nacl_untrusted_build)==1', { |
| 506 'sources!': [ | |
| 507 'file_util.cc', | |
| 508 'files/file_path_watcher_kqueue.cc', | |
| 509 ], | |
| 510 }], | |
| 511 ['OS == "android" and >(nacl_untrusted_build)==0', { | |
| 506 'sources!': [ | 512 'sources!': [ |
| 507 'files/file_path_watcher_kqueue.cc', | 513 'files/file_path_watcher_kqueue.cc', |
| 508 'system_monitor/system_monitor_posix.cc', | 514 'system_monitor/system_monitor_posix.cc', |
| 509 ], | 515 ], |
| 510 'sources/': [ | 516 'sources/': [ |
| 511 ['include', '^process_util_linux\\.cc$'], | 517 ['include', '^process_util_linux\\.cc$'], |
| 512 ['include', '^sys_info_linux\\.cc$'], | 518 ['include', '^sys_info_linux\\.cc$'], |
| 513 ['include', '^sys_string_conversions_posix\\.cc$'], | 519 ['include', '^sys_string_conversions_posix\\.cc$'], |
| 514 ['include', '^worker_pool_linux\\.cc$'], | 520 ['include', '^worker_pool_linux\\.cc$'], |
| 515 ], | 521 ], |
| 516 }], | 522 }], |
| 517 [ 'OS != "mac"', { | 523 ['OS != "mac" or >(nacl_untrusted_build)==1', { |
| 518 'sources!': [ | 524 'sources!': [ |
| 519 'mac/scoped_aedesc.h' | 525 'mac/scoped_aedesc.h' |
| 520 ], | 526 ], |
| 521 }], | 527 }], |
| 522 # For now, just test the *BSD platforms enough to exclude them. | 528 # For now, just test the *BSD platforms enough to exclude them. |
| 523 # Subsequent changes will include them further. | 529 # Subsequent changes will include them further. |
| 524 [ 'OS != "freebsd"', { | 530 ['OS != "freebsd" or >(nacl_untrusted_build)==1', { |
| 525 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], | 531 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
| 526 }, | 532 }, |
| 527 ], | 533 ], |
| 528 [ 'OS != "openbsd"', { | 534 ['OS != "openbsd" or >(nacl_untrusted_build)==1', { |
| 529 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], | 535 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], |
| 530 }, | 536 }, |
| 531 ], | 537 ], |
| 532 ['OS != "win"', { | 538 ['OS != "win" or >(nacl_untrusted_build)==1', { |
| 533 'sources/': [ ['exclude', '^win/'] ], | 539 'sources/': [ ['exclude', '^win/'] ], |
| 534 }, | 540 }, |
| 535 ], | 541 ], |
| 536 ['OS != "android"', { | 542 ['OS != "android" or >(nacl_untrusted_build)==1', { |
|
Xianzhu
2012/08/14 16:49:27
The above line looks weird. Could you explain what
bbudge
2012/08/14 16:53:42
'nacl_untrusted_build' indicates that we are build
| |
| 537 'sources/': [ ['exclude', '^android/'] ], | 543 'sources/': [ ['exclude', '^android/'] ], |
| 538 }, | 544 }, |
| 539 ], | 545 ], |
| 540 [ 'OS == "win"', { | 546 ['OS == "win" and >(nacl_untrusted_build)==0', { |
| 541 'include_dirs': [ | 547 'include_dirs': [ |
| 542 '<(DEPTH)/third_party/wtl/include', | 548 '<(DEPTH)/third_party/wtl/include', |
| 543 ], | 549 ], |
| 544 'sources!': [ | 550 'sources!': [ |
| 545 'event_recorder_stubs.cc', | 551 'event_recorder_stubs.cc', |
| 546 'file_descriptor_shuffle.cc', | 552 'file_descriptor_shuffle.cc', |
| 547 'files/file_path_watcher_kqueue.cc', | 553 'files/file_path_watcher_kqueue.cc', |
| 548 'files/file_path_watcher_stub.cc', | 554 'files/file_path_watcher_stub.cc', |
| 549 'message_pump_libevent.cc', | 555 'message_pump_libevent.cc', |
| 550 # Not using sha1_win.cc because it may have caused a | 556 # Not using sha1_win.cc because it may have caused a |
| 551 # regression to page cycler moz. | 557 # regression to page cycler moz. |
| 552 'sha1_win.cc', | 558 'sha1_win.cc', |
| 553 'string16.cc', | 559 'string16.cc', |
| 554 ], | 560 ], |
| 555 },], | 561 },], |
| 556 [ 'OS == "linux"', { | 562 ['OS == "linux" and >(nacl_untrusted_build)==0', { |
| 557 'sources!': [ | 563 'sources!': [ |
| 558 'files/file_path_watcher_kqueue.cc', | 564 'files/file_path_watcher_kqueue.cc', |
| 559 'files/file_path_watcher_stub.cc', | 565 'files/file_path_watcher_stub.cc', |
| 560 ], | 566 ], |
| 561 }], | 567 }], |
| 562 [ 'OS == "mac"', { | 568 ['OS == "mac" and >(nacl_untrusted_build)==0', { |
| 563 'sources/': [ | 569 'sources/': [ |
| 564 ['exclude', '^files/file_path_watcher_stub\\.cc$'], | 570 ['exclude', '^files/file_path_watcher_stub\\.cc$'], |
| 565 ['exclude', '^base_paths_posix\\.cc$'], | 571 ['exclude', '^base_paths_posix\\.cc$'], |
| 566 ['exclude', '^native_library_posix\\.cc$'], | 572 ['exclude', '^native_library_posix\\.cc$'], |
| 567 ['exclude', '^sys_string_conversions_posix\\.cc$'], | 573 ['exclude', '^sys_string_conversions_posix\\.cc$'], |
| 568 ], | 574 ], |
| 569 }], | 575 }], |
| 570 [ 'os_bsd==1', { | 576 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', { |
| 571 'sources/': [ | 577 'sources/': [ |
| 572 ['exclude', '^files/file_path_watcher_linux\\.cc$'], | 578 ['exclude', '^files/file_path_watcher_linux\\.cc$'], |
| 573 ['exclude', '^files/file_path_watcher_stub\\.cc$'], | 579 ['exclude', '^files/file_path_watcher_stub\\.cc$'], |
| 574 ['exclude', '^file_util_linux\\.cc$'], | 580 ['exclude', '^file_util_linux\\.cc$'], |
| 575 ['exclude', '^process_linux\\.cc$'], | 581 ['exclude', '^process_linux\\.cc$'], |
| 576 ['exclude', '^process_util_linux\\.cc$'], | 582 ['exclude', '^process_util_linux\\.cc$'], |
| 577 ['exclude', '^sys_info_linux\\.cc$'], | 583 ['exclude', '^sys_info_linux\\.cc$'], |
| 578 ], | 584 ], |
| 579 }], | 585 }], |
| 580 [ 'chromeos != 1', { | 586 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { |
| 581 'sources/': [ | 587 'sources/': [ |
| 582 ['exclude', '^chromeos/'], | 588 ['exclude', '^chromeos/'], |
| 583 ], | 589 ], |
| 584 }], | 590 }], |
| 585 ], | 591 ], |
| 586 }], | 592 }], |
| 587 ], | 593 ], |
| 588 }, | 594 }, |
| 589 } | 595 } |
| OLD | NEW |