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

Side by Side Diff: components/components_tests.gyp

Issue 1138993009: Revert of [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 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 { 1198 {
1199 'target_name': 'components_browsertests_manifest', 1199 'target_name': 'components_browsertests_manifest',
1200 'type': 'none', 1200 'type': 'none',
1201 'variables': { 1201 'variables': {
1202 'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml. jinja2'], 1202 'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml. jinja2'],
1203 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_ manifest/AndroidManifest.xml', 1203 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_ manifest/AndroidManifest.xml',
1204 }, 1204 },
1205 'includes': [ '../build/android/jinja_template.gypi' ], 1205 'includes': [ '../build/android/jinja_template.gypi' ],
1206 }, 1206 },
1207 { 1207 {
1208 'target_name': 'components_browsertests_jni_headers',
1209 'type': 'none',
1210 'sources': [
1211 'test/android/browsertests_apk/src/org/chromium/components_browserte sts_apk/ComponentsBrowserTestsActivity.java',
1212 ],
1213 'variables': {
1214 'jni_gen_package': 'content/shell',
1215 },
1216 'includes': [ '../build/jni_generator.gypi' ],
1217 },
1218 {
1208 # TODO(GN) 1219 # TODO(GN)
1209 'target_name': 'components_browsertests_apk', 1220 'target_name': 'components_browsertests_apk',
1210 'type': 'none', 1221 'type': 'none',
1211 'dependencies': [ 1222 'dependencies': [
1212 '../content/content.gyp:content_icudata', 1223 '../content/content.gyp:content_icudata',
1213 '../content/content.gyp:content_java', 1224 '../content/content.gyp:content_java',
1214 '../content/content.gyp:content_v8_external_data', 1225 '../content/content.gyp:content_v8_external_data',
1215 '../content/content_shell_and_tests.gyp:content_java_test_support', 1226 '../content/content_shell_and_tests.gyp:content_java_test_support',
1216 '../content/content_shell_and_tests.gyp:content_shell_java', 1227 '../content/content_shell_and_tests.gyp:content_shell_java',
1217 'components_browsertests_paks_copy', 1228 'components_browsertests_paks_copy',
1218 'components_browsertests', 1229 'components_browsertests',
1219 ], 1230 ],
1220 'variables': { 1231 'variables': {
1221 'test_suite_name': 'components_browsertests', 1232 'apk_name': 'components_browsertests',
1222 'java_in_dir': 'test/android/browsertests_apk', 1233 'java_in_dir': 'test/android/browsertests_apk',
1223 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_brow sertests_manifest/AndroidManifest.xml', 1234 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_brow sertests_manifest/AndroidManifest.xml',
1224 'resource_dir': 'test/android/browsertests_apk/res', 1235 'resource_dir': 'test/android/browsertests_apk/res',
1236 'native_lib_target': 'libcomponents_browsertests',
1225 'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/ assets', 1237 'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/ assets',
1226 }, 1238 },
1227 'includes': [ '../build/apk_browsertest.gypi' ], 1239 'includes': [ '../build/java_apk.gypi' ],
1228 }, 1240 },
1229 ], 1241 ],
1230 }], 1242 }],
1231 ['OS != "ios"', { 1243 ['OS != "ios"', {
1232 'targets': [ 1244 'targets': [
1233 { 1245 {
1234 # GN: //components:components_perftests 1246 # GN: //components:components_perftests
1235 'target_name': 'components_perftests', 1247 'target_name': 'components_perftests',
1236 'type': '<(gtest_target_type)', 1248 'type': '<(gtest_target_type)',
1237 'dependencies': [ 1249 'dependencies': [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1303 'autofill/content/browser/risk/fingerprint_browsertest.cc', 1315 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1304 'autofill/content/renderer/password_form_conversion_utils_browsertes t.cc', 1316 'autofill/content/renderer/password_form_conversion_utils_browsertes t.cc',
1305 'dom_distiller/content/distillable_page_utils_browsertest.cc', 1317 'dom_distiller/content/distillable_page_utils_browsertest.cc',
1306 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', 1318 'dom_distiller/content/distiller_page_web_contents_browsertest.cc',
1307 'dom_distiller/content/test/dom_distiller_js_browsertest.cc', 1319 'dom_distiller/content/test/dom_distiller_js_browsertest.cc',
1308 'password_manager/content/renderer/credential_manager_client_browser test.cc', 1320 'password_manager/content/renderer/credential_manager_client_browser test.cc',
1309 ], 1321 ],
1310 'conditions': [ 1322 'conditions': [
1311 ['OS == "android"', { 1323 ['OS == "android"', {
1312 'sources' : [ 1324 'sources' : [
1325 'test/android/browsertests_apk/components_browser_tests_android. cc',
1326 'test/android/browsertests_apk/components_browser_tests_android. h',
1313 'test/android/browsertests_apk/components_browser_tests_jni_onlo ad.cc', 1327 'test/android/browsertests_apk/components_browser_tests_jni_onlo ad.cc',
1314 ], 1328 ],
1315 'sources!': [ 1329 'sources!': [
1316 'autofill/content/browser/risk/fingerprint_browsertest.cc', 1330 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1317 ], 1331 ],
1318 'dependencies': [ 1332 'dependencies': [
1319 '../testing/android/native_test.gyp:native_test_support', 1333 '../testing/android/native_test.gyp:native_test_util',
1334 'components_browsertests_jni_headers',
1320 ], 1335 ],
1321 }], 1336 }],
1322 ['OS == "linux"', { 1337 ['OS == "linux"', {
1323 'sources': [ 1338 'sources': [
1324 # content_extractor_browsertest is a standalone content extrac tion tool built as 1339 # content_extractor_browsertest is a standalone content extrac tion tool built as
1325 # a MANUAL component_browsertest. 1340 # a MANUAL component_browsertest.
1326 'dom_distiller/standalone/content_extractor_browsertest.cc', 1341 'dom_distiller/standalone/content_extractor_browsertest.cc',
1327 ], 1342 ],
1328 }], 1343 }],
1329 ['OS=="win"', { 1344 ['OS=="win"', {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 ], 1458 ],
1444 'variables': { 1459 'variables': {
1445 'test_suite_name': 'components_unittests', 1460 'test_suite_name': 'components_unittests',
1446 }, 1461 },
1447 'includes': [ '../build/apk_test.gypi' ], 1462 'includes': [ '../build/apk_test.gypi' ],
1448 }, 1463 },
1449 ], 1464 ],
1450 }], 1465 }],
1451 ], 1466 ],
1452 } 1467 }
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | components/test/android/browsertests_apk/AndroidManifest.xml.jinja2 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698