aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rwxr-xr-xandroid/build.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/android/build.py b/android/build.py
index 4ff9ec71e..56ef1f790 100755
--- a/android/build.py
+++ b/android/build.py
@@ -27,13 +27,7 @@ mpd_path = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]) or '.', '..
sys.path[0] = os.path.join(mpd_path, 'python')
# output directories
-lib_path = os.path.abspath('lib')
-
-shared_path = lib_path
-if 'MPD_SHARED_LIB' in os.environ:
- shared_path = os.environ['MPD_SHARED_LIB']
-tarball_path = os.path.join(shared_path, 'download')
-src_path = os.path.join(shared_path, 'src')
+from build.dirs import lib_path, tarball_path, src_path
arch_path = os.path.join(lib_path, arch)
build_path = os.path.join(arch_path, 'build')