OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 'variables': { | 933 'variables': { |
934 'test_suite_name': 'components_unittests', | 934 'test_suite_name': 'components_unittests', |
935 }, | 935 }, |
936 'includes': [ '../build/apk_test.gypi' ], | 936 'includes': [ '../build/apk_test.gypi' ], |
937 }, | 937 }, |
938 ], | 938 ], |
939 }], | 939 }], |
940 ], | 940 ], |
941 }], | 941 }], |
942 ['OS!="ios"', { | 942 ['OS!="ios"', { |
| 943 'conditions': [ |
| 944 ['test_isolation_mode != "noop"', { |
| 945 'targets': [ |
| 946 { |
| 947 'target_name': 'components_browsertests_run', |
| 948 'type': 'none', |
| 949 'dependencies': [ 'components_browsertests' ], |
| 950 'includes': [ |
| 951 '../build/isolate.gypi', |
| 952 ], |
| 953 'sources': [ |
| 954 'components_browsertests.isolate', |
| 955 ], |
| 956 'conditions': [ |
| 957 ['use_x11==1', { |
| 958 'dependencies': [ |
| 959 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 960 ], |
| 961 }], |
| 962 ], |
| 963 }, |
| 964 ], |
| 965 }], |
| 966 ], |
943 'targets': [ | 967 'targets': [ |
944 { | 968 { |
945 'target_name': 'components_browsertests', | 969 'target_name': 'components_browsertests', |
946 'type': '<(gtest_target_type)', | 970 'type': '<(gtest_target_type)', |
947 'defines!': ['CONTENT_IMPLEMENTATION'], | 971 'defines!': ['CONTENT_IMPLEMENTATION'], |
948 'dependencies': [ | 972 'dependencies': [ |
949 'components.gyp:autofill_content_browser', | 973 'components.gyp:autofill_content_browser', |
950 'components.gyp:autofill_content_renderer', | 974 'components.gyp:autofill_content_renderer', |
951 'components.gyp:password_manager_content_renderer', | 975 'components.gyp:password_manager_content_renderer', |
952 'components.gyp:pref_registry_test_support', | 976 'components.gyp:pref_registry_test_support', |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 }, | 1064 }, |
1041 }, | 1065 }, |
1042 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1066 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1043 'msvs_disabled_warnings': [ 4267, ], | 1067 'msvs_disabled_warnings': [ 4267, ], |
1044 }], | 1068 }], |
1045 ['OS=="win" and win_use_allocator_shim==1', { | 1069 ['OS=="win" and win_use_allocator_shim==1', { |
1046 'dependencies': [ | 1070 'dependencies': [ |
1047 '../base/allocator/allocator.gyp:allocator', | 1071 '../base/allocator/allocator.gyp:allocator', |
1048 ], | 1072 ], |
1049 }], | 1073 }], |
| 1074 ['OS=="mac"', { |
| 1075 'dependencies': [ |
| 1076 '../content/content_shell_and_tests.gyp:content_shell', # Neede
d for Content Shell.app's Helper. |
| 1077 ], |
| 1078 }], |
1050 ], | 1079 ], |
1051 }, | 1080 }, |
1052 ], | 1081 ], |
1053 }], | 1082 }], |
1054 ['test_isolation_mode != "noop"', { | 1083 ['test_isolation_mode != "noop"', { |
1055 'targets': [ | 1084 'targets': [ |
1056 { | 1085 { |
1057 'target_name': 'components_unittests_run', | 1086 'target_name': 'components_unittests_run', |
1058 'type': 'none', | 1087 'type': 'none', |
1059 'dependencies': [ | 1088 'dependencies': [ |
1060 'components_unittests', | 1089 'components_unittests', |
1061 ], | 1090 ], |
1062 'includes': [ | 1091 'includes': [ |
1063 '../build/isolate.gypi', | 1092 '../build/isolate.gypi', |
1064 ], | 1093 ], |
1065 'sources': [ | 1094 'sources': [ |
1066 'components_unittests.isolate', | 1095 'components_unittests.isolate', |
1067 ], | 1096 ], |
1068 }, | 1097 }, |
1069 ], | 1098 ], |
1070 }], | 1099 }], |
1071 ], | 1100 ], |
1072 } | 1101 } |
OLD | NEW |