build: only test for all Android SDK paths where it is needed

Now that androguard can be used, the android-sdk is no longer required for
most operations.
This commit is contained in:
Hans-Christoph Steiner 2018-06-22 23:26:15 +02:00
parent 669401640a
commit d20e8613fe
2 changed files with 6 additions and 5 deletions

View file

@ -437,11 +437,6 @@ def test_sdk_exists(thisconfig):
logging.critical(_("Android SDK path '{path}' is not a directory!")
.format(path=thisconfig['sdk_path']))
return False
for d in ['build-tools', 'platform-tools', 'tools']:
if not os.path.isdir(os.path.join(thisconfig['sdk_path'], d)):
logging.critical(_("Android SDK '{path}' does not have '{dirname}' installed!")
.format(path=thisconfig['sdk_path'], dirname=d))
return False
return True