OLD | NEW |
---|---|
(Empty) | |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'conditions': [ | |
7 ['OS=="android"', { | |
8 'targets': [ | |
9 { | |
10 'target_name': 'content_shell_apk', | |
11 'message': 'building content shell package', | |
12 'type': 'none', | |
13 'actions': [ | |
14 { | |
15 'action_name': 'content_shell_apk', | |
16 'inputs': [ | |
17 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | |
18 '<!@(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
| |
19 ], | |
20 'outputs': [ | |
21 # Awkwardly, we build a Debug APK even when gyp is in | |
22 # Release mode. I don't think it matters (e.g. we're | |
23 # probably happy to not codesign) but naming should be | |
24 # fixed. | |
25 '<(PRODUCT_DIR)/ContentShell-debug.apk', | |
26 ], | |
27 'action': [ | |
28 'ant', | |
29 '-DPRODUCT_DIR=<(PRODUCT_DIR)', | |
30 '-buildfile', | |
31 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | |
32 ] | |
33 } | |
34 ], | |
35 }, | |
36 ], | |
37 }] | |
38 ] | |
39 } | |
OLD | NEW |