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_modules_iSACFix_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines.c \ 27 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c \ 28 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_logist.c \ 29 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/bandwidth_estimator.c \ 30 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c \ 31 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_bwe.c \ 32 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_plc.c \ 33 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/encode.c \ 34 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c \ 35 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/fft.c \ 36 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_tables.c \ 37 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks.c \ 38 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filters.c \ 39 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/initialize.c \ 40 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c \ 41 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c \ 42 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c \ 43 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.c \ 44 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_tables.c \ 45 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator.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 53 54 # Flags passed to both C and C++ files. 55 MY_CFLAGS_Debug := \ 56 --param=ssp-buffer-size=4 \ 57 -Werror \ 58 -fno-exceptions \ 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 -ffunction-sections \ 76 -funwind-tables \ 77 -g \ 78 -fno-short-enums \ 79 -finline-limit=64 \ 80 -Wa,--noexecstack \ 81 -U_FORTIFY_SOURCE \ 82 -Wno-extra \ 83 -Wno-ignored-qualifiers \ 84 -Wno-type-limits \ 85 -Wno-unused-but-set-variable \ 86 -Os \ 87 -g \ 88 -fdata-sections \ 89 -ffunction-sections \ 90 -funwind-tables 91 92 MY_DEFS_Debug := \ 93 '-DV8_DEPRECATION_WARNINGS' \ 94 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 95 '-D_FILE_OFFSET_BITS=64' \ 96 '-DNO_TCMALLOC' \ 97 '-DDISABLE_NACL' \ 98 '-DCHROMIUM_BUILD' \ 99 '-DUSE_LIBJPEG_TURBO=1' \ 100 '-DENABLE_WEBRTC=1' \ 101 '-DUSE_PROPRIETARY_CODECS' \ 102 '-DENABLE_BROWSER_CDMS' \ 103 '-DENABLE_CONFIGURATION_POLICY' \ 104 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 105 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 106 '-DENABLE_EGLIMAGE=1' \ 107 '-DCLD_VERSION=1' \ 108 '-DENABLE_PRINTING=1' \ 109 '-DENABLE_MANAGED_USERS=1' \ 110 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 111 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 112 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 113 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 114 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 115 '-DVIDEO_HOLE=1' \ 116 '-DWEBRTC_RESTRICT_LOGGING' \ 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/modules/audio_coding/codecs/isac/fix/interface \ 145 $(LOCAL_PATH)/third_party/webrtc \ 146 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ 147 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ 148 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ 149 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 150 $(PWD)/frameworks/wilhelm/include \ 151 $(PWD)/bionic \ 152 $(PWD)/external/stlport/stlport 153 154 155 # Flags passed to only C++ (and not C) files. 156 LOCAL_CPPFLAGS_Debug := \ 157 -fno-rtti \ 158 -fno-threadsafe-statics \ 159 -fvisibility-inlines-hidden \ 160 -Wsign-compare \ 161 -Wno-non-virtual-dtor \ 162 -Wno-sign-promo 163 164 165 LOCAL_FDO_SUPPORT_Debug := false 166 167 # Flags passed to both C and C++ files. 168 MY_CFLAGS_Release := \ 169 --param=ssp-buffer-size=4 \ 170 -Werror \ 171 -fno-exceptions \ 172 -fno-strict-aliasing \ 173 -Wall \ 174 -Wno-unused-parameter \ 175 -Wno-missing-field-initializers \ 176 -fvisibility=hidden \ 177 -pipe \ 178 -fPIC \ 179 -Wno-unused-local-typedefs \ 180 -fno-builtin-cos \ 181 -fno-builtin-sin \ 182 -fno-builtin-cosf \ 183 -fno-builtin-sinf \ 184 -fno-builtin-cos \ 185 -fno-builtin-sin \ 186 -fno-builtin-cosf \ 187 -fno-builtin-sinf \ 188 -ffunction-sections \ 189 -funwind-tables \ 190 -g \ 191 -fno-short-enums \ 192 -finline-limit=64 \ 193 -Wa,--noexecstack \ 194 -U_FORTIFY_SOURCE \ 195 -Wno-extra \ 196 -Wno-ignored-qualifiers \ 197 -Wno-type-limits \ 198 -Wno-unused-but-set-variable \ 199 -Os \ 200 -fno-ident \ 201 -fdata-sections \ 202 -ffunction-sections \ 203 -funwind-tables 204 205 MY_DEFS_Release := \ 206 '-DV8_DEPRECATION_WARNINGS' \ 207 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 208 '-D_FILE_OFFSET_BITS=64' \ 209 '-DNO_TCMALLOC' \ 210 '-DDISABLE_NACL' \ 211 '-DCHROMIUM_BUILD' \ 212 '-DUSE_LIBJPEG_TURBO=1' \ 213 '-DENABLE_WEBRTC=1' \ 214 '-DUSE_PROPRIETARY_CODECS' \ 215 '-DENABLE_BROWSER_CDMS' \ 216 '-DENABLE_CONFIGURATION_POLICY' \ 217 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 218 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 219 '-DENABLE_EGLIMAGE=1' \ 220 '-DCLD_VERSION=1' \ 221 '-DENABLE_PRINTING=1' \ 222 '-DENABLE_MANAGED_USERS=1' \ 223 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 224 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 225 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 226 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 227 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 228 '-DVIDEO_HOLE=1' \ 229 '-DWEBRTC_RESTRICT_LOGGING' \ 230 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 231 '-DWEBRTC_CHROMIUM_BUILD' \ 232 '-DLOGGING_INSIDE_WEBRTC' \ 233 '-DWEBRTC_POSIX' \ 234 '-DWEBRTC_LINUX' \ 235 '-DWEBRTC_ANDROID' \ 236 '-DWEBRTC_ANDROID_OPENSLES' \ 237 '-DUSE_OPENSSL=1' \ 238 '-DUSE_OPENSSL_CERTS=1' \ 239 '-D__STDC_CONSTANT_MACROS' \ 240 '-D__STDC_FORMAT_MACROS' \ 241 '-DANDROID' \ 242 '-D__GNU_SOURCE=1' \ 243 '-DUSE_STLPORT=1' \ 244 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 245 '-DCHROME_BUILD_ID=""' \ 246 '-DNDEBUG' \ 247 '-DNVALGRIND' \ 248 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 249 '-D_FORTIFY_SOURCE=2' 250 251 252 # Include paths placed before CFLAGS/CPPFLAGS 253 LOCAL_C_INCLUDES_Release := \ 254 $(gyp_shared_intermediate_dir) \ 255 $(LOCAL_PATH) \ 256 $(LOCAL_PATH)/third_party/webrtc/overrides \ 257 $(LOCAL_PATH)/third_party \ 258 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \ 259 $(LOCAL_PATH)/third_party/webrtc \ 260 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ 261 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ 262 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ 263 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 264 $(PWD)/frameworks/wilhelm/include \ 265 $(PWD)/bionic \ 266 $(PWD)/external/stlport/stlport 267 268 269 # Flags passed to only C++ (and not C) files. 270 LOCAL_CPPFLAGS_Release := \ 271 -fno-rtti \ 272 -fno-threadsafe-statics \ 273 -fvisibility-inlines-hidden \ 274 -Wsign-compare \ 275 -Wno-non-virtual-dtor \ 276 -Wno-sign-promo 277 278 279 LOCAL_FDO_SUPPORT_Release := false 280 281 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 282 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 283 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 284 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 285 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 286 ### Rules for final target. 287 288 LOCAL_LDFLAGS_Debug := \ 289 -Wl,-z,now \ 290 -Wl,-z,relro \ 291 -Wl,--fatal-warnings \ 292 -Wl,-z,noexecstack \ 293 -fPIC \ 294 -nostdlib \ 295 -Wl,--no-undefined \ 296 -Wl,--exclude-libs=ALL \ 297 -Wl,--warn-shared-textrel \ 298 -Wl,-O1 \ 299 -Wl,--as-needed 300 301 302 LOCAL_LDFLAGS_Release := \ 303 -Wl,-z,now \ 304 -Wl,-z,relro \ 305 -Wl,--fatal-warnings \ 306 -Wl,-z,noexecstack \ 307 -fPIC \ 308 -nostdlib \ 309 -Wl,--no-undefined \ 310 -Wl,--exclude-libs=ALL \ 311 -Wl,-O1 \ 312 -Wl,--as-needed \ 313 -Wl,--gc-sections \ 314 -Wl,--warn-shared-textrel 315 316 317 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 318 319 LOCAL_STATIC_LIBRARIES := 320 321 # Enable grouping to fix circular references 322 LOCAL_GROUP_STATIC_LIBRARIES := true 323 324 LOCAL_SHARED_LIBRARIES := \ 325 libstlport \ 326 libdl 327 328 # Add target alias to "gyp_all_modules" target. 329 .PHONY: gyp_all_modules 330 gyp_all_modules: third_party_webrtc_modules_iSACFix_gyp 331 332 # Alias gyp target name. 333 .PHONY: iSACFix 334 iSACFix: third_party_webrtc_modules_iSACFix_gyp 335 336 include $(BUILD_STATIC_LIBRARY) 337