chiark / gitweb /
do not set sdk_path in config.py if using system-provided aapt
authorHans-Christoph Steiner <hans@eds.org>
Tue, 9 Dec 2014 14:20:29 +0000 (15:20 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Sun, 14 Dec 2014 12:26:50 +0000 (13:26 +0100)
commit5f5bcd2e11f45277b865400de14ea8e820318804
treea8dff82a681e50d9ee01675d9d42c72b25c16564
parentfa1cc48d57a3b9b4a46ec814df819dd8c4fc057a
do not set sdk_path in config.py if using system-provided aapt

By not setting sdk_path when /usr/bin/aapt is found, sdk_path then defaults
to $ANDROID_HOME when its used.  Since in this case, aapt will be used from
the system path, using aapt entirely ignores sdk_path.  If the user runs
`fdroid build` in this setup, sdk_path will be $ANDROID_HOME, so it should
check the env vars for it, but maybe that doesn't actually work like that
yet.
examples/config.py
fdroidserver/common.py
fdroidserver/init.py