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"', { | |
Mark Mentovai
2012/03/23 15:00:16
Because a condition has a [ and { on the same line
John Grabowski
2012/03/24 01:59:18
Done (2 cases)
Hopefully this works for you
| |
8 'targets': [ | |
9 { | |
10 'target_name': 'native_test_apk', | |
11 'message': 'building native test runner', | |
bulach
2012/03/23 10:30:48
nit: when I think about "runner", the host side py
John Grabowski
2012/03/24 01:59:18
Done.
| |
12 'type': 'none', | |
13 'actions': [ | |
14 { | |
15 'action_name': 'native_test_apk', | |
16 'inputs': [ | |
17 '<(DEPTH)/base/test/android/native_test_apk.xml', | |
18 '<!@(find test/android/java -name "*.java")', | |
19 'native_test_launcher.cc' | |
20 ], | |
21 'outputs': [ | |
22 # Awkwardly, we build a Debug APK even when gyp is in | |
23 # Release mode. I don't think it matters (e.g. we're | |
24 # probably happy to not codesign) but naming should be | |
25 # fixed. | |
26 '<(PRODUCT_DIR)/ChromeNativeTests-debug.apk', | |
27 ], | |
28 'action': [ | |
29 'ant', | |
30 '-DPRODUCT_DIR=<(PRODUCT_DIR)', | |
31 '-buildfile', | |
32 '<(DEPTH)/base/test/android/native_test_apk.xml', | |
33 ] | |
34 }, | |
35 ], | |
36 }, | |
37 ], | |
38 } | |
Mark Mentovai
2012/03/23 15:00:16
Something’s weird with the indentation here
| |
39 ] | |
40 ] | |
Mark Mentovai
2012/03/23 15:00:16
and here
| |
41 } | |
42 | |
Mark Mentovai
2012/03/23 15:00:16
Blank line at EOF.
| |
OLD | NEW |