diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-30 11:44:06 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-30 11:44:06 +0000 |
commit | cc66d28a65f8c76c50d44f999b0629a376f13d12 (patch) | |
tree | d8f64d665d9ca7027b2fec5f5039bd970ccae44e /content/content_shell.gypi | |
parent | a6cca85b50acf85e7c0ad2a573e10ef5ccace08d (diff) | |
download | chromium_src-cc66d28a65f8c76c50d44f999b0629a376f13d12.zip chromium_src-cc66d28a65f8c76c50d44f999b0629a376f13d12.tar.gz chromium_src-cc66d28a65f8c76c50d44f999b0629a376f13d12.tar.bz2 |
Add skeleton of content shell for android.
This is heavily based on http://codereview.chromium.org/9834037/ which added
an APK-based test runner for android. This CL adds a content_shell_apk target
for android containing an empty activity.
BUG=118591
TEST=build/test/install ContentShell-debug.apk on device
Review URL: http://codereview.chromium.org/9860032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_shell.gypi')
-rw-r--r-- | content/content_shell.gypi | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/content/content_shell.gypi b/content/content_shell.gypi index 47a5c0b..85607fd 100644 --- a/content/content_shell.gypi +++ b/content/content_shell.gypi @@ -442,5 +442,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" + ] } |