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

Side by Side Diff: build/jar_file_jni_generator.gypi

Issue 473173004: Refactor lazy JNI registration support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/android/android_exports.gyp ('k') | build/jni_generator.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 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ], 63 ],
64 # This target exports a hard dependency because it generates header 64 # This target exports a hard dependency because it generates header
65 # files. 65 # files.
66 'hard_dependency': 1, 66 'hard_dependency': 1,
67 'conditions': [ 67 'conditions': [
68 ['android_webview_build==1', { 68 ['android_webview_build==1', {
69 'variables': { 69 'variables': {
70 'native_exports%': '--native_exports', 70 'native_exports%': '--native_exports',
71 }, 71 },
72 'dependencies': [ 72 'dependencies': [
73 '<(DEPTH)/build/linker_script_copy.gyp:linker_script_copy', 73 '<(DEPTH)/build/android/android_exports.gyp:android_exports',
74 ],
75 'conditions': [
76 ['component=="static_library"', {
77 'link_settings': {
78 'ldflags': [
79 # Only export symbols that are specified in version script.
80 '-Wl,--version-script=<(android_linker_script)',
81 ],
82 'ldflags!': [
83 '-Wl,--exclude-libs=ALL',
84 ],
85 },
86 }],
87 ], 74 ],
88 }], 75 }],
89 ], 76 ],
90 } 77 }
OLDNEW
« no previous file with comments | « build/android/android_exports.gyp ('k') | build/jni_generator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698