Commit ab99a579 authored by Max Kellermann's avatar Max Kellermann

test/meson.build: reduce test_translate_song. dependencies

parent c8ebaf35
...@@ -31,4 +31,3 @@ storage_glue_dep = declare_dependency( ...@@ -31,4 +31,3 @@ storage_glue_dep = declare_dependency(
storage_plugins_dep, storage_plugins_dep,
], ],
) )
...@@ -288,7 +288,8 @@ if enable_database ...@@ -288,7 +288,8 @@ if enable_database
dependencies: [ dependencies: [
log_dep, log_dep,
tag_dep, tag_dep,
storage_glue_dep, fs_dep,
storage_plugins_dep,
gtest_dep, gtest_dep,
], ],
), ),
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "ls.hxx" #include "ls.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "db/DatabaseSong.hxx" #include "db/DatabaseSong.hxx"
#include "storage/Registry.hxx"
#include "storage/StorageInterface.hxx" #include "storage/StorageInterface.hxx"
#include "storage/plugins/LocalStorage.hxx" #include "storage/plugins/LocalStorage.hxx"
#include "Mapper.hxx" #include "Mapper.hxx"
...@@ -36,6 +37,13 @@ uri_supported_scheme(const char *uri) noexcept ...@@ -36,6 +37,13 @@ uri_supported_scheme(const char *uri) noexcept
return strncmp(uri, "http://", 7) == 0; return strncmp(uri, "http://", 7) == 0;
} }
const StoragePlugin *
GetStoragePluginByUri(const char *) noexcept
{
// dummy symbol
return nullptr;
}
static constexpr auto music_directory = PATH_LITERAL("/music"); static constexpr auto music_directory = PATH_LITERAL("/music");
static Storage *storage; static Storage *storage;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment