summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2016-02-07 14:27:46 +0200
committerwm4 <wm4@nowhere>2016-02-10 21:29:36 +0100
commitff0112e08df32e88549d142371d49a2a8ac8a798 (patch)
treed6499c8fb960025f898fca81d282c1842fa78135 /wscript_build.py
parenta75f40e0d73d8d3686477aedbb51462c72d693fd (diff)
downloadmpv-ff0112e08df32e88549d142371d49a2a8ac8a798.tar.bz2
mpv-ff0112e08df32e88549d142371d49a2a8ac8a798.tar.xz
Initial Android support
* Adds an 'android' feature, which is automatically detected. * Android has a broken strnlen, so a wrapper is added from FreeBSD.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index d06a80f1e6..af88977b2b 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -396,6 +396,7 @@ def build(ctx):
( "osdep/windows_utils.c", "win32" ),
( "osdep/mpv.rc", "win32-executable" ),
( "osdep/win32/pthread.c", "win32-internal-pthreads"),
+ ( "osdep/android/strnlen.c", "android"),
## tree_allocator
"ta/ta.c", "ta/ta_talloc.c", "ta/ta_utils.c"