Home | History | Annotate | Download | only in voice_engine
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
      6 LOCAL_MODULE := third_party_webrtc_voice_engine_voice_engine_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     11 
     12 # Make sure our deps are built first.
     13 GYP_TARGET_DEPENDENCIES :=
     14 
     15 GYP_GENERATED_OUTPUTS :=
     16 
     17 # Make sure our deps and generated files are built first.
     18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     19 
     20 LOCAL_CPP_EXTENSION := .cc
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES := \
     26 	third_party/webrtc/voice_engine/channel.cc \
     27 	third_party/webrtc/voice_engine/channel_manager.cc \
     28 	third_party/webrtc/voice_engine/dtmf_inband.cc \
     29 	third_party/webrtc/voice_engine/dtmf_inband_queue.cc \
     30 	third_party/webrtc/voice_engine/level_indicator.cc \
     31 	third_party/webrtc/voice_engine/monitor_module.cc \
     32 	third_party/webrtc/voice_engine/network_predictor.cc \
     33 	third_party/webrtc/voice_engine/output_mixer.cc \
     34 	third_party/webrtc/voice_engine/shared_data.cc \
     35 	third_party/webrtc/voice_engine/statistics.cc \
     36 	third_party/webrtc/voice_engine/transmit_mixer.cc \
     37 	third_party/webrtc/voice_engine/utility.cc \
     38 	third_party/webrtc/voice_engine/voe_audio_processing_impl.cc \
     39 	third_party/webrtc/voice_engine/voe_base_impl.cc \
     40 	third_party/webrtc/voice_engine/voe_codec_impl.cc \
     41 	third_party/webrtc/voice_engine/voe_dtmf_impl.cc \
     42 	third_party/webrtc/voice_engine/voe_external_media_impl.cc \
     43 	third_party/webrtc/voice_engine/voe_file_impl.cc \
     44 	third_party/webrtc/voice_engine/voe_hardware_impl.cc \
     45 	third_party/webrtc/voice_engine/voe_neteq_stats_impl.cc \
     46 	third_party/webrtc/voice_engine/voe_network_impl.cc \
     47 	third_party/webrtc/voice_engine/voe_rtp_rtcp_impl.cc \
     48 	third_party/webrtc/voice_engine/voe_video_sync_impl.cc \
     49 	third_party/webrtc/voice_engine/voe_volume_control_impl.cc \
     50 	third_party/webrtc/voice_engine/voice_engine_impl.cc
     51 
     52 
     53 # Flags passed to both C and C++ files.
     54 MY_CFLAGS_Debug := \
     55 	-fstack-protector \
     56 	--param=ssp-buffer-size=4 \
     57 	 \
     58 	-fno-strict-aliasing \
     59 	-Wall \
     60 	-Wno-unused-parameter \
     61 	-Wno-missing-field-initializers \
     62 	-fvisibility=hidden \
     63 	-pipe \
     64 	-fPIC \
     65 	-Wno-unused-local-typedefs \
     66 	-fno-builtin-cos \
     67 	-fno-builtin-sin \
     68 	-fno-builtin-cosf \
     69 	-fno-builtin-sinf \
     70 	-ffunction-sections \
     71 	-funwind-tables \
     72 	-g \
     73 	-fstack-protector \
     74 	-fno-short-enums \
     75 	-finline-limit=64 \
     76 	-Wa,--noexecstack \
     77 	-U_FORTIFY_SOURCE \
     78 	-Wno-extra \
     79 	-Wno-ignored-qualifiers \
     80 	-Wno-type-limits \
     81 	-Wno-unused-but-set-variable \
     82 	-Os \
     83 	-g \
     84 	-gdwarf-4 \
     85 	-fdata-sections \
     86 	-ffunction-sections \
     87 	-fomit-frame-pointer \
     88 	-funwind-tables
     89 
     90 MY_DEFS_Debug := \
     91 	'-DV8_DEPRECATION_WARNINGS' \
     92 	'-D_FILE_OFFSET_BITS=64' \
     93 	'-DNO_TCMALLOC' \
     94 	'-DDISABLE_NACL' \
     95 	'-DCHROMIUM_BUILD' \
     96 	'-DUSE_LIBJPEG_TURBO=1' \
     97 	'-DENABLE_WEBRTC=1' \
     98 	'-DUSE_PROPRIETARY_CODECS' \
     99 	'-DENABLE_BROWSER_CDMS' \
    100 	'-DENABLE_CONFIGURATION_POLICY' \
    101 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    102 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    103 	'-DENABLE_EGLIMAGE=1' \
    104 	'-DCLD_VERSION=1' \
    105 	'-DENABLE_PRINTING=1' \
    106 	'-DENABLE_MANAGED_USERS=1' \
    107 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    108 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    109 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    110 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    111 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    112 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    113 	'-DVIDEO_HOLE=1' \
    114 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    115 	'-DWEBRTC_RESTRICT_LOGGING' \
    116 	'-DEXPAT_RELATIVE_PATH' \
    117 	'-DWEBRTC_MODULE_UTILITY_VIDEO' \
    118 	'-DWEBRTC_CHROMIUM_BUILD' \
    119 	'-DLOGGING_INSIDE_WEBRTC' \
    120 	'-DWEBRTC_POSIX' \
    121 	'-DWEBRTC_LINUX' \
    122 	'-DWEBRTC_ANDROID' \
    123 	'-DWEBRTC_ANDROID_OPENSLES' \
    124 	'-DUSE_OPENSSL=1' \
    125 	'-DUSE_OPENSSL_CERTS=1' \
    126 	'-D__STDC_CONSTANT_MACROS' \
    127 	'-D__STDC_FORMAT_MACROS' \
    128 	'-DANDROID' \
    129 	'-D__GNU_SOURCE=1' \
    130 	'-DUSE_STLPORT=1' \
    131 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    132 	'-DCHROME_BUILD_ID=""' \
    133 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    134 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    135 	'-D_DEBUG'
    136 
    137 
    138 # Include paths placed before CFLAGS/CPPFLAGS
    139 LOCAL_C_INCLUDES_Debug := \
    140 	$(gyp_shared_intermediate_dir) \
    141 	$(LOCAL_PATH) \
    142 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    143 	$(LOCAL_PATH)/third_party \
    144 	$(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \
    145 	$(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \
    146 	$(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \
    147 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/main/interface \
    148 	$(LOCAL_PATH)/third_party/webrtc/modules/interface \
    149 	$(LOCAL_PATH)/third_party/webrtc \
    150 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_conference_mixer/interface \
    151 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_device/include \
    152 	$(LOCAL_PATH)/third_party/webrtc/modules/media_file/interface \
    153 	$(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
    154 	$(PWD)/frameworks/wilhelm/include \
    155 	$(PWD)/bionic \
    156 	$(PWD)/external/stlport/stlport
    157 
    158 
    159 # Flags passed to only C++ (and not C) files.
    160 LOCAL_CPPFLAGS_Debug := \
    161 	-fno-exceptions \
    162 	-fno-rtti \
    163 	-fno-threadsafe-statics \
    164 	-fvisibility-inlines-hidden \
    165 	-Wsign-compare \
    166 	-Wno-uninitialized \
    167 	-std=gnu++11 \
    168 	-Wno-narrowing \
    169 	-Wno-literal-suffix \
    170 	-Wno-non-virtual-dtor \
    171 	-Wno-sign-promo
    172 
    173 
    174 # Flags passed to both C and C++ files.
    175 MY_CFLAGS_Release := \
    176 	-fstack-protector \
    177 	--param=ssp-buffer-size=4 \
    178 	 \
    179 	-fno-strict-aliasing \
    180 	-Wall \
    181 	-Wno-unused-parameter \
    182 	-Wno-missing-field-initializers \
    183 	-fvisibility=hidden \
    184 	-pipe \
    185 	-fPIC \
    186 	-Wno-unused-local-typedefs \
    187 	-fno-builtin-cos \
    188 	-fno-builtin-sin \
    189 	-fno-builtin-cosf \
    190 	-fno-builtin-sinf \
    191 	-ffunction-sections \
    192 	-funwind-tables \
    193 	-g \
    194 	-fstack-protector \
    195 	-fno-short-enums \
    196 	-finline-limit=64 \
    197 	-Wa,--noexecstack \
    198 	-U_FORTIFY_SOURCE \
    199 	-Wno-extra \
    200 	-Wno-ignored-qualifiers \
    201 	-Wno-type-limits \
    202 	-Wno-unused-but-set-variable \
    203 	-Os \
    204 	-fno-ident \
    205 	-fdata-sections \
    206 	-ffunction-sections \
    207 	-fomit-frame-pointer \
    208 	-funwind-tables
    209 
    210 MY_DEFS_Release := \
    211 	'-DV8_DEPRECATION_WARNINGS' \
    212 	'-D_FILE_OFFSET_BITS=64' \
    213 	'-DNO_TCMALLOC' \
    214 	'-DDISABLE_NACL' \
    215 	'-DCHROMIUM_BUILD' \
    216 	'-DUSE_LIBJPEG_TURBO=1' \
    217 	'-DENABLE_WEBRTC=1' \
    218 	'-DUSE_PROPRIETARY_CODECS' \
    219 	'-DENABLE_BROWSER_CDMS' \
    220 	'-DENABLE_CONFIGURATION_POLICY' \
    221 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    222 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    223 	'-DENABLE_EGLIMAGE=1' \
    224 	'-DCLD_VERSION=1' \
    225 	'-DENABLE_PRINTING=1' \
    226 	'-DENABLE_MANAGED_USERS=1' \
    227 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    228 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    229 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    230 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    231 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    232 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    233 	'-DVIDEO_HOLE=1' \
    234 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    235 	'-DWEBRTC_RESTRICT_LOGGING' \
    236 	'-DEXPAT_RELATIVE_PATH' \
    237 	'-DWEBRTC_MODULE_UTILITY_VIDEO' \
    238 	'-DWEBRTC_CHROMIUM_BUILD' \
    239 	'-DLOGGING_INSIDE_WEBRTC' \
    240 	'-DWEBRTC_POSIX' \
    241 	'-DWEBRTC_LINUX' \
    242 	'-DWEBRTC_ANDROID' \
    243 	'-DWEBRTC_ANDROID_OPENSLES' \
    244 	'-DUSE_OPENSSL=1' \
    245 	'-DUSE_OPENSSL_CERTS=1' \
    246 	'-D__STDC_CONSTANT_MACROS' \
    247 	'-D__STDC_FORMAT_MACROS' \
    248 	'-DANDROID' \
    249 	'-D__GNU_SOURCE=1' \
    250 	'-DUSE_STLPORT=1' \
    251 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    252 	'-DCHROME_BUILD_ID=""' \
    253 	'-DNDEBUG' \
    254 	'-DNVALGRIND' \
    255 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    256 	'-D_FORTIFY_SOURCE=2'
    257 
    258 
    259 # Include paths placed before CFLAGS/CPPFLAGS
    260 LOCAL_C_INCLUDES_Release := \
    261 	$(gyp_shared_intermediate_dir) \
    262 	$(LOCAL_PATH) \
    263 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    264 	$(LOCAL_PATH)/third_party \
    265 	$(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \
    266 	$(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \
    267 	$(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \
    268 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/main/interface \
    269 	$(LOCAL_PATH)/third_party/webrtc/modules/interface \
    270 	$(LOCAL_PATH)/third_party/webrtc \
    271 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_conference_mixer/interface \
    272 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_device/include \
    273 	$(LOCAL_PATH)/third_party/webrtc/modules/media_file/interface \
    274 	$(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
    275 	$(PWD)/frameworks/wilhelm/include \
    276 	$(PWD)/bionic \
    277 	$(PWD)/external/stlport/stlport
    278 
    279 
    280 # Flags passed to only C++ (and not C) files.
    281 LOCAL_CPPFLAGS_Release := \
    282 	-fno-exceptions \
    283 	-fno-rtti \
    284 	-fno-threadsafe-statics \
    285 	-fvisibility-inlines-hidden \
    286 	-Wsign-compare \
    287 	-Wno-uninitialized \
    288 	-std=gnu++11 \
    289 	-Wno-narrowing \
    290 	-Wno-literal-suffix \
    291 	-Wno-non-virtual-dtor \
    292 	-Wno-sign-promo
    293 
    294 
    295 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    296 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    297 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    298 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    299 ### Rules for final target.
    300 
    301 LOCAL_SHARED_LIBRARIES := \
    302 	libstlport \
    303 	libdl
    304 
    305 # Add target alias to "gyp_all_modules" target.
    306 .PHONY: gyp_all_modules
    307 gyp_all_modules: third_party_webrtc_voice_engine_voice_engine_gyp
    308 
    309 # Alias gyp target name.
    310 .PHONY: voice_engine
    311 voice_engine: third_party_webrtc_voice_engine_voice_engine_gyp
    312 
    313 include $(BUILD_STATIC_LIBRARY)
    314