chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8d7ed9
)
Allow SDK and NDK paths to be subsituted into prebuild commands
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 8 Apr 2012 08:07:39 +0000
(09:07 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 8 Apr 2012 08:07:39 +0000
(09:07 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 2d0c868cef91a61f147be723e0325e2f71ee5c02..e0204dc2188de02e8e5e80ef8c47e6aa8e439d11 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-895,6
+895,8
@@
def prepare_source(vcs, app, build, build_dir, extlib_dir, sdk_path, ndk_path, j
for name, libpath in srclibpaths:
libpath = os.path.relpath(libpath, root_dir)
prebuild = prebuild.replace('$$' + name + '$$', libpath)
+ prebuild = prebuild.replace('$$SDK$$', sdk_path)
+ prebuild = prebuild.replace('$$NDK$$', ndk_path)
if subprocess.call(prebuild, cwd=root_dir, shell=True) != 0:
raise BuildException("Error running pre-build command")