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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 'test/test_timeouts.h', | 725 'test/test_timeouts.h', |
726 'test/thread_test_helper.cc', | 726 'test/thread_test_helper.cc', |
727 'test/thread_test_helper.h', | 727 'test/thread_test_helper.h', |
728 'test/trace_event_analyzer.cc', | 728 'test/trace_event_analyzer.cc', |
729 'test/trace_event_analyzer.h', | 729 'test/trace_event_analyzer.h', |
730 'test/values_test_util.cc', | 730 'test/values_test_util.cc', |
731 'test/values_test_util.h', | 731 'test/values_test_util.h', |
732 ], | 732 ], |
733 }, | 733 }, |
734 { | 734 { |
735 'target_name': 'base_unittests_run', | |
736 'type': 'none', | |
737 'dependencies': [ | |
738 'base_unittests', | |
739 ], | |
740 'includes': [ | |
741 'base_unittests.isolate', | |
742 ], | |
743 'actions': [ | |
744 { | |
745 'action_name': 'isolate', | |
746 'inputs': [ | |
747 'base_unittests.isolate', | |
748 '<@(isolate_dependency_tracked)', | |
749 ], | |
750 'outputs': [ | |
751 '<(PRODUCT_DIR)/base_unittests.results', | |
752 ], | |
753 'action': [ | |
754 'python', | |
755 '../tools/isolate/isolate.py', | |
756 '<(test_isolation_mode)', | |
757 '--outdir', '<(test_isolation_outdir)', | |
758 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', | |
759 '--variable', 'OS', '<(OS)', | |
760 '--result', '<@(_outputs)', | |
761 '--isolate', 'base_unittests.isolate', | |
762 ], | |
763 }, | |
764 ], | |
765 }, | |
766 { | |
767 'target_name': 'test_support_perf', | 735 'target_name': 'test_support_perf', |
768 'type': 'static_library', | 736 'type': 'static_library', |
769 'dependencies': [ | 737 'dependencies': [ |
770 'base', | 738 'base', |
771 '../testing/gtest.gyp:gtest', | 739 '../testing/gtest.gyp:gtest', |
772 ], | 740 ], |
773 'sources': [ | 741 'sources': [ |
774 'perftimer.cc', | 742 'perftimer.cc', |
775 'test/run_all_perftests.cc', | 743 'test/run_all_perftests.cc', |
776 ], | 744 ], |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 'base_java', | 983 'base_java', |
1016 ], | 984 ], |
1017 'variables': { | 985 'variables': { |
1018 'package_name': 'base_javatests', | 986 'package_name': 'base_javatests', |
1019 'java_in_dir': '../base/android/javatests', | 987 'java_in_dir': '../base/android/javatests', |
1020 }, | 988 }, |
1021 'includes': [ '../build/java.gypi' ], | 989 'includes': [ '../build/java.gypi' ], |
1022 }, | 990 }, |
1023 ], | 991 ], |
1024 }], | 992 }], |
| 993 ['test_isolation_mode != "noop"', { |
| 994 'targets': [ |
| 995 { |
| 996 'target_name': 'base_unittests_run', |
| 997 'type': 'none', |
| 998 'dependencies': [ |
| 999 'base_unittests', |
| 1000 ], |
| 1001 'includes': [ |
| 1002 'base_unittests.isolate', |
| 1003 ], |
| 1004 'actions': [ |
| 1005 { |
| 1006 'action_name': 'isolate', |
| 1007 'inputs': [ |
| 1008 'base_unittests.isolate', |
| 1009 '<@(isolate_dependency_tracked)', |
| 1010 ], |
| 1011 'outputs': [ |
| 1012 '<(PRODUCT_DIR)/base_unittests.results', |
| 1013 ], |
| 1014 'action': [ |
| 1015 'python', |
| 1016 '../tools/isolate/isolate.py', |
| 1017 '<(test_isolation_mode)', |
| 1018 '--outdir', '<(test_isolation_outdir)', |
| 1019 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', |
| 1020 '--variable', 'OS', '<(OS)', |
| 1021 '--result', '<@(_outputs)', |
| 1022 '--isolate', 'base_unittests.isolate', |
| 1023 ], |
| 1024 }, |
| 1025 ], |
| 1026 }, |
| 1027 ], |
| 1028 }], |
1025 ], | 1029 ], |
1026 } | 1030 } |
OLD | NEW |