OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'jni_generator_py_tests', | 8 'target_name': 'jni_generator_py_tests', |
9 'type': 'none', | 9 'type': 'none', |
| 10 'variables': { |
| 11 'stamp': '<(INTERMEDIATE_DIR)/jni_generator_py_tests.stamp', |
| 12 }, |
10 'actions': [ | 13 'actions': [ |
11 { | 14 { |
12 'action_name': 'run_jni_generator_py_tests', | 15 'action_name': 'run_jni_generator_py_tests', |
13 'inputs': [ | 16 'inputs': [ |
14 'jni_generator.py', | 17 'jni_generator.py', |
15 'jni_generator_tests.py', | 18 'jni_generator_tests.py', |
16 'java/src/org/chromium/example/jni_generator/SampleForTests.java', | 19 'java/src/org/chromium/example/jni_generator/SampleForTests.java', |
17 'golden_sample_for_tests_jni.h', | 20 'golden_sample_for_tests_jni.h', |
18 ], | 21 ], |
19 'outputs': [ | 22 'outputs': [ |
20 '', | 23 '<(stamp)', |
21 ], | 24 ], |
22 'action': [ | 25 'action': [ |
23 'python', 'jni_generator_tests.py', | 26 'python', 'jni_generator_tests.py', |
| 27 '--stamp=<(stamp)', |
24 ], | 28 ], |
25 }, | 29 }, |
26 ], | 30 ], |
27 }, | 31 }, |
28 { | 32 { |
29 'target_name': 'jni_sample_header', | 33 'target_name': 'jni_sample_header', |
30 'type': 'none', | 34 'type': 'none', |
31 'sources': [ | 35 'sources': [ |
32 'java/src/org/chromium/example/jni_generator/SampleForTests.java', | 36 'java/src/org/chromium/example/jni_generator/SampleForTests.java', |
33 ], | 37 ], |
(...skipping 21 matching lines...) Expand all Loading... |
55 'jni_generator_py_tests', | 59 'jni_generator_py_tests', |
56 'jni_sample_header', | 60 'jni_sample_header', |
57 'jni_sample_java', | 61 'jni_sample_java', |
58 ], | 62 ], |
59 'sources': [ | 63 'sources': [ |
60 'sample_for_tests.cc', | 64 'sample_for_tests.cc', |
61 ], | 65 ], |
62 }, | 66 }, |
63 ], | 67 ], |
64 } | 68 } |
OLD | NEW |