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

Unified Diff: chrome/chrome_tests.gypi

Issue 10943014: Add support for the ChromiumTestShellTest APK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated gyp/ant rules Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« chrome/chrome_android.gypi ('K') | « chrome/chrome_android.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_tests.gypi
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index 0d6431f5fd11802038ee19ea6fd90b180f0818b3..e53e33dda58cacf541f504e53af9c3927666c768 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -4701,6 +4701,51 @@
},
],
}],
+ ['OS == "android" and sdk_build==1', {
Ted C 2012/09/19 21:18:49 any reason for the sdk_build=1? Shouldn't this wo
David Trainor- moved to gerrit 2012/09/20 02:28:17 ant requires the sdk, so need this downstream at l
+ 'targets': [
+ {
+ 'target_name': 'chromium_testshell_test_apk',
+ 'type': 'none',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/base.gyp:base_java_test_support',
+ 'chrome_java',
+ 'chromium_testshell',
+ '../tools/android/forwarder/forwarder.gyp:forwarder',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'chromium_testshell_test_generate_apk',
+ 'inputs': [
+ '../build/android/ant/common.xml',
+ '../build/android/ant/sdk-targets.xml',
+ '<(DEPTH)/chrome/android/testshell/javatests/chromium_testshell_test_apk.xml',
+ '<(DEPTH)/chrome/android/testshell/javatests/AndroidManifest.xml',
+ '>@(input_jars_paths)',
+ '<!@(find <(DEPTH)/chrome/android/testshell/javatests/ -name "*.java")'
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/apks/ChromiumTestShellTest-debug.apk',
+ '<(PRODUCT_DIR)/test.lib.java/ChromiumTestShellTest-debug.jar',
+ ],
+ 'action': [
+ 'ant',
+ '-DPRODUCT_DIR=<(ant_build_out)',
+ '-DAPP_ABI=<(android_app_abi)',
+ '-DANDROID_SDK=<(android_sdk)',
+ '-DANDROID_SDK_ROOT=<(android_sdk_root)',
+ '-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
+ '-DANDROID_SDK_VERSION=<(android_sdk_version)',
+ '-DANDROID_GDBSERVER=<(android_gdbserver)',
+ '-DINPUT_JARS_PATHS=>(input_jars_paths)',
+ '-buildfile',
+ '<(DEPTH)/chrome/android/testshell/javatests/chromium_testshell_test_apk.xml',
+ ]
+ }
+ ]
+ },
+ ],
+ }],
['test_isolation_mode != "noop"', {
'targets': [
{
« chrome/chrome_android.gypi ('K') | « chrome/chrome_android.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698