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

Unified Diff: content/content_tests.gypi

Issue 10916264: Revert 156233 - Make apks be built in a consistent way (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/android/java/content_shell_apk.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_tests.gypi
===================================================================
--- content/content_tests.gypi (revision 156307)
+++ content/content_tests.gypi (working copy)
@@ -879,13 +879,35 @@
'../net/net.gyp:net_javatests',
'../tools/android/forwarder/forwarder.gyp:forwarder',
],
- 'variables': {
- 'package_name': 'content_shell_test',
- 'apk_name': 'ContentShellTest',
- 'java_in_dir': 'shell/android/javatests',
- 'resource_dir': 'shell/android/res',
- },
- 'includes': [ '../build/java_apk.gypi' ],
+ 'actions': [
+ {
+ 'action_name': 'content_shell_test_generate_apk',
+ 'inputs': [
+ '../build/android/ant/common.xml',
+ '../build/android/ant/sdk-targets.xml',
+ '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk.xml',
+ '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml',
+ '>@(input_jars_paths)',
+ '<!@(find <(DEPTH)/content/shell/android/javatests/ -name "*.java")'
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk',
+ ],
+ '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)/content/shell/android/javatests/content_shell_test_apk.xml',
+ ]
+ }
+ ],
},
],
}],
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/android/java/content_shell_apk.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698