Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing
Commits: b47c302c by Arun Raghavan at 2018-10-28T14:56:54Z build: Fix project() invocation in meson build - - - - - 68285775 by Arun Raghavan at 2018-10-28T14:57:00Z build: Factor out common POSIX flag setting in meson build - - - - - 1 changed file: - meson.build Changes: ===================================== meson.build ===================================== @@ -1,4 +1,4 @@ -poject('webrtc-audio-processing', 'c', 'cpp', +project('webrtc-audio-processing', 'c', 'cpp', version : '0.3.1', meson_version : '>= 0.47', default_options : [ 'warning_level=1', @@ -21,19 +21,16 @@ if ['darwin', 'ios'].contains(host_system) if host_system == 'ios' os_cflags += ['-DWEBRTC_IOS'] endif - platform_cflags += ['-D WEBRTC_POSIX'] have_posix = true elif host_system == 'android' os_cflags += ['-DWEBRTC_ANDROID', '-DWEBRTC_LINUX', '-DWEBRTC_THREAD_RR', '-DWEBRTC_CLOCK_TYPE_REALTIME'] os_deps += [cc.find_library('log')] os_deps += [dependency('gnustl', required : get_option('gnustl'))] - platform_cflags += ['-DWEBRTC_POSIX'] have_posix = true elif host_system == 'linux' os_cflags += ['-DWEBRTC_LINUX', '-DWEBRTC_THREAD_RR'] os_deps += [cc.find_library('rt', required : false)] os_deps += [dependency('threads')] - platform_cflags += ['-DWEBRTC_POSIX'] have_posix = true elif host_system == 'windows' platform_cflags += ['-DWEBRTC_WIN', '-D_WIN32', '-U__STRICT_ANSI__'] @@ -41,6 +38,10 @@ elif host_system == 'windows' have_win = true endif +if have_posix + platform_cflags += ['-DWEBRTC_POSIX'] +endif + arch_cflags = [] have_arm = false have_armv7 = false View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/compare/eb398328abafc8287f1d9b8e1df7a64d6fc364a0...682857751b8a76f264e02d9e6541bb9736526bbf -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/compare/eb398328abafc8287f1d9b8e1df7a64d6fc364a0...682857751b8a76f264e02d9e6541bb9736526bbf You're receiving this email because of your account on gitlab.freedesktop.org.
_______________________________________________ pulseaudio-commits mailing list pulseaudio-commits@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits