Chromium Code Reviews| Index: content/shell/android/content_shell.gypi |
| diff --git a/content/shell/android/content_shell.gypi b/content/shell/android/content_shell.gypi |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7f87fb32df632e899d39c4eaa7c96bc313444a16 |
| --- /dev/null |
| +++ b/content/shell/android/content_shell.gypi |
| @@ -0,0 +1,39 @@ |
| +# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +{ |
| + 'conditions': [ |
| + ['OS=="android"', { |
| + 'targets': [ |
| + { |
| + 'target_name': 'content_shell_apk', |
| + 'message': 'building content shell package', |
| + 'type': 'none', |
| + 'actions': [ |
| + { |
| + 'action_name': 'content_shell_apk', |
| + 'inputs': [ |
| + '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
| + '<!@(find shell/android/java -name "*.java")', |
|
Ted C
2012/03/27 17:16:23
Not sure if we should start including other depend
Satish
2012/03/27 20:15:28
Ideally base/android/java should be listed as a de
|
| + ], |
| + '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', |
| + ] |
| + } |
| + ], |
| + }, |
| + ], |
| + }] |
| + ] |
| +} |