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