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 'targets': [ | |
7 { | |
8 'target_name': 'jni_generator_py_tests', | |
9 'type': 'none', | |
10 'variables': { | |
11 'stamp': '<(INTERMEDIATE_DIR)/jni_generator_py_tests.stamp', | |
12 }, | |
13 'actions': [ | |
14 { | |
15 'action_name': 'run_jni_generator_py_tests', | |
16 'inputs': [ | |
17 'jni_generator.py', | |
18 'jni_generator_tests.py', | |
19 'java/src/org/chromium/example/jni_generator/SampleForTests.java', | |
20 'golden_sample_for_tests_jni.h', | |
21 ], | |
22 'outputs': [ | |
23 '<(stamp)', | |
24 ], | |
25 'action': [ | |
26 'python', 'jni_generator_tests.py', | |
27 '--stamp=<(stamp)', | |
28 ], | |
29 }, | |
30 ], | |
31 }, | |
32 { | |
33 'target_name': 'jni_sample_header', | |
34 'type': 'none', | |
35 'sources': [ | |
36 'java/src/org/chromium/example/jni_generator/SampleForTests.java', | |
37 ], | |
38 'variables': { | |
39 'jni_gen_package': 'example', | |
40 }, | |
41 'includes': [ '../../../build/jni_generator.gypi' ], | |
42 }, | |
43 { | |
44 'target_name': 'jni_sample_java', | |
45 'type': 'none', | |
46 'variables': { | |
47 'java_in_dir': '../../../base/android/jni_generator/java', | |
48 }, | |
49 'dependencies': [ | |
50 '<(DEPTH)/base/base.gyp:base_java', | |
51 ], | |
52 'includes': [ '../../../build/java.gypi' ], | |
53 }, | |
54 { | |
55 'target_name': 'jni_generator_tests', | |
56 'type': 'executable', | |
57 'dependencies': [ | |
58 '../../base.gyp:test_support_base', | |
59 'jni_generator_py_tests', | |
60 'jni_sample_header', | |
61 'jni_sample_java', | |
62 ], | |
63 'sources': [ | |
64 'sample_for_tests.cc', | |
65 ], | |
66 }, | |
67 ], | |
68 } | |
OLD | NEW |