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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 ], | 1045 ], |
1046 }], | 1046 }], |
1047 ], | 1047 ], |
1048 }], | 1048 }], |
1049 ], | 1049 ], |
1050 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1050 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1051 'msvs_disabled_warnings': [4267, ], | 1051 'msvs_disabled_warnings': [4267, ], |
1052 }, | 1052 }, |
1053 ], | 1053 ], |
1054 'conditions': [ | 1054 'conditions': [ |
| 1055 ['OS == "android"', { |
| 1056 'variables': { |
| 1057 'components_browsertests_pak_input_resources': [ |
| 1058 '<(PRODUCT_DIR)/components_tests_resources.pak', |
| 1059 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak', |
| 1060 ], |
| 1061 'conditions': [ |
| 1062 ['icu_use_data_file_flag==1', { |
| 1063 'components_browsertests_pak_input_resources': [ |
| 1064 '<(PRODUCT_DIR)/icudtl.dat', |
| 1065 ], |
| 1066 }], |
| 1067 ['v8_use_external_startup_data==1', { |
| 1068 'components_browsertests_pak_input_resources': [ |
| 1069 '<(PRODUCT_DIR)/natives_blob.bin', |
| 1070 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 1071 ], |
| 1072 }], |
| 1073 ], |
| 1074 }, |
| 1075 'targets': [ |
| 1076 { |
| 1077 'target_name': 'components_browsertests_paks_copy', |
| 1078 'type': 'none', |
| 1079 'dependencies': [ |
| 1080 'components_browsertests', |
| 1081 ], |
| 1082 'copies': [ |
| 1083 { |
| 1084 'destination': '<(PRODUCT_DIR)/components_browsertests_apk_shell/a
ssets', |
| 1085 'files': [ |
| 1086 '<@(components_browsertests_pak_input_resources)', |
| 1087 ], |
| 1088 } |
| 1089 ], |
| 1090 }, |
| 1091 { |
| 1092 'target_name': 'components_browsertests_manifest', |
| 1093 'type': 'none', |
| 1094 'variables': { |
| 1095 'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml.
jinja2'], |
| 1096 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_
manifest/AndroidManifest.xml', |
| 1097 }, |
| 1098 'includes': [ '../build/android/jinja_template.gypi' ], |
| 1099 }, |
| 1100 { |
| 1101 'target_name': 'components_browsertests_jni_headers', |
| 1102 'type': 'none', |
| 1103 'sources': [ |
| 1104 'test/android/browsertests_apk/src/org/chromium/components_browserte
sts_apk/ComponentsBrowserTestsActivity.java', |
| 1105 ], |
| 1106 'variables': { |
| 1107 'jni_gen_package': 'content/shell', |
| 1108 }, |
| 1109 'includes': [ '../build/jni_generator.gypi' ], |
| 1110 }, |
| 1111 { |
| 1112 # TODO(GN) |
| 1113 'target_name': 'components_browsertests_apk', |
| 1114 'type': 'none', |
| 1115 'dependencies': [ |
| 1116 '../content/content.gyp:content_icudata', |
| 1117 '../content/content.gyp:content_java', |
| 1118 '../content/content.gyp:content_v8_external_data', |
| 1119 '../content/content_shell_and_tests.gyp:content_java_test_support', |
| 1120 '../content/content_shell_and_tests.gyp:content_shell_java', |
| 1121 'components_browsertests_paks_copy', |
| 1122 'components_browsertests', |
| 1123 ], |
| 1124 'variables': { |
| 1125 'apk_name': 'components_browsertests', |
| 1126 'java_in_dir': 'test/android/browsertests_apk', |
| 1127 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_brow
sertests_manifest/AndroidManifest.xml', |
| 1128 'resource_dir': 'test/android/browsertests_apk/res', |
| 1129 'native_lib_target': 'libcomponents_browsertests', |
| 1130 'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/
assets', |
| 1131 }, |
| 1132 'includes': [ '../build/java_apk.gypi' ], |
| 1133 }, |
| 1134 ], |
| 1135 }], |
1055 ['OS != "ios"', { | 1136 ['OS != "ios"', { |
1056 'targets': [ | 1137 'targets': [ |
1057 { | 1138 { |
1058 # GN: //components:components_perftests | 1139 # GN: //components:components_perftests |
1059 'target_name': 'components_perftests', | 1140 'target_name': 'components_perftests', |
1060 'type': '<(gtest_target_type)', | 1141 'type': '<(gtest_target_type)', |
1061 'dependencies': [ | 1142 'dependencies': [ |
1062 '../base/base.gyp:base', | 1143 '../base/base.gyp:base', |
1063 '../base/base.gyp:test_support_perf', | 1144 '../base/base.gyp:test_support_perf', |
1064 '../content/content_shell_and_tests.gyp:test_support_content', | 1145 '../content/content_shell_and_tests.gyp:test_support_content', |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 'sources': [ | 1202 'sources': [ |
1122 'autofill/content/browser/risk/fingerprint_browsertest.cc', | 1203 'autofill/content/browser/risk/fingerprint_browsertest.cc', |
1123 'autofill/content/renderer/password_form_conversion_utils_browsertes
t.cc', | 1204 'autofill/content/renderer/password_form_conversion_utils_browsertes
t.cc', |
1124 'dom_distiller/content/distillable_page_utils_browsertest.cc', | 1205 'dom_distiller/content/distillable_page_utils_browsertest.cc', |
1125 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', | 1206 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', |
1126 'dom_distiller/content/test/dom_distiller_js_browsertest.cc', | 1207 'dom_distiller/content/test/dom_distiller_js_browsertest.cc', |
1127 'password_manager/content/renderer/credential_manager_client_browser
test.cc', | 1208 'password_manager/content/renderer/credential_manager_client_browser
test.cc', |
1128 ], | 1209 ], |
1129 'conditions': [ | 1210 'conditions': [ |
1130 ['OS == "android"', { | 1211 ['OS == "android"', { |
| 1212 'sources' : [ |
| 1213 'test/android/browsertests_apk/components_browser_tests_android.
cc', |
| 1214 'test/android/browsertests_apk/components_browser_tests_android.
h', |
| 1215 'test/android/browsertests_apk/components_browser_tests_jni_onlo
ad.cc', |
| 1216 ], |
1131 'sources!': [ | 1217 'sources!': [ |
1132 'autofill/content/browser/risk/fingerprint_browsertest.cc', | 1218 'autofill/content/browser/risk/fingerprint_browsertest.cc', |
1133 ], | 1219 ], |
| 1220 'dependencies': [ |
| 1221 '../testing/android/native_test.gyp:native_test_util', |
| 1222 'components_browsertests_jni_headers', |
| 1223 ], |
1134 }], | 1224 }], |
1135 ['OS == "linux"', { | 1225 ['OS == "linux"', { |
1136 'sources': [ | 1226 'sources': [ |
1137 # content_extractor_browsertest is a standalone content extrac
tion tool built as | 1227 # content_extractor_browsertest is a standalone content extrac
tion tool built as |
1138 # a MANUAL component_browsertest. | 1228 # a MANUAL component_browsertest. |
1139 'dom_distiller/standalone/content_extractor_browsertest.cc', | 1229 'dom_distiller/standalone/content_extractor_browsertest.cc', |
1140 ], | 1230 ], |
1141 }], | 1231 }], |
1142 ['OS=="win"', { | 1232 ['OS=="win"', { |
1143 'resource_include_dirs': [ | 1233 'resource_include_dirs': [ |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1256 ], | 1346 ], |
1257 'variables': { | 1347 'variables': { |
1258 'test_suite_name': 'components_unittests', | 1348 'test_suite_name': 'components_unittests', |
1259 }, | 1349 }, |
1260 'includes': [ '../build/apk_test.gypi' ], | 1350 'includes': [ '../build/apk_test.gypi' ], |
1261 }, | 1351 }, |
1262 ], | 1352 ], |
1263 }], | 1353 }], |
1264 ], | 1354 ], |
1265 } | 1355 } |
OLD | NEW |