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