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

Side by Side Diff: build/jar_file_jni_generator.gypi

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebaes, added native_exports switch, don't remove empty RegisterNatives. Created 6 years, 8 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
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 system Java-files in a consistent manner. 6 # to generate jni bindings for system 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': 'android_jar_jni_headers', 10 # 'target_name': 'android_jar_jni_headers',
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 '-j', 47 '-j',
48 '<(input_jar_file)', 48 '<(input_jar_file)',
49 '--input_file', 49 '--input_file',
50 '<(input_java_class)', 50 '<(input_java_class)',
51 '--output_dir', 51 '--output_dir',
52 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_package)/jni', 52 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_package)/jni',
53 '--includes', 53 '--includes',
54 '<(jni_generator_includes)', 54 '<(jni_generator_includes)',
55 '--optimize_generation', 55 '--optimize_generation',
56 '<(optimize_jni_generation)', 56 '<(optimize_jni_generation)',
57 '--native_exports',
57 ], 58 ],
58 'message': 'Generating JNI bindings from <(input_jar_file)/<(input_java_c lass)', 59 'message': 'Generating JNI bindings from <(input_jar_file)/<(input_java_c lass)',
59 'process_outputs_as_sources': 1, 60 'process_outputs_as_sources': 1,
60 }, 61 },
61 ], 62 ],
62 # This target exports a hard dependency because it generates header 63 # This target exports a hard dependency because it generates header
63 # files. 64 # files.
64 'hard_dependency': 1, 65 'hard_dependency': 1,
65 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698