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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 'sources/': [ | 726 'sources/': [ |
727 # Only test the iOS-meaningful portion of process_utils. | 727 # Only test the iOS-meaningful portion of process_utils. |
728 ['exclude', '^process/memory_unittest'], | 728 ['exclude', '^process/memory_unittest'], |
729 ['exclude', '^process/process_util_unittest\\.cc$'], | 729 ['exclude', '^process/process_util_unittest\\.cc$'], |
730 ['include', '^process/process_util_unittest_ios\\.cc$'], | 730 ['include', '^process/process_util_unittest_ios\\.cc$'], |
731 # Requires spawning processes. | 731 # Requires spawning processes. |
732 ['exclude', '^metrics/stats_table_unittest\\.cc$'], | 732 ['exclude', '^metrics/stats_table_unittest\\.cc$'], |
733 # iOS does not use message_pump_libevent. | 733 # iOS does not use message_pump_libevent. |
734 ['exclude', '^message_loop/message_pump_libevent_unittest\\.cc$'], | 734 ['exclude', '^message_loop/message_pump_libevent_unittest\\.cc$'], |
735 ], | 735 ], |
736 'conditions': [ | |
737 ['coverage != 0', { | |
738 'sources!': [ | |
739 # These sources can't be built with coverage due to a toolchain | |
740 # bug: http://openradar.appspot.com/radar?id=1499403 | |
741 'json/json_reader_unittest.cc', | |
742 'strings/string_piece_unittest.cc', | |
743 | |
744 # These tests crash when run with coverage turned on due to an | |
745 # issue with llvm_gcda_increment_indirect_counter: | |
746 # http://crbug.com/156058 | |
747 'debug/trace_event_unittest.cc', | |
748 'debug/trace_event_unittest.h', | |
749 'logging_unittest.cc', | |
750 'string_util_unittest.cc', | |
751 'test/trace_event_analyzer_unittest.cc', | |
752 'utf_offset_string_conversions_unittest.cc', | |
753 ], | |
754 }], | |
755 ], | |
756 'actions': [ | 736 'actions': [ |
757 { | 737 { |
758 'action_name': 'copy_test_data', | 738 'action_name': 'copy_test_data', |
759 'variables': { | 739 'variables': { |
760 'test_data_files': [ | 740 'test_data_files': [ |
761 'test/data', | 741 'test/data', |
762 ], | 742 ], |
763 'test_data_prefix': 'base', | 743 'test_data_prefix': 'base', |
764 }, | 744 }, |
765 'includes': [ '../build/copy_test_data_ios.gypi' ], | 745 'includes': [ '../build/copy_test_data_ios.gypi' ], |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1383 'base_unittests.isolate', | 1363 'base_unittests.isolate', |
1384 ], | 1364 ], |
1385 'sources': [ | 1365 'sources': [ |
1386 'base_unittests.isolate', | 1366 'base_unittests.isolate', |
1387 ], | 1367 ], |
1388 }, | 1368 }, |
1389 ], | 1369 ], |
1390 }], | 1370 }], |
1391 ], | 1371 ], |
1392 } | 1372 } |
OLD | NEW |