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