diff options
author | Marco Nelissen <marcone@google.com> | 2012-10-25 16:05:57 -0700 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2012-10-25 16:05:57 -0700 |
commit | 7f16b197c76fbae9399242f055a7ee16dcd0fd6d (patch) | |
tree | c3ef4aac9bb7cedd1a694a50d4f9be0ec83cc817 /media/libeffects/preprocessing/PreProcessing.cpp | |
parent | 6035cb5a61a7606cc8e4ecddec32b2eb37a9fd56 (diff) | |
download | frameworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.zip frameworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.tar.gz frameworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.tar.bz2 |
Only export the symbols that need to be
The effects libraries were exporting many more symbols than needed.
This reduces the exported symbols to just the needed ones (basically
just "AELI"), which happens to also save about 28KB.
Change-Id: I115077e52e8dc845282e6f62a522908d26dd72d6
Diffstat (limited to 'media/libeffects/preprocessing/PreProcessing.cpp')
-rwxr-xr-x | media/libeffects/preprocessing/PreProcessing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libeffects/preprocessing/PreProcessing.cpp b/media/libeffects/preprocessing/PreProcessing.cpp index 58dc413..25586e8 100755 --- a/media/libeffects/preprocessing/PreProcessing.cpp +++ b/media/libeffects/preprocessing/PreProcessing.cpp @@ -1889,6 +1889,8 @@ int PreProcessingLib_GetDescriptor(const effect_uuid_t *uuid, return 0; } +// This is the only symbol that needs to be exported +__attribute__ ((visibility ("default"))) audio_effect_library_t AUDIO_EFFECT_LIBRARY_INFO_SYM = { tag : AUDIO_EFFECT_LIBRARY_TAG, version : EFFECT_LIBRARY_API_VERSION, |