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