Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: components/components_tests.gyp

Issue 1126543009: [Android] Refactor the native test wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 { 1176 {
1177 'target_name': 'components_browsertests_manifest', 1177 'target_name': 'components_browsertests_manifest',
1178 'type': 'none', 1178 'type': 'none',
1179 'variables': { 1179 'variables': {
1180 'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml. jinja2'], 1180 'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml. jinja2'],
1181 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_ manifest/AndroidManifest.xml', 1181 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_ manifest/AndroidManifest.xml',
1182 }, 1182 },
1183 'includes': [ '../build/android/jinja_template.gypi' ], 1183 'includes': [ '../build/android/jinja_template.gypi' ],
1184 }, 1184 },
1185 { 1185 {
1186 'target_name': 'components_browsertests_jni_headers',
1187 'type': 'none',
1188 'sources': [
1189 'test/android/browsertests_apk/src/org/chromium/components_browserte sts_apk/ComponentsBrowserTestsActivity.java',
1190 ],
1191 'variables': {
1192 'jni_gen_package': 'content/shell',
1193 },
1194 'includes': [ '../build/jni_generator.gypi' ],
1195 },
1196 {
1197 # TODO(GN) 1186 # TODO(GN)
1198 'target_name': 'components_browsertests_apk', 1187 'target_name': 'components_browsertests_apk',
1199 'type': 'none', 1188 'type': 'none',
1200 'dependencies': [ 1189 'dependencies': [
1201 '../content/content.gyp:content_icudata', 1190 '../content/content.gyp:content_icudata',
1202 '../content/content.gyp:content_java', 1191 '../content/content.gyp:content_java',
1203 '../content/content.gyp:content_v8_external_data', 1192 '../content/content.gyp:content_v8_external_data',
1204 '../content/content_shell_and_tests.gyp:content_java_test_support', 1193 '../content/content_shell_and_tests.gyp:content_java_test_support',
1205 '../content/content_shell_and_tests.gyp:content_shell_java', 1194 '../content/content_shell_and_tests.gyp:content_shell_java',
1206 'components_browsertests_paks_copy', 1195 'components_browsertests_paks_copy',
1207 'components_browsertests', 1196 'components_browsertests',
1208 ], 1197 ],
1209 'variables': { 1198 'variables': {
1210 'apk_name': 'components_browsertests', 1199 'test_suite_name': 'components_browsertests',
1211 'java_in_dir': 'test/android/browsertests_apk', 1200 'java_in_dir': 'test/android/browsertests_apk',
1212 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_brow sertests_manifest/AndroidManifest.xml', 1201 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_brow sertests_manifest/AndroidManifest.xml',
1213 'resource_dir': 'test/android/browsertests_apk/res', 1202 'resource_dir': 'test/android/browsertests_apk/res',
1214 'native_lib_target': 'libcomponents_browsertests',
1215 'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/ assets', 1203 'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/ assets',
1216 }, 1204 },
1217 'includes': [ '../build/java_apk.gypi' ], 1205 'includes': [ '../build/apk_browsertest.gypi' ],
1218 }, 1206 },
1219 ], 1207 ],
1220 }], 1208 }],
1221 ['OS != "ios"', { 1209 ['OS != "ios"', {
1222 'targets': [ 1210 'targets': [
1223 { 1211 {
1224 # GN: //components:components_perftests 1212 # GN: //components:components_perftests
1225 'target_name': 'components_perftests', 1213 'target_name': 'components_perftests',
1226 'type': '<(gtest_target_type)', 1214 'type': '<(gtest_target_type)',
1227 'dependencies': [ 1215 'dependencies': [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 'autofill/content/browser/risk/fingerprint_browsertest.cc', 1281 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1294 'autofill/content/renderer/password_form_conversion_utils_browsertes t.cc', 1282 'autofill/content/renderer/password_form_conversion_utils_browsertes t.cc',
1295 'dom_distiller/content/distillable_page_utils_browsertest.cc', 1283 'dom_distiller/content/distillable_page_utils_browsertest.cc',
1296 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', 1284 'dom_distiller/content/distiller_page_web_contents_browsertest.cc',
1297 'dom_distiller/content/test/dom_distiller_js_browsertest.cc', 1285 'dom_distiller/content/test/dom_distiller_js_browsertest.cc',
1298 'password_manager/content/renderer/credential_manager_client_browser test.cc', 1286 'password_manager/content/renderer/credential_manager_client_browser test.cc',
1299 ], 1287 ],
1300 'conditions': [ 1288 'conditions': [
1301 ['OS == "android"', { 1289 ['OS == "android"', {
1302 'sources' : [ 1290 'sources' : [
1303 'test/android/browsertests_apk/components_browser_tests_android. cc',
1304 'test/android/browsertests_apk/components_browser_tests_android. h',
1305 'test/android/browsertests_apk/components_browser_tests_jni_onlo ad.cc', 1291 'test/android/browsertests_apk/components_browser_tests_jni_onlo ad.cc',
1306 ], 1292 ],
1307 'sources!': [ 1293 'sources!': [
1308 'autofill/content/browser/risk/fingerprint_browsertest.cc', 1294 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1309 ], 1295 ],
1310 'dependencies': [ 1296 'dependencies': [
1311 '../testing/android/native_test.gyp:native_test_util', 1297 '../testing/android/native_test.gyp:native_test_support',
1312 'components_browsertests_jni_headers',
1313 ], 1298 ],
1314 }], 1299 }],
1315 ['OS == "linux"', { 1300 ['OS == "linux"', {
1316 'sources': [ 1301 'sources': [
1317 # content_extractor_browsertest is a standalone content extrac tion tool built as 1302 # content_extractor_browsertest is a standalone content extrac tion tool built as
1318 # a MANUAL component_browsertest. 1303 # a MANUAL component_browsertest.
1319 'dom_distiller/standalone/content_extractor_browsertest.cc', 1304 'dom_distiller/standalone/content_extractor_browsertest.cc',
1320 ], 1305 ],
1321 }], 1306 }],
1322 ['OS=="win"', { 1307 ['OS=="win"', {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 ], 1421 ],
1437 'variables': { 1422 'variables': {
1438 'test_suite_name': 'components_unittests', 1423 'test_suite_name': 'components_unittests',
1439 }, 1424 },
1440 'includes': [ '../build/apk_test.gypi' ], 1425 'includes': [ '../build/apk_test.gypi' ],
1441 }, 1426 },
1442 ], 1427 ],
1443 }], 1428 }],
1444 ], 1429 ],
1445 } 1430 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698