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

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

Issue 1557623002: Port //base/android/jni_generator/jni_generator.gyp to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « base/android/jni_generator/BUILD.gn ('k') | base/android/jni_generator/sample_for_tests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # GYP: //base/android/jni_generator:jni_generator_tests
7 { 8 {
8 'target_name': 'jni_generator_py_tests', 9 'target_name': 'jni_generator_py_tests',
9 'type': 'none', 10 'type': 'none',
10 'variables': { 11 'variables': {
11 'stamp': '<(INTERMEDIATE_DIR)/jni_generator_py_tests.stamp', 12 'stamp': '<(INTERMEDIATE_DIR)/jni_generator_py_tests.stamp',
12 }, 13 },
13 'actions': [ 14 'actions': [
14 { 15 {
15 'action_name': 'run_jni_generator_py_tests', 16 'action_name': 'run_jni_generator_py_tests',
16 'inputs': [ 17 'inputs': [
17 'jni_generator.py', 18 'jni_generator.py',
18 'jni_generator_tests.py', 19 'jni_generator_tests.py',
19 'java/src/org/chromium/example/jni_generator/SampleForTests.java', 20 'java/src/org/chromium/example/jni_generator/SampleForTests.java',
20 'golden_sample_for_tests_jni.h', 21 'golden_sample_for_tests_jni.h',
21 ], 22 ],
22 'outputs': [ 23 'outputs': [
23 '<(stamp)', 24 '<(stamp)',
24 ], 25 ],
25 'action': [ 26 'action': [
26 'python', 'jni_generator_tests.py', 27 'python', 'jni_generator_tests.py',
27 '--stamp=<(stamp)', 28 '--stamp=<(stamp)',
28 ], 29 ],
29 }, 30 },
30 ], 31 ],
31 }, 32 },
33 # GYP: //base/android/jni_generator:jni_sample_header
32 { 34 {
33 'target_name': 'jni_sample_header', 35 'target_name': 'jni_sample_header',
34 'type': 'none', 36 'type': 'none',
35 'sources': [ 37 'sources': [
36 'java/src/org/chromium/example/jni_generator/SampleForTests.java', 38 'java/src/org/chromium/example/jni_generator/SampleForTests.java',
37 ], 39 ],
38 'variables': { 40 'variables': {
39 'jni_gen_package': 'example', 41 'jni_gen_package': 'example',
40 }, 42 },
41 'includes': [ '../../../build/jni_generator.gypi' ], 43 'includes': [ '../../../build/jni_generator.gypi' ],
42 }, 44 },
45 # GYP: //base/android/jni_generator:jni_sample_java
43 { 46 {
44 'target_name': 'jni_sample_java', 47 'target_name': 'jni_sample_java',
45 'type': 'none', 48 'type': 'none',
46 'variables': { 49 'variables': {
47 'java_in_dir': '../../../base/android/jni_generator/java', 50 'java_in_dir': '../../../base/android/jni_generator/java',
48 }, 51 },
49 'dependencies': [ 52 'dependencies': [
50 '<(DEPTH)/base/base.gyp:base_java', 53 '<(DEPTH)/base/base.gyp:base_java',
51 ], 54 ],
52 'includes': [ '../../../build/java.gypi' ], 55 'includes': [ '../../../build/java.gypi' ],
53 }, 56 },
57 # GYP: //base/android/jni_generator:jni_generator_tests
54 { 58 {
55 'target_name': 'jni_generator_tests', 59 'target_name': 'jni_generator_tests',
56 'type': 'executable', 60 'type': 'executable',
57 'dependencies': [ 61 'dependencies': [
58 '../../base.gyp:test_support_base', 62 '../../base.gyp:test_support_base',
59 'jni_generator_py_tests', 63 'jni_generator_py_tests',
60 'jni_sample_header', 64 'jni_sample_header',
61 'jni_sample_java', 65 'jni_sample_java',
62 ], 66 ],
63 'sources': [ 67 'sources': [
64 'sample_for_tests.cc', 68 'sample_for_tests.cc',
65 ], 69 ],
66 }, 70 },
67 ], 71 ],
68 } 72 }
OLDNEW
« no previous file with comments | « base/android/jni_generator/BUILD.gn ('k') | base/android/jni_generator/sample_for_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698