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

Unified Diff: content/content_shell.gypi

Issue 10700167: Adds ContentShellTest.apk and very simple test. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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 | « no previous file | content/shell/android/javatests/AndroidManifest.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_shell.gypi
diff --git a/content/content_shell.gypi b/content/content_shell.gypi
index 4f202e8673dcd0f9838c434e7036ce3a8c7329a6..739b4cc831a63262017213ee7a431d59273fcfcd 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -578,7 +578,7 @@
'--strip-unneeded', # All symbols not needed for relocation.
'<@(_inputs)',
'-o',
- '<@(_outputs)'
+ '<@(_outputs)',
],
},
{
@@ -599,7 +599,7 @@
# Release mode. I don't think it matters (e.g. we're
# probably happy to not codesign) but naming should be
# fixed.
- '<(PRODUCT_DIR)/ContentShell-debug.apk',
+ '<(PRODUCT_DIR)/content_shell/ContentShell-debug.apk',
],
'action': [
'ant',
@@ -611,6 +611,32 @@
}
],
},
+ {
+ 'target_name': 'content_shell_test_apk',
+ 'type': 'none',
+ 'dependencies': [
+ 'content_shell_apk',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'content_shell_test_generate_apk',
+ 'inputs': [
+ '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk.xml',
+ '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk',
+ ],
+ 'action': [
+ 'ant',
+ '-DPRODUCT_DIR=<(ant_build_out)',
+ '-DAPP_ABI=<(android_app_abi)',
+ '-buildfile',
+ '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk.xml',
+ ]
+ }
+ ],
+ },
],
}], # OS=="android"
]
« no previous file with comments | « no previous file | content/shell/android/javatests/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698