diff options
author | Jan Ekström <jeebjp@gmail.com> | 2016-02-07 14:27:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-10 21:29:36 +0100 |
commit | ff0112e08df32e88549d142371d49a2a8ac8a798 (patch) | |
tree | d6499c8fb960025f898fca81d282c1842fa78135 /wscript | |
parent | a75f40e0d73d8d3686477aedbb51462c72d693fd (diff) | |
download | mpv-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')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -741,6 +741,10 @@ video_output_features = [ 'deps': [ 'win32' ], 'func': check_cc(header_name='d3d9.h'), }, { + 'name': '--android', + 'desc': 'Android support', + 'func': check_statement('android/api-level.h', '(void)__ANDROID__'), # arbitrary android-specific header + }, { # We need MMAL/bcm_host/dispmanx APIs. Also, most RPI distros require # every project to hardcode the paths to the include directories. Also, # these headers are so broken that they spam tons of warnings by merely |