1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

AndroidTarget: Updated default executables_directory

Now defaults to '/data/local/tmp' which is both executable and writable
on all android devices, including production ones.
This commit is contained in:
Sebastian Goscik 2016-02-15 15:28:20 +00:00
parent 1424cebb90
commit ff8261e44b

View File

@ -880,7 +880,7 @@ class AndroidTarget(Target):
self.working_directory = '/data/local/tmp/devlib-target' self.working_directory = '/data/local/tmp/devlib-target'
self._file_transfer_cache = self.path.join(self.working_directory, '.file-cache') self._file_transfer_cache = self.path.join(self.working_directory, '.file-cache')
if self.executables_directory is None: if self.executables_directory is None:
self.executables_directory = self.path.join(self.working_directory, 'bin') self.executables_directory = '/data/local/tmp/bin'
def _ensure_executables_directory_is_writable(self): def _ensure_executables_directory_is_writable(self):
matched = [] matched = []