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

Side by Side Diff: trunk/src/build/jni_generator.gypi

Issue 326603002: Revert 275652 "Remove unneeded JNI registrations." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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
« no previous file with comments | « trunk/src/build/jar_file_jni_generator.gypi ('k') | trunk/src/mojo/mojo_public.gypi » ('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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to generate jni bindings for Java-files in a consistent manner. 6 # to generate jni bindings for Java-files in a consistent manner.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # { 9 # {
10 # 'target_name': 'base_jni_headers', 10 # 'target_name': 'base_jni_headers',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 '--output_dir', 54 '--output_dir',
55 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_package)/jni', 55 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_package)/jni',
56 '--includes', 56 '--includes',
57 '<(jni_generator_includes)', 57 '<(jni_generator_includes)',
58 '--optimize_generation', 58 '--optimize_generation',
59 '<(optimize_jni_generation)', 59 '<(optimize_jni_generation)',
60 '--jarjar', 60 '--jarjar',
61 '<(jni_generator_jarjar_file)', 61 '<(jni_generator_jarjar_file)',
62 '--ptr_type', 62 '--ptr_type',
63 '<(jni_generator_ptr_type)', 63 '<(jni_generator_ptr_type)',
64 '--native_exports',
65 ], 64 ],
66 'message': 'Generating JNI bindings from <(RULE_INPUT_PATH)', 65 'message': 'Generating JNI bindings from <(RULE_INPUT_PATH)',
67 'process_outputs_as_sources': 1, 66 'process_outputs_as_sources': 1,
68 'conditions': [ 67 'conditions': [
69 ['jni_generator_jarjar_file != ""', { 68 ['jni_generator_jarjar_file != ""', {
70 'inputs': [ 69 'inputs': [
71 '<(jni_generator_jarjar_file)', 70 '<(jni_generator_jarjar_file)',
72 ], 71 ],
73 }] 72 }]
74 ], 73 ],
75 }, 74 },
76 ], 75 ],
77 'direct_dependent_settings': { 76 'direct_dependent_settings': {
78 'include_dirs': [ 77 'include_dirs': [
79 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_package)', 78 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_package)',
80 ], 79 ],
81 }, 80 },
82 # This target exports a hard dependency because it generates header 81 # This target exports a hard dependency because it generates header
83 # files. 82 # files.
84 'hard_dependency': 1, 83 'hard_dependency': 1,
85 } 84 }
OLDNEW
« no previous file with comments | « trunk/src/build/jar_file_jni_generator.gypi ('k') | trunk/src/mojo/mojo_public.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698