Merge pull request #87 from kiwix/android-license
Fix android sdk license change.
This commit is contained in:
commit
9fdc25a165
|
@ -809,7 +809,7 @@ class android_sdk(Toolchain):
|
||||||
context.try_skip(self.install_path)
|
context.try_skip(self.install_path)
|
||||||
os.makedirs(pj(self.install_path, 'licenses'), exist_ok=True)
|
os.makedirs(pj(self.install_path, 'licenses'), exist_ok=True)
|
||||||
with open(pj(self.install_path, 'licenses', 'android-sdk-license'), 'w') as f:
|
with open(pj(self.install_path, 'licenses', 'android-sdk-license'), 'w') as f:
|
||||||
f.write("\n8933bad161af4178b1185d1a37fbf41ea5269c55")
|
f.write("\n8933bad161af4178b1185d1a37fbf41ea5269c55\nd56f5187479451eabf01fb78af6dfcb131a6481e")
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
self.command('build_platform', self._build_platform)
|
self.command('build_platform', self._build_platform)
|
||||||
|
|
Loading…
Reference in New Issue