Matthieu Gautier
86c1547f88
Allow kiwix-build to build android APK.
...
Previous script (from kiwix repository) created a APK with all architecture embeded.
Now, we generated a APK per architecture. It simplify the build process and
generate smaller APKs.
2017-04-24 15:26:51 +02:00
Matthieu Gautier
a49fb15964
BuildEnv.run_command now take a str as input instead of a file object.
...
We can get a str from a file object. The contrary is more difficult.
2017-04-24 14:53:50 +02:00
Matthieu Gautier
0199092f62
Clone git repository with a depth of one.
...
This avoid downloading all the history.
With recent git, a `git fetch --unshallow` allow a user to get all
the history if needed.
2017-04-24 14:13:01 +02:00
Matthieu Gautier
6d13ee8a4e
Use the git_dir to clone the repository in the right directory.
2017-04-24 14:13:01 +02:00
Matthieu Gautier
308cfa6986
Use dependency names as reference instead of class names.
...
Class names are implementation names.
Using the dependency names is better as it surprise less the user.
2017-04-08 18:19:17 +02:00
Matthieu Gautier
a212ec622b
Allow a dependency to have _post_prepare_script in this GitClone source.
2017-03-28 10:10:12 +02:00
Matthieu Gautier
29bba313bc
[API change] Use just one option to specify the build target.
...
There is no more option for static or share build. This value is
integrated in the build-target.
2017-03-13 13:18:14 +01:00
Matthieu Gautier
dd7a0660c0
Allow the use of pre/post build script in dependencies.
2017-03-13 13:18:14 +01:00
Matthieu Gautier
92c1a5513a
Move some variables definition in a property instead of classic calculus.
2017-03-13 13:18:14 +01:00
Matthieu Gautier
bd4e7d3550
Move some common options for static/shared libs in the common class.
2017-03-13 13:18:14 +01:00
Matthieu Gautier
00acba9ee9
Add the notion of toolschain.
...
- For now, only the win32 is here.
- There no more nativeBuilEnv as the buildEnv can launch command without
using the toolschain.
2017-03-13 13:18:14 +01:00
Matthieu Gautier
ffee068fd0
Split the too long kiwix-build.py file into several smaller ones.
2017-03-13 13:18:14 +01:00