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

Side by Side Diff: components/components_tests.gyp

Issue 1143903002: [Android] Refactor the native test wrappers. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1202 { 1202 {
1203 'target_name': 'components_browsertests_manifest', 1203 'target_name': 'components_browsertests_manifest',
1204 'type': 'none', 1204 'type': 'none',
1205 'variables': { 1205 'variables': {
1206 'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml. jinja2'], 1206 'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml. jinja2'],
1207 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_ manifest/AndroidManifest.xml', 1207 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_ manifest/AndroidManifest.xml',
1208 }, 1208 },
1209 'includes': [ '../build/android/jinja_template.gypi' ], 1209 'includes': [ '../build/android/jinja_template.gypi' ],
1210 }, 1210 },
1211 { 1211 {
1212 'target_name': 'components_browsertests_jni_headers',
1213 'type': 'none',
1214 'sources': [
1215 'test/android/browsertests_apk/src/org/chromium/components_browserte sts_apk/ComponentsBrowserTestsActivity.java',
1216 ],
1217 'variables': {
1218 'jni_gen_package': 'content/shell',
1219 },
1220 'includes': [ '../build/jni_generator.gypi' ],
1221 },
1222 {
1223 # TODO(GN) 1212 # TODO(GN)
1224 'target_name': 'components_browsertests_apk', 1213 'target_name': 'components_browsertests_apk',
1225 'type': 'none', 1214 'type': 'none',
1226 'dependencies': [ 1215 'dependencies': [
1227 '../content/content.gyp:content_icudata', 1216 '../content/content.gyp:content_icudata',
1228 '../content/content.gyp:content_java', 1217 '../content/content.gyp:content_java',
1229 '../content/content.gyp:content_v8_external_data', 1218 '../content/content.gyp:content_v8_external_data',
1230 '../content/content_shell_and_tests.gyp:content_java_test_support', 1219 '../content/content_shell_and_tests.gyp:content_java_test_support',
1231 '../content/content_shell_and_tests.gyp:content_shell_java', 1220 '../content/content_shell_and_tests.gyp:content_shell_java',
1232 'components_browsertests_paks_copy', 1221 'components_browsertests_paks_copy',
1233 'components_browsertests', 1222 'components_browsertests',
1234 ], 1223 ],
1235 'variables': { 1224 'variables': {
1236 'apk_name': 'components_browsertests', 1225 'test_suite_name': 'components_browsertests',
1237 'java_in_dir': 'test/android/browsertests_apk', 1226 'java_in_dir': 'test/android/browsertests_apk',
1238 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_brow sertests_manifest/AndroidManifest.xml', 1227 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_brow sertests_manifest/AndroidManifest.xml',
1239 'resource_dir': 'test/android/browsertests_apk/res', 1228 'resource_dir': 'test/android/browsertests_apk/res',
1240 'native_lib_target': 'libcomponents_browsertests',
1241 'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/ assets', 1229 'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/ assets',
1242 }, 1230 },
1243 'includes': [ '../build/java_apk.gypi' ], 1231 'includes': [ '../build/apk_browsertest.gypi' ],
1244 }, 1232 },
1245 ], 1233 ],
1246 }], 1234 }],
1247 ['OS != "ios"', { 1235 ['OS != "ios"', {
1248 'targets': [ 1236 'targets': [
1249 { 1237 {
1250 # GN: //components:components_perftests 1238 # GN: //components:components_perftests
1251 'target_name': 'components_perftests', 1239 'target_name': 'components_perftests',
1252 'type': '<(gtest_target_type)', 1240 'type': '<(gtest_target_type)',
1253 'dependencies': [ 1241 'dependencies': [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 'autofill/content/browser/risk/fingerprint_browsertest.cc', 1307 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1320 'autofill/content/renderer/password_form_conversion_utils_browsertes t.cc', 1308 'autofill/content/renderer/password_form_conversion_utils_browsertes t.cc',
1321 'dom_distiller/content/distillable_page_utils_browsertest.cc', 1309 'dom_distiller/content/distillable_page_utils_browsertest.cc',
1322 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', 1310 'dom_distiller/content/distiller_page_web_contents_browsertest.cc',
1323 'dom_distiller/content/test/dom_distiller_js_browsertest.cc', 1311 'dom_distiller/content/test/dom_distiller_js_browsertest.cc',
1324 'password_manager/content/renderer/credential_manager_client_browser test.cc', 1312 'password_manager/content/renderer/credential_manager_client_browser test.cc',
1325 ], 1313 ],
1326 'conditions': [ 1314 'conditions': [
1327 ['OS == "android"', { 1315 ['OS == "android"', {
1328 'sources' : [ 1316 'sources' : [
1329 'test/android/browsertests_apk/components_browser_tests_android. cc',
1330 'test/android/browsertests_apk/components_browser_tests_android. h',
1331 'test/android/browsertests_apk/components_browser_tests_jni_onlo ad.cc', 1317 'test/android/browsertests_apk/components_browser_tests_jni_onlo ad.cc',
1332 ], 1318 ],
1333 'sources!': [ 1319 'sources!': [
1334 'autofill/content/browser/risk/fingerprint_browsertest.cc', 1320 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1335 ], 1321 ],
1336 'dependencies': [ 1322 'dependencies': [
1337 '../testing/android/native_test.gyp:native_test_util', 1323 '../testing/android/native_test.gyp:native_test_support',
1338 'components_browsertests_jni_headers',
1339 ], 1324 ],
1340 }], 1325 }],
1341 ['OS == "linux"', { 1326 ['OS == "linux"', {
1342 'sources': [ 1327 'sources': [
1343 # content_extractor_browsertest is a standalone content extrac tion tool built as 1328 # content_extractor_browsertest is a standalone content extrac tion tool built as
1344 # a MANUAL component_browsertest. 1329 # a MANUAL component_browsertest.
1345 'dom_distiller/standalone/content_extractor_browsertest.cc', 1330 'dom_distiller/standalone/content_extractor_browsertest.cc',
1346 ], 1331 ],
1347 }], 1332 }],
1348 ['OS=="win"', { 1333 ['OS=="win"', {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 ], 1447 ],
1463 'variables': { 1448 'variables': {
1464 'test_suite_name': 'components_unittests', 1449 'test_suite_name': 'components_unittests',
1465 }, 1450 },
1466 'includes': [ '../build/apk_test.gypi' ], 1451 'includes': [ '../build/apk_test.gypi' ],
1467 }, 1452 },
1468 ], 1453 ],
1469 }], 1454 }],
1470 ], 1455 ],
1471 } 1456 }
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