Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: base/android/jni_generator/jni_generator.gyp

Issue 9384011: Chrome on Android: adds jni_generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Wraps python and .h output at 80cols. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 'actions': [
11 {
12 'action_name': 'run_jni_generator_py_tests',
13 'inputs': [
14 'jni_generator.py',
15 'jni_generator_tests.py',
16 'SampleForTests.java',
17 'golden_sample_for_tests_jni.h',
18 ],
19 'outputs': [
20 '',
21 ],
22 'action': [
23 'python', 'jni_generator_tests.py',
24 ],
25 },
26 ],
27 },
28 {
29 'target_name': 'jni_sample_header',
30 'type': 'none',
31 'actions': [
32 {
33 'action_name': 'generate_jni_sample_header',
34 'inputs': [
35 'jni_generator.py',
36 'SampleForTests.java',
37 ],
38 'outputs': [
39 '<(SHARED_INTERMEDIATE_DIR)/base/jni/sample_for_tests_jni.h',
40 ],
41 'action': [
42 'python',
43 'jni_generator.py',
44 '-o',
45 '<@(_inputs)',
46 '<@(_outputs)',
47 ],
48 },
49 ],
50 },
51 {
52 'target_name': 'jni_generator_tests',
53 'type': 'executable',
54 'dependencies': [
55 '../../base.gyp:test_support_base',
56 'jni_generator_py_tests',
57 'jni_sample_header',
58 ],
59 'include_dirs': [
60 '<(SHARED_INTERMEDIATE_DIR)/base',
61 ],
62 'sources': [
63 'sample_for_tests.cc',
64 ],
65 },
66 ],
67 }
OLDNEW
« no previous file with comments | « base/android/jni_generator/golden_sample_for_tests_jni.h ('k') | base/android/jni_generator/jni_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698