Skip to content

Commit cb0b399

Browse files
committed
Documented SDK and NDK setting kwargs to toolchain
1 parent 9662221 commit cb0b399

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

doc/source/commands.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,30 @@ command (though if irrelevant they may not have an effect).
2121
General arguments
2222
-----------------
2323

24-
These arguments may be passed to any command in order to modify its behaviour.
24+
These arguments may be passed to any command in order to modify its
25+
behaviour, though not all commands make use of them.
2526

2627
``--debug``
2728
Print extra debug information about the build, including all compilation output.
29+
30+
``--sdk_dir``
31+
The filepath where the Android SDK is installed. This can
32+
alternatively be set in several other ways.
33+
34+
``--android_api``
35+
The Android API level to target; python-for-android will check if
36+
the platform tools for this level are installed.
37+
38+
``--ndk_dir``
39+
The filepath where the Android NDK is installed. This can
40+
alternatively be set in several other ways.
41+
42+
``--ndk_version``
43+
The version of the NDK installed, important because the internal
44+
filepaths to build tools depend on this. This can alternatively be
45+
set in several other ways, or if your NDK dir contains a RELEASE.TXT
46+
containing the version this is automatically checked so you don't
47+
need to manually set it.
2848

2949

3050
Distribution arguments

0 commit comments

Comments
 (0)