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', |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 }, { # use_glib!=1 | 736 }, { # use_glib!=1 |
737 'sources!': [ | 737 'sources!': [ |
738 'message_pump_glib_unittest.cc', | 738 'message_pump_glib_unittest.cc', |
739 ] | 739 ] |
740 }], | 740 }], |
741 ['use_messagepump_linux == 1', { | 741 ['use_messagepump_linux == 1', { |
742 'sources!': [ | 742 'sources!': [ |
743 'message_pump_glib_unittest.cc', | 743 'message_pump_glib_unittest.cc', |
744 ] | 744 ] |
745 }], | 745 }], |
746 # This is needed to trigger the dll copy step on windows. | |
747 # TODO(mark): This should not be necessary. | |
748 ['OS == "win"', { | 746 ['OS == "win"', { |
| 747 # This is needed to trigger the dll copy step on windows. |
| 748 # TODO(mark): This should not be necessary. |
749 'dependencies': [ | 749 'dependencies': [ |
750 '../third_party/icu/icu.gyp:icudata', | 750 '../third_party/icu/icu.gyp:icudata', |
751 ], | 751 ], |
752 'sources!': [ | 752 'sources!': [ |
753 'file_descriptor_shuffle_unittest.cc', | 753 'file_descriptor_shuffle_unittest.cc', |
754 'files/dir_reader_posix_unittest.cc', | 754 'files/dir_reader_posix_unittest.cc', |
755 'threading/worker_pool_posix_unittest.cc', | 755 'threading/worker_pool_posix_unittest.cc', |
756 'message_pump_libevent_unittest.cc', | 756 'message_pump_libevent_unittest.cc', |
757 ], | 757 ], |
758 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 758 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
759 'msvs_disabled_warnings': [ | 759 'msvs_disabled_warnings': [ |
760 4267, | 760 4267, |
761 ], | 761 ], |
| 762 # This is needed so base_unittests uses the allocator shim, as |
| 763 # SecurityTest.MemoryAllocationRestriction* tests are dependent |
| 764 # on tcmalloc. |
| 765 # TODO(wfh): crbug.com/246278 Move tcmalloc specific tests into |
| 766 # their own test suite. |
| 767 'conditions': [ |
| 768 ['win_use_allocator_shim==1', { |
| 769 'dependencies': [ |
| 770 'allocator/allocator.gyp:allocator', |
| 771 ], |
| 772 }], |
| 773 ], |
762 }, { # OS != "win" | 774 }, { # OS != "win" |
763 'dependencies': [ | 775 'dependencies': [ |
764 '../third_party/libevent/libevent.gyp:libevent' | 776 '../third_party/libevent/libevent.gyp:libevent' |
765 ], | 777 ], |
766 'sources/': [ | 778 'sources/': [ |
767 ['exclude', '^win/'], | 779 ['exclude', '^win/'], |
768 ], | 780 ], |
769 'sources!': [ | 781 'sources!': [ |
770 'debug/trace_event_win_unittest.cc', | 782 'debug/trace_event_win_unittest.cc', |
771 'time_win_unittest.cc', | 783 'time_win_unittest.cc', |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1222 'base_unittests.isolate', | 1234 'base_unittests.isolate', |
1223 ], | 1235 ], |
1224 'sources': [ | 1236 'sources': [ |
1225 'base_unittests.isolate', | 1237 'base_unittests.isolate', |
1226 ], | 1238 ], |
1227 }, | 1239 }, |
1228 ], | 1240 ], |
1229 }], | 1241 }], |
1230 ], | 1242 ], |
1231 } | 1243 } |
OLD | NEW |