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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/jar_file_jni_generator.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/android_exports.gyp
diff --git a/build/linker_script_copy.gyp b/build/android/android_exports.gyp
similarity index 55%
rename from build/linker_script_copy.gyp
rename to build/android/android_exports.gyp
index 8962725f8e67cbcfd491a11c59a14d54f2f6d823..c259eee3756c495e7198e1a2c922d2a4b2f1a6dd 100644
--- a/build/linker_script_copy.gyp
+++ b/build/android/android_exports.gyp
@@ -5,7 +5,7 @@
{
'targets': [
{
- 'target_name': 'linker_script_copy',
+ 'target_name': 'android_exports',
'type': 'none',
'inputs': [
'<(DEPTH)/build/android/android_exports.lst',
@@ -21,6 +21,19 @@
],
},
],
+ 'conditions': [
+ ['component=="static_library"', {
+ 'link_settings': {
+ 'ldflags': [
+ # Only export symbols that are specified in version script.
+ '-Wl,--version-script=<(android_linker_script)',
+ ],
+ 'ldflags!': [
+ '-Wl,--exclude-libs=ALL',
+ ],
+ },
+ }],
+ ],
},
],
}
« 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