Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
21439108
You need to sign in or sign up before continuing.
Commit
21439108
authored
Nov 23, 2015
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
{android,win32}/build.py: move code to python/build/dirs.py
parent
754b30a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
14 deletions
+11
-14
build.py
android/build.py
+1
-7
dirs.py
python/build/dirs.py
+9
-0
build.py
win32/build.py
+1
-7
No files found.
android/build.py
View file @
21439108
...
...
@@ -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'
)
...
...
python/build/dirs.py
0 → 100644
View file @
21439108
import
os.path
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'
)
win32/build.py
View file @
21439108
...
...
@@ -16,13 +16,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
,
host_arch
)
build_path
=
os
.
path
.
join
(
arch_path
,
'build'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment