| 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',
|
| + ],
|
| + },
|
| + }],
|
| + ],
|
| },
|
| ],
|
| }
|
|
|