summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-05-31 21:26:18 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-05-31 21:26:18 +0000
commit70b81e65cceb83b8933c7da7bdae2ce709404998 (patch)
treea9415ac980bd144dfd08e9eda41b8d6066de47e0 /firmware
parent1aadfb2229d7105d19d321079acaede1e4f63a3f (diff)
downloadrockbox-70b81e65cceb83b8933c7da7bdae2ce709404998.tar.gz
rockbox-70b81e65cceb83b8933c7da7bdae2ce709404998.zip
Android: install codecs as native libs instead of extracting them (FS#12134).
Codec files are loaded as dynamic libraries. Instead of extracting them from the packaged libmisc.so and therefore having them present twice on the device put them into the apk as native libraries. Decreases the size of the installed Rockbox by the compressed size of the codecs. Also, the extraction on first Rockbox startup gets notably faster since it's less data to extract. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29940 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/rbpaths.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/rbpaths.h b/firmware/export/rbpaths.h
index ade7894091..74d26f93d3 100644
--- a/firmware/export/rbpaths.h
+++ b/firmware/export/rbpaths.h
@@ -60,7 +60,11 @@
60#else /* application */ 60#else /* application */
61 61
62#define PLUGIN_DIR ROCKBOX_LIBRARY_PATH "/rockbox/rocks" 62#define PLUGIN_DIR ROCKBOX_LIBRARY_PATH "/rockbox/rocks"
63#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
64#define CODECS_DIR ROCKBOX_BINARY_PATH
65#else
63#define CODECS_DIR ROCKBOX_LIBRARY_PATH "/rockbox/codecs" 66#define CODECS_DIR ROCKBOX_LIBRARY_PATH "/rockbox/codecs"
67#endif
64 68
65#define REC_BASE_DIR ROCKBOX_DIR "/" 69#define REC_BASE_DIR ROCKBOX_DIR "/"
66#define PLAYLIST_CATALOG_DEFAULT_DIR ROCKBOX_DIR "/Playlists" 70#define PLAYLIST_CATALOG_DEFAULT_DIR ROCKBOX_DIR "/Playlists"