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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
| 11 '../native_client/build/untrusted.gypi', | |
|
brettw
2012/06/04 19:20:51
Various other components like some random ChromeOS
| |
| 11 'base.gypi', | 12 'base.gypi', |
| 12 ], | 13 ], |
| 13 'targets': [ | 14 'targets': [ |
| 14 { | 15 { |
| 15 'target_name': 'base_i18n', | 16 'target_name': 'base_i18n', |
| 16 'type': '<(component)', | 17 'type': '<(component)', |
| 17 'variables': { | 18 'variables': { |
| 18 'enable_wexit_time_destructors': 1, | 19 'enable_wexit_time_destructors': 1, |
| 19 'optimize': 'max', | 20 'optimize': 'max', |
| 20 }, | 21 }, |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 575 ], | 576 ], |
| 576 'msvs_settings': { | 577 'msvs_settings': { |
| 577 'VCLinkerTool': { | 578 'VCLinkerTool': { |
| 578 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 579 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 579 }, | 580 }, |
| 580 }, | 581 }, |
| 581 }, | 582 }, |
| 582 ], | 583 ], |
| 583 }], | 584 }], |
| 584 ['OS=="mac"', { | 585 ['OS=="mac"', { |
| 585 'targets': [ | 586 'targets': [ |
| 586 { | 587 { |
| 587 'target_name': 'closure_blocks_leopard_compat', | 588 'target_name': 'closure_blocks_leopard_compat', |
| 588 'sources': [ | 589 'sources': [ |
| 589 'mac/closure_blocks_leopard_compat.h', | 590 'mac/closure_blocks_leopard_compat.h', |
| 590 ], | 591 ], |
| 591 'conditions': [ | 592 'conditions': [ |
| 592 ['mac_sdk == "10.5"', { | 593 ['mac_sdk == "10.5"', { |
| 593 'type': 'shared_library', | 594 'type': 'shared_library', |
| 594 'product_name': 'closure_blocks_leopard_compat_stub', | 595 'product_name': 'closure_blocks_leopard_compat_stub', |
| 595 'variables': { | 596 'variables': { |
| 596 # This target controls stripping directly. See below. | 597 # This target controls stripping directly. See below. |
| 597 'mac_strip': 0, | 598 'mac_strip': 0, |
| 598 }, | 599 }, |
| 599 'sources': [ | 600 'sources': [ |
| 600 'mac/closure_blocks_leopard_compat.S', | 601 'mac/closure_blocks_leopard_compat.S', |
| 601 ], | 602 ], |
| 602 'xcode_settings': { | 603 'xcode_settings': { |
| 603 # These values are taken from libSystem.dylib in the 10.5 | 604 # These values are taken from libSystem.dylib in the 10.5 |
| 604 # SDK. Setting LD_DYLIB_INSTALL_NAME causes anything linked | 605 # SDK. Setting LD_DYLIB_INSTALL_NAME causes anything linked |
| 605 # against this stub library to look for the symbols it | 606 # against this stub library to look for the symbols it |
| 606 # provides in the real libSystem at runtime. When using ld | 607 # provides in the real libSystem at runtime. When using ld |
| 607 # from Xcode 4 or later (ld64-123.2 and up), giving two | 608 # from Xcode 4 or later (ld64-123.2 and up), giving two |
| 608 # libraries with the same "install name" to the linker will | 609 # libraries with the same "install name" to the linker will |
| 609 # cause it to print "ld: warning: dylibs with same install | 610 # cause it to print "ld: warning: dylibs with same install |
| 610 # name". This is harmless, and ld will behave as intended | 611 # name". This is harmless, and ld will behave as intended |
| 611 # here. | 612 # here. |
| 612 # | 613 # |
| 613 # The real library's compatibility version is used, and the | 614 # The real library's compatibility version is used, and the |
| 614 # value of the current version from the SDK is used to make | 615 # value of the current version from the SDK is used to make |
| 615 # it appear as though anything linked against this stub was | 616 # it appear as though anything linked against this stub was |
| 616 # linked against the real thing. | 617 # linked against the real thing. |
| 617 'LD_DYLIB_INSTALL_NAME': '/usr/lib/libSystem.B.dylib', | 618 'LD_DYLIB_INSTALL_NAME': '/usr/lib/libSystem.B.dylib', |
| 618 'DYLIB_COMPATIBILITY_VERSION': '1.0.0', | 619 'DYLIB_COMPATIBILITY_VERSION': '1.0.0', |
| 619 'DYLIB_CURRENT_VERSION': '111.1.4', | 620 'DYLIB_CURRENT_VERSION': '111.1.4', |
| 620 | 621 |
| 621 # Turn on stripping (yes, even in debug mode), and add the -c | 622 # Turn on stripping (yes, even in debug mode), and add the -c |
| 622 # flag. This is what produces a stub library (MH_DYLIB_STUB) | 623 # flag. This is what produces a stub library (MH_DYLIB_STUB) |
| 623 # as opposed to a dylib (MH_DYLIB). MH_DYLIB_STUB files | 624 # as opposed to a dylib (MH_DYLIB). MH_DYLIB_STUB files |
| 624 # contain symbol tables and everything else needed for | 625 # contain symbol tables and everything else needed for |
| 625 # linking, but are stripped of section contents. This is the | 626 # linking, but are stripped of section contents. This is the |
| 626 # same way that the stub libraries in Mac OS X SDKs are | 627 # same way that the stub libraries in Mac OS X SDKs are |
| 627 # created. dyld will refuse to load a stub library, so this | 628 # created. dyld will refuse to load a stub library, so this |
| 628 # provides some insurance in case anyone tries to load the | 629 # provides some insurance in case anyone tries to load the |
| 629 # stub at runtime. | 630 # stub at runtime. |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 658 'dependencies': [ | 659 'dependencies': [ |
| 659 'base_java', | 660 'base_java', |
| 660 'base_unittests', | 661 'base_unittests', |
| 661 ], | 662 ], |
| 662 'variables': { | 663 'variables': { |
| 663 'test_suite_name': 'base_unittests', | 664 'test_suite_name': 'base_unittests', |
| 664 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)', | 665 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)', |
| 665 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], | 666 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], |
| 666 }, | 667 }, |
| 667 'includes': [ '../build/apk_test.gypi' ], | 668 'includes': [ '../build/apk_test.gypi' ], |
| 668 }], | 669 }, |
| 670 ], | |
| 671 }], | |
| 672 ['disable_nacl_untrusted==0', { | |
| 673 'targets': [ | |
| 674 { | |
| 675 'target_name': 'base_untrusted', | |
| 676 'type': 'none', | |
| 677 'variables': { | |
| 678 'base_target': 1, | |
| 679 'nacl_untrusted_build': 1, | |
| 680 'nlib_target': 'libbase_untrusted.a', | |
| 681 'build_glibc': 0, | |
| 682 'build_newlib': 1, | |
| 683 }, | |
| 684 'sources!': [ | |
| 685 'file_util.cc', | |
| 686 ], | |
| 687 'dependencies': [ | |
| 688 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
| 689 '<(DEPTH)/native_client/src/untrusted/pthread/pthread.gyp:pthread_li b', | |
| 690 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib' , | |
| 691 ], | |
| 692 }, | |
| 693 ], | |
| 669 }], | 694 }], |
| 670 ], | 695 ], |
| 671 } | 696 } |
| OLD | NEW |