| 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 'base.gypi', | 11 'base.gypi', |
| 12 ], | 12 ], |
| 13 'targets': [ | 13 'targets': [ |
| 14 { | 14 { |
| 15 'target_name': 'base', | 15 'target_name': 'base', |
| 16 'type': '<(component)', | 16 'type': '<(component)', |
| 17 'toolsets': ['host', 'target'], | 17 'toolsets': ['host', 'target'], |
| 18 'variables': { | 18 'variables': { |
| 19 'base_target': 1, | 19 'base_target': 1, |
| 20 'enable_wexit_time_destructors': 1, | 20 'enable_wexit_time_destructors': 1, |
| 21 'optimize': 'max', | 21 'optimize': 'max', |
| 22 }, | 22 }, |
| 23 'dependencies': [ | 23 'dependencies': [ |
| 24 'allocator/allocator.gyp:allocator', | |
| 25 'base_debugging_flags#target', | 24 'base_debugging_flags#target', |
| 26 'base_static', | 25 'base_static', |
| 27 '../testing/gtest.gyp:gtest_prod', | 26 '../testing/gtest.gyp:gtest_prod', |
| 28 '../third_party/modp_b64/modp_b64.gyp:modp_b64', | 27 '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
| 29 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 28 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
| 30 ], | 29 ], |
| 31 # TODO(gregoryd): direct_dependent_settings should be shared with the | 30 # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 32 # 64-bit target, but it doesn't work due to a bug in gyp | 31 # 64-bit target, but it doesn't work due to a bug in gyp |
| 33 'direct_dependent_settings': { | 32 'direct_dependent_settings': { |
| 34 'include_dirs': [ | 33 'include_dirs': [ |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 }], | 754 }], |
| 756 ['use_ozone == 1', { | 755 ['use_ozone == 1', { |
| 757 'sources!': [ | 756 'sources!': [ |
| 758 'message_loop/message_pump_glib_unittest.cc', | 757 'message_loop/message_pump_glib_unittest.cc', |
| 759 ] | 758 ] |
| 760 }], | 759 }], |
| 761 ['OS == "linux"', { | 760 ['OS == "linux"', { |
| 762 'dependencies': [ | 761 'dependencies': [ |
| 763 'malloc_wrapper', | 762 'malloc_wrapper', |
| 764 ], | 763 ], |
| 765 }], | 764 'conditions': [ |
| 765 ['use_allocator!="none"', { |
| 766 'dependencies': [ |
| 767 'allocator/allocator.gyp:allocator', |
| 768 ], |
| 769 }], |
| 770 ]}, |
| 771 ], |
| 766 [ 'OS == "win" and target_arch == "x64"', { | 772 [ 'OS == "win" and target_arch == "x64"', { |
| 767 'sources': [ | 773 'sources': [ |
| 768 'profiler/win32_stack_frame_unwinder_unittest.cc', | 774 'profiler/win32_stack_frame_unwinder_unittest.cc', |
| 769 ], | 775 ], |
| 770 'dependencies': [ | 776 'dependencies': [ |
| 771 'base_profiler_test_support_library', | 777 'base_profiler_test_support_library', |
| 772 ], | 778 ], |
| 773 }], | 779 }], |
| 774 ['OS == "win"', { | 780 ['OS == "win"', { |
| 775 'sources!': [ | 781 'sources!': [ |
| 776 'file_descriptor_shuffle_unittest.cc', | 782 'file_descriptor_shuffle_unittest.cc', |
| 777 'files/dir_reader_posix_unittest.cc', | 783 'files/dir_reader_posix_unittest.cc', |
| 778 'message_loop/message_pump_libevent_unittest.cc', | 784 'message_loop/message_pump_libevent_unittest.cc', |
| 779 'threading/worker_pool_posix_unittest.cc', | 785 'threading/worker_pool_posix_unittest.cc', |
| 780 ], | 786 ], |
| 781 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 787 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 782 'msvs_disabled_warnings': [ | 788 'msvs_disabled_warnings': [ |
| 783 4267, | 789 4267, |
| 784 ], | 790 ], |
| 785 'conditions': [ | 791 'conditions': [ |
| 792 # This is needed so base_unittests uses the allocator shim, as |
| 793 # SecurityTest.MemoryAllocationRestriction* tests are dependent |
| 794 # on tcmalloc. |
| 795 # TODO(wfh): crbug.com/246278 Move tcmalloc specific tests into |
| 796 # their own test suite. |
| 797 ['win_use_allocator_shim==1', { |
| 798 'dependencies': [ |
| 799 'allocator/allocator.gyp:allocator', |
| 800 ], |
| 801 }], |
| 786 ['icu_use_data_file_flag==0', { | 802 ['icu_use_data_file_flag==0', { |
| 787 # This is needed to trigger the dll copy step on windows. | 803 # This is needed to trigger the dll copy step on windows. |
| 788 # TODO(mark): This should not be necessary. | 804 # TODO(mark): This should not be necessary. |
| 789 'dependencies': [ | 805 'dependencies': [ |
| 790 '../third_party/icu/icu.gyp:icudata', | 806 '../third_party/icu/icu.gyp:icudata', |
| 791 ], | 807 ], |
| 792 }], | 808 }], |
| 793 ], | 809 ], |
| 794 }, { # OS != "win" | 810 }, { # OS != "win" |
| 795 'dependencies': [ | 811 'dependencies': [ |
| (...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1726 '../build/isolate.gypi', | 1742 '../build/isolate.gypi', |
| 1727 ], | 1743 ], |
| 1728 'sources': [ | 1744 'sources': [ |
| 1729 'base_unittests.isolate', | 1745 'base_unittests.isolate', |
| 1730 ], | 1746 ], |
| 1731 }, | 1747 }, |
| 1732 ], | 1748 ], |
| 1733 }], | 1749 }], |
| 1734 ], | 1750 ], |
| 1735 } | 1751 } |
| OLD | NEW |