all ndk paths in config must be strings

The paths in the config must be strings because they are used in things
like env vars where they must be strings.  Plus lots of other places in the
code assumes they are strings.  This is the first step to defining the
border of where paths can be pathlib.Path() and where they must be strings.
This commit is contained in:
Hans-Christoph Steiner 2023-03-27 15:54:43 +02:00
parent 898624dcac
commit 36d2a8f899
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
4 changed files with 45 additions and 2 deletions

View file

@ -116,6 +116,7 @@ env = None
orig_path = None
# All paths in the config must be strings, never pathlib.Path instances
default_config = {
'sdk_path': "$ANDROID_HOME",
'ndk_paths': {},