Ignore:
Timestamp:
Dec 28, 2016 3:40:07 AM (7 years ago)
Author:
nanang
Message:

Re #1900: More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).

Location:
pjproject/branches/projects/uwp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp

  • pjproject/branches/projects/uwp/pjmedia/build/os-auto.mak.in

    r5199 r5513  
    33# Define the desired video device backend 
    44# Valid values are: 
    5 #   - mac_os 
    6 #   - iphone_os 
     5#   - darwin_os 
    76#   - android_os 
    87AC_PJMEDIA_VIDEO = @ac_pjmedia_video@ 
     
    2221# QT 
    2322AC_PJMEDIA_VIDEO_HAS_QT = @ac_pjmedia_video_has_qt@ 
    24 QT_CFLAGS = @ac_qt_cflags@ 
    25  
    26 # iOS 
    27 IOS_CFLAGS = @ac_ios_cflags@ 
     23# QT_CFLAGS = @ac_qt_cflags@ 
     24 
     25# Darwin (Mac and iOS) 
     26DARWIN_CFLAGS = @ac_darwin_cflags@ 
    2827 
    2928# Android 
    3029ANDROID_CFLAGS = @ac_android_cflags@ 
    31  
    32 # libyuv 
    33 LIBYUV_CFLAGS = @ac_libyuv_cflags@ 
    34 LIBYUV_LDFLAGS = @ac_libyuv_ldflags@ 
    3530 
    3631# openh264 
     
    3833OPENH264_LDFLAGS = @ac_openh264_ldflags@ 
    3934 
    40 # WebRtc 
    41 WEBRTC_CFLAGS = @ac_webrtc_cflags@ 
    42 WEBRTC_LDFLAGS = @ac_webrtc_ldflags@ 
    43  
    4435 
    4536# PJMEDIA features exclusion 
    4637export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_speex_aec@ \ 
    4738                 $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) $(QT_CFLAGS) \ 
    48                  $(IOS_CFLAGS) $(ANDROID_CFLAGS) $(LIBYUV_CFLAGS) \ 
    49                  $(OPENH264_CFLAGS) $(WEBRTC_CFLAGS) 
     39                 $(DARWIN_CFLAGS) $(ANDROID_CFLAGS) \ 
     40                 $(OPENH264_CFLAGS) 
    5041export LDFLAGS += $(SDL_LDFLAGS) $(FFMPEG_LDFLAGS) $(V4L2_LDFLAGS) \ 
    51                   $(LIBYUV_LDFLAGS) $(OPENH264_LDFLAGS) $(WEBRTC_LDFLAGS) 
     42                  $(OPENH264_LDFLAGS) 
    5243 
    5344# Define the desired sound device backend 
     
    192183# PortAudio 
    193184# 
    194 ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) 
    195185ifeq (@ac_external_pa@,1) 
    196186# External PA 
    197187export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 
    198 else 
    199 # Our PA in third_party 
    200 export CFLAGS += -I$(THIRD_PARTY)/build/portaudio \ 
    201                  -I$(THIRD_PARTY)/portaudio/include \ 
    202                  -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 
    203 endif 
    204 endif 
     188endif 
     189 
     190# 
     191# libyuv 
     192# 
     193ifeq (@ac_no_yuv@,1) 
     194export CFLAGS += -DPJMEDIA_HAS_LIBYUV=0 
     195else 
     196export CFLAGS += -DPJMEDIA_HAS_LIBYUV=1 
     197ifeq (@ac_external_yuv@,0) 
     198export CFLAGS += -I$(THIRD_PARTY)/yuv/include 
     199endif 
     200endif 
     201 
     202# 
     203# libwebrtc 
     204# 
     205ifeq (@ac_no_webrtc@,1) 
     206export CFLAGS += -DPJMEDIA_HAS_WEBRTC_AEC=0 
     207else 
     208export CFLAGS += -DPJMEDIA_HAS_WEBRTC_AEC=1 
     209ifneq ($(findstring arm,$(@ac_webrtc_instset@)),) 
     210export CFLAGS += -DPJMEDIA_WEBRTC_AEC_USE_MOBILE=1 
     211endif 
     212 
     213ifeq (@ac_external_webrtc@,0) 
     214export CFLAGS += -I$(THIRD_PARTY)/webrtc/src 
     215endif 
     216endif 
     217 
    205218 
    206219# 
     
    256269 
    257270# 
    258 # iOS video device 
    259 # 
    260 ifeq ($(AC_PJMEDIA_VIDEO),iphone_os) 
    261 export PJMEDIA_VIDEODEV_OBJS += ios_dev.o ios_opengl_dev.o 
     271# Darwin video device 
     272# 
     273ifeq ($(AC_PJMEDIA_VIDEO_HAS_DARWIN),yes) 
     274export PJMEDIA_VIDEODEV_OBJS += darwin_dev.o 
     275endif 
     276 
     277# 
     278# iOS OpenGL video device 
     279# 
     280ifeq ($(AC_PJMEDIA_VIDEO_HAS_IOS_OPENGL),yes) 
     281export PJMEDIA_VIDEODEV_OBJS += ios_opengl_dev.o 
    262282endif 
    263283 
     
    273293# source code 
    274294# 
    275 ifneq (,$(filter $(AC_PJMEDIA_VIDEO),mac_os iphone_os)) 
     295ifneq (,$(filter $(AC_PJMEDIA_VIDEO),darwin_os)) 
    276296# Mac and iPhone OS specific, use obj-c 
    277297export PJMEDIA_VIDEODEV_OBJS += sdl_dev_m.o 
Note: See TracChangeset for help on using the changeset viewer.