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

Unified Diff: content/content_shell.gypi

Issue 9860032: Add skeleton of content shell for android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « build/all_android.gyp ('k') | content/shell/android/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 49fdafbf6df20209fa47d5f4bab9e59da0980b57..3e346afb3cc76f59290873616c63b26e6aedee79 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -440,5 +440,35 @@
}, # target content_shell_helper_app
],
}], # OS=="mac"
- ],
+ ['OS=="android"', {
+ 'targets': [
+ {
+ 'target_name': 'content_shell_apk',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'content_shell_apk',
+ 'inputs': [
+ '<(DEPTH)/content/shell/android/content_shell_apk.xml',
+ '<!@(find shell/android/java -name "*.java")',
+ ],
+ 'outputs': [
+ # Awkwardly, we build a Debug APK even when gyp is in
+ # 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',
+ ],
+ 'action': [
+ 'ant',
+ '-DPRODUCT_DIR=<(PRODUCT_DIR)',
+ '-buildfile',
+ '<(DEPTH)/content/shell/android/content_shell_apk.xml',
+ ]
+ }
+ ],
+ },
+ ],
+ }], # OS=="android"
+ ]
}
« no previous file with comments | « build/all_android.gyp ('k') | content/shell/android/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698