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

Side by Side Diff: build/jni_generator.gypi

Issue 12314025: Add gyp flag to specify whether we should optimize JNI generation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment. Created 7 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
« no previous file with comments | « build/jar_file_jni_generator.gypi ('k') | no next file » | 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 29 matching lines...) Expand all
40 ], 40 ],
41 'outputs': [ 41 'outputs': [
42 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_dir)/jni/<(RULE_INPUT_ROOT)_jni.h' , 42 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_dir)/jni/<(RULE_INPUT_ROOT)_jni.h' ,
43 ], 43 ],
44 'action': [ 44 'action': [
45 '<(jni_generator)', 45 '<(jni_generator)',
46 '--input_file', 46 '--input_file',
47 '<(RULE_INPUT_PATH)', 47 '<(RULE_INPUT_PATH)',
48 '--output_dir', 48 '--output_dir',
49 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_dir)/jni', 49 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_dir)/jni',
50 '--optimize_generation',
51 '<(optimize_jni_generation)',
50 ], 52 ],
51 'message': 'Generating JNI bindings from <(RULE_INPUT_PATH)', 53 'message': 'Generating JNI bindings from <(RULE_INPUT_PATH)',
52 'process_outputs_as_sources': 1, 54 'process_outputs_as_sources': 1,
53 }, 55 },
54 ], 56 ],
55 # This target exports a hard dependency because it generates header 57 # This target exports a hard dependency because it generates header
56 # files. 58 # files.
57 'hard_dependency': 1, 59 'hard_dependency': 1,
58 } 60 }
OLDNEW
« no previous file with comments | « build/jar_file_jni_generator.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698