[Android] Add generated runner scripts for browser test suites.
BUG= Review URL: https://codereview.chromium.org/1401263003 Cr-Original-Commit-Position: refs/heads/master@{#353786} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: c870f4c2ad3465a4b64ed79c9aa0aebfe117f775
This commit is contained in:
Родитель
d85b373aae
Коммит
3c58faf8c4
|
@ -27,17 +27,18 @@
|
||||||
'<(DEPTH)/tools/android/android_tools.gyp:android_tools',
|
'<(DEPTH)/tools/android/android_tools.gyp:android_tools',
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS == "android"', {
|
['OS == "android"', {
|
||||||
'variables': {
|
'variables': {
|
||||||
# These are used to configure java_apk.gypi included below.
|
# These are used to configure java_apk.gypi included below.
|
||||||
'apk_name': '<(test_suite_name)',
|
'test_type': 'gtest',
|
||||||
'intermediate_dir': '<(PRODUCT_DIR)/<(test_suite_name)_apk',
|
'apk_name': '<(test_suite_name)',
|
||||||
'final_apk_path': '<(intermediate_dir)/<(test_suite_name)-debug.apk',
|
'intermediate_dir': '<(PRODUCT_DIR)/<(test_suite_name)_apk',
|
||||||
'native_lib_target': 'lib<(test_suite_name)',
|
'final_apk_path': '<(intermediate_dir)/<(test_suite_name)-debug.apk',
|
||||||
# TODO(yfriedman, cjhopman): Support managed installs for gtests.
|
'native_lib_target': 'lib<(test_suite_name)',
|
||||||
'gyp_managed_install': 0,
|
# TODO(yfriedman, cjhopman): Support managed installs for gtests.
|
||||||
},
|
'gyp_managed_install': 0,
|
||||||
'includes': [ 'java_apk.gypi' ],
|
},
|
||||||
}], # 'OS == "android"
|
'includes': [ 'java_apk.gypi', 'android/test_runner.gypi' ],
|
||||||
|
}], # 'OS == "android"
|
||||||
], # conditions
|
], # conditions
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче