Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
e50192a4
Commit
e50192a4
authored
Jul 12, 2018
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use standard ANDROID_NDK_HOME instead of ANDROID_NDK
parent
c6fc0e58
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.MD
README.MD
+1
-1
build.py
build.py
+2
-2
No files found.
README.MD
View file @
e50192a4
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
1.
Python 3.5+: run
`build.py`
script
1.
Python 3.5+: run
`build.py`
script
2.
Java Development Kit (JDK) 8: Compile Magisk Manager and sign zips
2.
Java Development Kit (JDK) 8: Compile Magisk Manager and sign zips
3.
Latest Android SDK: set
`ANDROID_HOME`
environment variable to the path to Android SDK
3.
Latest Android SDK: set
`ANDROID_HOME`
environment variable to the path to Android SDK
4.
Android NDK: Install NDK along with SDK (
`$ANDROID_HOME/ndk-bundle`
), or optionally specify a custom path
`ANDROID_NDK`
4.
Android NDK: Install NDK along with SDK (
`$ANDROID_HOME/ndk-bundle`
), or optionally specify a custom path
`ANDROID_NDK
_HOME
`
5.
(Windows Only) Python package Colorama: Install with
`pip install colorama`
, used for ANSI color codes
5.
(Windows Only) Python package Colorama: Install with
`pip install colorama`
, used for ANSI color codes
## Building Notes and Instructions
## Building Notes and Instructions
...
...
build.py
View file @
e50192a4
...
@@ -36,8 +36,8 @@ import lzma
...
@@ -36,8 +36,8 @@ import lzma
import
base64
import
base64
import
tempfile
import
tempfile
if
'ANDROID_NDK'
in
os
.
environ
:
if
'ANDROID_NDK
_HOME
'
in
os
.
environ
:
ndk_build
=
os
.
path
.
join
(
os
.
environ
[
'ANDROID_NDK'
],
'ndk-build'
)
ndk_build
=
os
.
path
.
join
(
os
.
environ
[
'ANDROID_NDK
_HOME
'
],
'ndk-build'
)
else
:
else
:
ndk_build
=
os
.
path
.
join
(
os
.
environ
[
'ANDROID_HOME'
],
'ndk-bundle'
,
'ndk-build'
)
ndk_build
=
os
.
path
.
join
(
os
.
environ
[
'ANDROID_HOME'
],
'ndk-bundle'
,
'ndk-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