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', | |
Nico
2016/01/20 14:47:39
allocator is now on some platforms a source-less s
Primiano Tucci (use gerrit)
2016/01/20 14:50:29
Yup. See the already existing TODO(primiano) in al
| |
24 'base_debugging_flags#target', | 25 'base_debugging_flags#target', |
25 'base_static', | 26 'base_static', |
26 '../testing/gtest.gyp:gtest_prod', | 27 '../testing/gtest.gyp:gtest_prod', |
27 '../third_party/modp_b64/modp_b64.gyp:modp_b64', | 28 '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
28 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', | 29 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', |
29 ], | 30 ], |
30 # TODO(gregoryd): direct_dependent_settings should be shared with the | 31 # TODO(gregoryd): direct_dependent_settings should be shared with the |
31 # 64-bit target, but it doesn't work due to a bug in gyp | 32 # 64-bit target, but it doesn't work due to a bug in gyp |
32 'direct_dependent_settings': { | 33 'direct_dependent_settings': { |
33 'include_dirs': [ | 34 'include_dirs': [ |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
754 }], | 755 }], |
755 ['use_ozone == 1', { | 756 ['use_ozone == 1', { |
756 'sources!': [ | 757 'sources!': [ |
757 'message_loop/message_pump_glib_unittest.cc', | 758 'message_loop/message_pump_glib_unittest.cc', |
758 ] | 759 ] |
759 }], | 760 }], |
760 ['OS == "linux"', { | 761 ['OS == "linux"', { |
761 'dependencies': [ | 762 'dependencies': [ |
762 'malloc_wrapper', | 763 'malloc_wrapper', |
763 ], | 764 ], |
764 'conditions': [ | 765 }], |
765 ['use_allocator!="none"', { | |
766 'dependencies': [ | |
767 'allocator/allocator.gyp:allocator', | |
768 ], | |
769 }], | |
770 ]}, | |
771 ], | |
772 [ 'OS == "win" and target_arch == "x64"', { | 766 [ 'OS == "win" and target_arch == "x64"', { |
773 'sources': [ | 767 'sources': [ |
774 'profiler/win32_stack_frame_unwinder_unittest.cc', | 768 'profiler/win32_stack_frame_unwinder_unittest.cc', |
775 ], | 769 ], |
776 'dependencies': [ | 770 'dependencies': [ |
777 'base_profiler_test_support_library', | 771 'base_profiler_test_support_library', |
778 ], | 772 ], |
779 }], | 773 }], |
780 ['OS == "win"', { | 774 ['OS == "win"', { |
781 'sources!': [ | 775 'sources!': [ |
782 'file_descriptor_shuffle_unittest.cc', | 776 'file_descriptor_shuffle_unittest.cc', |
783 'files/dir_reader_posix_unittest.cc', | 777 'files/dir_reader_posix_unittest.cc', |
784 'message_loop/message_pump_libevent_unittest.cc', | 778 'message_loop/message_pump_libevent_unittest.cc', |
785 'threading/worker_pool_posix_unittest.cc', | 779 'threading/worker_pool_posix_unittest.cc', |
786 ], | 780 ], |
787 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 781 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
788 'msvs_disabled_warnings': [ | 782 'msvs_disabled_warnings': [ |
789 4267, | 783 4267, |
790 ], | 784 ], |
791 'conditions': [ | 785 '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 }], | |
802 ['icu_use_data_file_flag==0', { | 786 ['icu_use_data_file_flag==0', { |
803 # This is needed to trigger the dll copy step on windows. | 787 # This is needed to trigger the dll copy step on windows. |
804 # TODO(mark): This should not be necessary. | 788 # TODO(mark): This should not be necessary. |
805 'dependencies': [ | 789 'dependencies': [ |
806 '../third_party/icu/icu.gyp:icudata', | 790 '../third_party/icu/icu.gyp:icudata', |
807 ], | 791 ], |
808 }], | 792 }], |
809 ], | 793 ], |
810 }, { # OS != "win" | 794 }, { # OS != "win" |
811 'dependencies': [ | 795 'dependencies': [ |
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1742 '../build/isolate.gypi', | 1726 '../build/isolate.gypi', |
1743 ], | 1727 ], |
1744 'sources': [ | 1728 'sources': [ |
1745 'base_unittests.isolate', | 1729 'base_unittests.isolate', |
1746 ], | 1730 ], |
1747 }, | 1731 }, |
1748 ], | 1732 ], |
1749 }], | 1733 }], |
1750 ], | 1734 ], |
1751 } | 1735 } |
OLD | NEW |