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

Side by Side Diff: build/android/android_exports.gyp

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 | « no previous file | build/jar_file_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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 { 7 {
8 'target_name': 'linker_script_copy', 8 'target_name': 'android_exports',
9 'type': 'none', 9 'type': 'none',
10 'inputs': [ 10 'inputs': [
11 '<(DEPTH)/build/android/android_exports.lst', 11 '<(DEPTH)/build/android/android_exports.lst',
12 ], 12 ],
13 'outputs': [ 13 'outputs': [
14 '<(android_linker_script)', 14 '<(android_linker_script)',
15 ], 15 ],
16 'copies': [ 16 'copies': [
17 { 17 {
18 'destination': '<(SHARED_INTERMEDIATE_DIR)', 18 'destination': '<(SHARED_INTERMEDIATE_DIR)',
19 'files': [ 19 'files': [
20 '<@(_inputs)', 20 '<@(_inputs)',
21 ], 21 ],
22 }, 22 },
23 ], 23 ],
24 'conditions': [
25 ['component=="static_library"', {
26 'link_settings': {
27 'ldflags': [
28 # Only export symbols that are specified in version script.
29 '-Wl,--version-script=<(android_linker_script)',
30 ],
31 'ldflags!': [
32 '-Wl,--exclude-libs=ALL',
33 ],
34 },
35 }],
36 ],
24 }, 37 },
25 ], 38 ],
26 } 39 }
OLDNEW
« no previous file with comments | « no previous file | build/jar_file_jni_generator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698