Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: don't make mpv.desktop for android #15665

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ endif
darwin = host_machine.system() == 'darwin'
win32 = host_machine.system() == 'cygwin' or host_machine.system() == 'windows'
posix = not win32
android = host_machine.system() == 'android'

features += {'darwin': darwin}
features += {'posix': posix}
Expand Down Expand Up @@ -480,7 +481,7 @@ else
dvd_device = '/dev/dvd'
endif

features += {'android': host_machine.system() == 'android'}
features += {'android': android}
if features['android']
dependencies += cc.find_library('android')
sources += files('audio/out/ao_audiotrack.c',
Expand Down Expand Up @@ -1835,7 +1836,7 @@ if get_option('cplayer')
)
endif

if not win32 and not darwin
if not win32 and not darwin and not android
if meson.can_run_host_binaries()
mpv_protocols = custom_target('mpv_protocols',
output: 'mpv_protocols',
Expand Down
Loading