1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_webrtc_modules_neteq_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := 15 16GYP_GENERATED_OUTPUTS := 17 18# Make sure our deps and generated files are built first. 19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21LOCAL_CPP_EXTENSION := .cc 22LOCAL_GENERATED_SOURCES := 23 24GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26LOCAL_SRC_FILES := \ 27 third_party/webrtc/modules/audio_coding/neteq/accelerate.cc \ 28 third_party/webrtc/modules/audio_coding/neteq/audio_classifier.cc \ 29 third_party/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc \ 30 third_party/webrtc/modules/audio_coding/neteq/audio_decoder.cc \ 31 third_party/webrtc/modules/audio_coding/neteq/audio_multi_vector.cc \ 32 third_party/webrtc/modules/audio_coding/neteq/audio_vector.cc \ 33 third_party/webrtc/modules/audio_coding/neteq/background_noise.cc \ 34 third_party/webrtc/modules/audio_coding/neteq/buffer_level_filter.cc \ 35 third_party/webrtc/modules/audio_coding/neteq/comfort_noise.cc \ 36 third_party/webrtc/modules/audio_coding/neteq/decision_logic.cc \ 37 third_party/webrtc/modules/audio_coding/neteq/decision_logic_fax.cc \ 38 third_party/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc \ 39 third_party/webrtc/modules/audio_coding/neteq/decoder_database.cc \ 40 third_party/webrtc/modules/audio_coding/neteq/delay_manager.cc \ 41 third_party/webrtc/modules/audio_coding/neteq/delay_peak_detector.cc \ 42 third_party/webrtc/modules/audio_coding/neteq/dsp_helper.cc \ 43 third_party/webrtc/modules/audio_coding/neteq/dtmf_buffer.cc \ 44 third_party/webrtc/modules/audio_coding/neteq/dtmf_tone_generator.cc \ 45 third_party/webrtc/modules/audio_coding/neteq/expand.cc \ 46 third_party/webrtc/modules/audio_coding/neteq/merge.cc \ 47 third_party/webrtc/modules/audio_coding/neteq/neteq_impl.cc \ 48 third_party/webrtc/modules/audio_coding/neteq/neteq.cc \ 49 third_party/webrtc/modules/audio_coding/neteq/statistics_calculator.cc \ 50 third_party/webrtc/modules/audio_coding/neteq/normal.cc \ 51 third_party/webrtc/modules/audio_coding/neteq/packet_buffer.cc \ 52 third_party/webrtc/modules/audio_coding/neteq/payload_splitter.cc \ 53 third_party/webrtc/modules/audio_coding/neteq/post_decode_vad.cc \ 54 third_party/webrtc/modules/audio_coding/neteq/preemptive_expand.cc \ 55 third_party/webrtc/modules/audio_coding/neteq/random_vector.cc \ 56 third_party/webrtc/modules/audio_coding/neteq/rtcp.cc \ 57 third_party/webrtc/modules/audio_coding/neteq/sync_buffer.cc \ 58 third_party/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc \ 59 third_party/webrtc/modules/audio_coding/neteq/time_stretch.cc 60 61 62# Flags passed to both C and C++ files. 63MY_CFLAGS_Debug := \ 64 -fstack-protector \ 65 --param=ssp-buffer-size=4 \ 66 \ 67 -fno-exceptions \ 68 -fno-strict-aliasing \ 69 -Wall \ 70 -Wno-unused-parameter \ 71 -Wno-missing-field-initializers \ 72 -fvisibility=hidden \ 73 -pipe \ 74 -fPIC \ 75 -Wno-unused-local-typedefs \ 76 -mhard-float \ 77 -fno-builtin-cos \ 78 -fno-builtin-sin \ 79 -fno-builtin-cosf \ 80 -fno-builtin-sinf \ 81 -mhard-float \ 82 -fno-builtin-cos \ 83 -fno-builtin-sin \ 84 -fno-builtin-cosf \ 85 -fno-builtin-sinf \ 86 -EL \ 87 -mhard-float \ 88 -ffunction-sections \ 89 -funwind-tables \ 90 -g \ 91 -fstack-protector \ 92 -fno-short-enums \ 93 -finline-limit=64 \ 94 -Wa,--noexecstack \ 95 -U_FORTIFY_SOURCE \ 96 -Wno-extra \ 97 -Wno-ignored-qualifiers \ 98 -Wno-type-limits \ 99 -Wno-unused-but-set-variable \ 100 -Os \ 101 -g \ 102 -fdata-sections \ 103 -ffunction-sections \ 104 -fomit-frame-pointer \ 105 -funwind-tables 106 107MY_DEFS_Debug := \ 108 '-DV8_DEPRECATION_WARNINGS' \ 109 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 110 '-D_FILE_OFFSET_BITS=64' \ 111 '-DNO_TCMALLOC' \ 112 '-DDISABLE_NACL' \ 113 '-DCHROMIUM_BUILD' \ 114 '-DUSE_LIBJPEG_TURBO=1' \ 115 '-DENABLE_WEBRTC=1' \ 116 '-DUSE_PROPRIETARY_CODECS' \ 117 '-DENABLE_BROWSER_CDMS' \ 118 '-DENABLE_CONFIGURATION_POLICY' \ 119 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 120 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 121 '-DENABLE_EGLIMAGE=1' \ 122 '-DCLD_VERSION=1' \ 123 '-DENABLE_PRINTING=1' \ 124 '-DENABLE_MANAGED_USERS=1' \ 125 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 126 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 127 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 128 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 129 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 130 '-DVIDEO_HOLE=1' \ 131 '-DWEBRTC_RESTRICT_LOGGING' \ 132 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 133 '-DWEBRTC_CHROMIUM_BUILD' \ 134 '-DLOGGING_INSIDE_WEBRTC' \ 135 '-DMIPS32_LE' \ 136 '-DMIPS_FPU_LE' \ 137 '-DWEBRTC_POSIX' \ 138 '-DWEBRTC_LINUX' \ 139 '-DWEBRTC_ANDROID' \ 140 '-DWEBRTC_ANDROID_OPENSLES' \ 141 '-DWEBRTC_CODEC_OPUS' \ 142 '-DUSE_OPENSSL=1' \ 143 '-DUSE_OPENSSL_CERTS=1' \ 144 '-D__STDC_CONSTANT_MACROS' \ 145 '-D__STDC_FORMAT_MACROS' \ 146 '-DANDROID' \ 147 '-D__GNU_SOURCE=1' \ 148 '-DUSE_STLPORT=1' \ 149 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 150 '-DCHROME_BUILD_ID=""' \ 151 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 152 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 153 '-D_DEBUG' 154 155 156# Include paths placed before CFLAGS/CPPFLAGS 157LOCAL_C_INCLUDES_Debug := \ 158 $(gyp_shared_intermediate_dir) \ 159 $(LOCAL_PATH) \ 160 $(LOCAL_PATH)/third_party/webrtc/overrides \ 161 $(LOCAL_PATH)/third_party \ 162 $(LOCAL_PATH)/third_party/opus/src/celt \ 163 $(LOCAL_PATH)/third_party/opus/src/src \ 164 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g711/include \ 165 $(LOCAL_PATH)/third_party/webrtc \ 166 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g722/include \ 167 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/pcm16b/include \ 168 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface \ 169 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/main/interface \ 170 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \ 171 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/cng/include \ 172 $(LOCAL_PATH)/third_party/opus/src/include \ 173 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ 174 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ 175 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ 176 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 177 $(PWD)/frameworks/wilhelm/include \ 178 $(PWD)/bionic \ 179 $(PWD)/external/stlport/stlport 180 181 182# Flags passed to only C++ (and not C) files. 183LOCAL_CPPFLAGS_Debug := \ 184 -fno-rtti \ 185 -fno-threadsafe-statics \ 186 -fvisibility-inlines-hidden \ 187 -Wsign-compare \ 188 -Wno-uninitialized \ 189 -Wno-non-virtual-dtor \ 190 -Wno-sign-promo 191 192 193LOCAL_FDO_SUPPORT_Debug := false 194 195# Flags passed to both C and C++ files. 196MY_CFLAGS_Release := \ 197 -fstack-protector \ 198 --param=ssp-buffer-size=4 \ 199 \ 200 -fno-exceptions \ 201 -fno-strict-aliasing \ 202 -Wall \ 203 -Wno-unused-parameter \ 204 -Wno-missing-field-initializers \ 205 -fvisibility=hidden \ 206 -pipe \ 207 -fPIC \ 208 -Wno-unused-local-typedefs \ 209 -mhard-float \ 210 -fno-builtin-cos \ 211 -fno-builtin-sin \ 212 -fno-builtin-cosf \ 213 -fno-builtin-sinf \ 214 -mhard-float \ 215 -fno-builtin-cos \ 216 -fno-builtin-sin \ 217 -fno-builtin-cosf \ 218 -fno-builtin-sinf \ 219 -EL \ 220 -mhard-float \ 221 -ffunction-sections \ 222 -funwind-tables \ 223 -g \ 224 -fstack-protector \ 225 -fno-short-enums \ 226 -finline-limit=64 \ 227 -Wa,--noexecstack \ 228 -U_FORTIFY_SOURCE \ 229 -Wno-extra \ 230 -Wno-ignored-qualifiers \ 231 -Wno-type-limits \ 232 -Wno-unused-but-set-variable \ 233 -Os \ 234 -fno-ident \ 235 -fdata-sections \ 236 -ffunction-sections \ 237 -fomit-frame-pointer \ 238 -funwind-tables 239 240MY_DEFS_Release := \ 241 '-DV8_DEPRECATION_WARNINGS' \ 242 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 243 '-D_FILE_OFFSET_BITS=64' \ 244 '-DNO_TCMALLOC' \ 245 '-DDISABLE_NACL' \ 246 '-DCHROMIUM_BUILD' \ 247 '-DUSE_LIBJPEG_TURBO=1' \ 248 '-DENABLE_WEBRTC=1' \ 249 '-DUSE_PROPRIETARY_CODECS' \ 250 '-DENABLE_BROWSER_CDMS' \ 251 '-DENABLE_CONFIGURATION_POLICY' \ 252 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 253 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 254 '-DENABLE_EGLIMAGE=1' \ 255 '-DCLD_VERSION=1' \ 256 '-DENABLE_PRINTING=1' \ 257 '-DENABLE_MANAGED_USERS=1' \ 258 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 259 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 260 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 261 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 262 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 263 '-DVIDEO_HOLE=1' \ 264 '-DWEBRTC_RESTRICT_LOGGING' \ 265 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 266 '-DWEBRTC_CHROMIUM_BUILD' \ 267 '-DLOGGING_INSIDE_WEBRTC' \ 268 '-DMIPS32_LE' \ 269 '-DMIPS_FPU_LE' \ 270 '-DWEBRTC_POSIX' \ 271 '-DWEBRTC_LINUX' \ 272 '-DWEBRTC_ANDROID' \ 273 '-DWEBRTC_ANDROID_OPENSLES' \ 274 '-DWEBRTC_CODEC_OPUS' \ 275 '-DUSE_OPENSSL=1' \ 276 '-DUSE_OPENSSL_CERTS=1' \ 277 '-D__STDC_CONSTANT_MACROS' \ 278 '-D__STDC_FORMAT_MACROS' \ 279 '-DANDROID' \ 280 '-D__GNU_SOURCE=1' \ 281 '-DUSE_STLPORT=1' \ 282 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 283 '-DCHROME_BUILD_ID=""' \ 284 '-DNDEBUG' \ 285 '-DNVALGRIND' \ 286 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 287 '-D_FORTIFY_SOURCE=2' 288 289 290# Include paths placed before CFLAGS/CPPFLAGS 291LOCAL_C_INCLUDES_Release := \ 292 $(gyp_shared_intermediate_dir) \ 293 $(LOCAL_PATH) \ 294 $(LOCAL_PATH)/third_party/webrtc/overrides \ 295 $(LOCAL_PATH)/third_party \ 296 $(LOCAL_PATH)/third_party/opus/src/celt \ 297 $(LOCAL_PATH)/third_party/opus/src/src \ 298 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g711/include \ 299 $(LOCAL_PATH)/third_party/webrtc \ 300 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g722/include \ 301 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/pcm16b/include \ 302 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface \ 303 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/main/interface \ 304 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \ 305 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/cng/include \ 306 $(LOCAL_PATH)/third_party/opus/src/include \ 307 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ 308 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ 309 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ 310 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 311 $(PWD)/frameworks/wilhelm/include \ 312 $(PWD)/bionic \ 313 $(PWD)/external/stlport/stlport 314 315 316# Flags passed to only C++ (and not C) files. 317LOCAL_CPPFLAGS_Release := \ 318 -fno-rtti \ 319 -fno-threadsafe-statics \ 320 -fvisibility-inlines-hidden \ 321 -Wsign-compare \ 322 -Wno-uninitialized \ 323 -Wno-non-virtual-dtor \ 324 -Wno-sign-promo 325 326 327LOCAL_FDO_SUPPORT_Release := false 328 329LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 330LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 331LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 332LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 333LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 334### Rules for final target. 335 336LOCAL_LDFLAGS_Debug := \ 337 -Wl,-z,now \ 338 -Wl,-z,relro \ 339 -Wl,--fatal-warnings \ 340 -Wl,-z,noexecstack \ 341 -fPIC \ 342 -EL \ 343 -Wl,--no-keep-memory \ 344 -nostdlib \ 345 -Wl,--no-undefined \ 346 -Wl,--exclude-libs=ALL \ 347 -Wl,--warn-shared-textrel \ 348 -Wl,-O1 \ 349 -Wl,--as-needed 350 351 352LOCAL_LDFLAGS_Release := \ 353 -Wl,-z,now \ 354 -Wl,-z,relro \ 355 -Wl,--fatal-warnings \ 356 -Wl,-z,noexecstack \ 357 -fPIC \ 358 -EL \ 359 -Wl,--no-keep-memory \ 360 -nostdlib \ 361 -Wl,--no-undefined \ 362 -Wl,--exclude-libs=ALL \ 363 -Wl,-O1 \ 364 -Wl,--as-needed \ 365 -Wl,--gc-sections \ 366 -Wl,--warn-shared-textrel 367 368 369LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 370 371LOCAL_STATIC_LIBRARIES := 372 373# Enable grouping to fix circular references 374LOCAL_GROUP_STATIC_LIBRARIES := true 375 376LOCAL_SHARED_LIBRARIES := \ 377 libstlport \ 378 libdl 379 380# Add target alias to "gyp_all_modules" target. 381.PHONY: gyp_all_modules 382gyp_all_modules: third_party_webrtc_modules_neteq_gyp 383 384# Alias gyp target name. 385.PHONY: neteq 386neteq: third_party_webrtc_modules_neteq_gyp 387 388include $(BUILD_STATIC_LIBRARY) 389