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

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: Removed extra .gypi file 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
Index: content/content_shell.gypi
diff --git a/content/content_shell.gypi b/content/content_shell.gypi
index aeecdffda801b1e5d5ee5b1643d9c1f3e51f9e15..d34732f5238999c7d05b3de2392a9895fbd78b71 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -436,5 +436,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"
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698