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
e86015a7
Commit
e86015a7
authored
Mar 04, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
android/build.py: convert ndk_arch to local variable
parent
cf7ec2c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
build.py
android/build.py
+3
-3
No files found.
android/build.py
View file @
e86015a7
...
@@ -44,7 +44,7 @@ class AndroidNdkToolchain:
...
@@ -44,7 +44,7 @@ class AndroidNdkToolchain:
self
.
src_path
=
src_path
self
.
src_path
=
src_path
self
.
build_path
=
build_path
self
.
build_path
=
build_path
self
.
ndk_arch
=
'arm'
ndk_arch
=
'arm'
android_abi
=
'armeabi-v7a'
android_abi
=
'armeabi-v7a'
ndk_platform
=
'android-14'
ndk_platform
=
'android-14'
...
@@ -53,7 +53,7 @@ class AndroidNdkToolchain:
...
@@ -53,7 +53,7 @@ class AndroidNdkToolchain:
ndk_platform_path
=
os
.
path
.
join
(
ndk_path
,
'platforms'
,
ndk_platform
)
ndk_platform_path
=
os
.
path
.
join
(
ndk_path
,
'platforms'
,
ndk_platform
)
sysroot
=
os
.
path
.
join
(
ndk_path
,
'sysroot'
)
sysroot
=
os
.
path
.
join
(
ndk_path
,
'sysroot'
)
target_root
=
os
.
path
.
join
(
ndk_platform_path
,
'arch-'
+
self
.
ndk_arch
)
target_root
=
os
.
path
.
join
(
ndk_platform_path
,
'arch-'
+
ndk_arch
)
install_prefix
=
os
.
path
.
join
(
arch_path
,
'root'
)
install_prefix
=
os
.
path
.
join
(
arch_path
,
'root'
)
...
@@ -95,7 +95,7 @@ class AndroidNdkToolchain:
...
@@ -95,7 +95,7 @@ class AndroidNdkToolchain:
' '
+
common_flags
' '
+
common_flags
self
.
libs
=
''
self
.
libs
=
''
self
.
is_arm
=
self
.
ndk_arch
==
'arm'
self
.
is_arm
=
ndk_arch
==
'arm'
self
.
is_armv7
=
self
.
is_arm
and
'armv7'
in
self
.
cflags
self
.
is_armv7
=
self
.
is_arm
and
'armv7'
in
self
.
cflags
self
.
is_windows
=
False
self
.
is_windows
=
False
...
...
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