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_iSAC_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/main/source/arith_routines.c \ 27 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c \ 28 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c \ 29 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.c \ 30 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/crc.c \ 31 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/decode.c \ 32 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/decode_bwe.c \ 33 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/encode.c \ 34 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/encode_lpc_swb.c \ 35 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/entropy_coding.c \ 36 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/fft.c \ 37 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c \ 38 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/filterbank_tables.c \ 39 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/intialize.c \ 40 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/isac.c \ 41 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/filterbanks.c \ 42 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/pitch_lag_tables.c \ 43 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/lattice.c \ 44 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_gain_swb_tables.c \ 45 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_analysis.c \ 46 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb12_tables.c \ 47 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb16_tables.c \ 48 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_tables.c \ 49 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/pitch_estimator.c \ 50 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/pitch_filter.c \ 51 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/pitch_gain_tables.c \ 52 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/spectrum_ar_model_tables.c \ 53 third_party/webrtc/modules/audio_coding/codecs/isac/main/source/transform.c 54 55 56 # Flags passed to both C and C++ files. 57 MY_CFLAGS_Debug := \ 58 -fstack-protector \ 59 --param=ssp-buffer-size=4 \ 60 -Werror \ 61 -fno-exceptions \ 62 -fno-strict-aliasing \ 63 -Wall \ 64 -Wno-unused-parameter \ 65 -Wno-missing-field-initializers \ 66 -fvisibility=hidden \ 67 -pipe \ 68 -fPIC \ 69 -Wno-unused-local-typedefs \ 70 -fno-builtin-cos \ 71 -fno-builtin-sin \ 72 -fno-builtin-cosf \ 73 -fno-builtin-sinf \ 74 -fno-builtin-cos \ 75 -fno-builtin-sin \ 76 -fno-builtin-cosf \ 77 -fno-builtin-sinf \ 78 -m64 \ 79 -march=x86-64 \ 80 -ffunction-sections \ 81 -funwind-tables \ 82 -g \ 83 -fstack-protector \ 84 -fno-short-enums \ 85 -finline-limit=64 \ 86 -Wa,--noexecstack \ 87 -U_FORTIFY_SOURCE \ 88 -Wno-extra \ 89 -Wno-ignored-qualifiers \ 90 -Wno-type-limits \ 91 -Wno-unused-but-set-variable \ 92 -Os \ 93 -g \ 94 -fdata-sections \ 95 -ffunction-sections \ 96 -fomit-frame-pointer \ 97 -funwind-tables 98 99 MY_DEFS_Debug := \ 100 '-DV8_DEPRECATION_WARNINGS' \ 101 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 102 '-D_FILE_OFFSET_BITS=64' \ 103 '-DNO_TCMALLOC' \ 104 '-DDISABLE_NACL' \ 105 '-DCHROMIUM_BUILD' \ 106 '-DUSE_LIBJPEG_TURBO=1' \ 107 '-DENABLE_WEBRTC=1' \ 108 '-DUSE_PROPRIETARY_CODECS' \ 109 '-DENABLE_BROWSER_CDMS' \ 110 '-DENABLE_CONFIGURATION_POLICY' \ 111 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 112 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 113 '-DENABLE_EGLIMAGE=1' \ 114 '-DCLD_VERSION=1' \ 115 '-DENABLE_PRINTING=1' \ 116 '-DENABLE_MANAGED_USERS=1' \ 117 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 118 '-DDATA_REDUCTION_DEV_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 '-DWEBRTC_RESTRICT_LOGGING' \ 124 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 125 '-DWEBRTC_CHROMIUM_BUILD' \ 126 '-DLOGGING_INSIDE_WEBRTC' \ 127 '-DWEBRTC_POSIX' \ 128 '-DWEBRTC_LINUX' \ 129 '-DWEBRTC_ANDROID' \ 130 '-DWEBRTC_ANDROID_OPENSLES' \ 131 '-DUSE_OPENSSL=1' \ 132 '-DUSE_OPENSSL_CERTS=1' \ 133 '-D__STDC_CONSTANT_MACROS' \ 134 '-D__STDC_FORMAT_MACROS' \ 135 '-DANDROID' \ 136 '-D__GNU_SOURCE=1' \ 137 '-DUSE_STLPORT=1' \ 138 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 139 '-DCHROME_BUILD_ID=""' \ 140 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 141 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 142 '-D_DEBUG' 143 144 145 # Include paths placed before CFLAGS/CPPFLAGS 146 LOCAL_C_INCLUDES_Debug := \ 147 $(gyp_shared_intermediate_dir) \ 148 $(LOCAL_PATH) \ 149 $(LOCAL_PATH)/third_party/webrtc/overrides \ 150 $(LOCAL_PATH)/third_party \ 151 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/main/interface \ 152 $(LOCAL_PATH)/third_party/webrtc \ 153 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ 154 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ 155 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ 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. 162 LOCAL_CPPFLAGS_Debug := \ 163 -fno-rtti \ 164 -fno-threadsafe-statics \ 165 -fvisibility-inlines-hidden \ 166 -Wsign-compare \ 167 -Wno-non-virtual-dtor \ 168 -Wno-sign-promo 169 170 171 LOCAL_FDO_SUPPORT_Debug := false 172 173 # Flags passed to both C and C++ files. 174 MY_CFLAGS_Release := \ 175 -fstack-protector \ 176 --param=ssp-buffer-size=4 \ 177 -Werror \ 178 -fno-exceptions \ 179 -fno-strict-aliasing \ 180 -Wall \ 181 -Wno-unused-parameter \ 182 -Wno-missing-field-initializers \ 183 -fvisibility=hidden \ 184 -pipe \ 185 -fPIC \ 186 -Wno-unused-local-typedefs \ 187 -fno-builtin-cos \ 188 -fno-builtin-sin \ 189 -fno-builtin-cosf \ 190 -fno-builtin-sinf \ 191 -fno-builtin-cos \ 192 -fno-builtin-sin \ 193 -fno-builtin-cosf \ 194 -fno-builtin-sinf \ 195 -m64 \ 196 -march=x86-64 \ 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 216 MY_DEFS_Release := \ 217 '-DV8_DEPRECATION_WARNINGS' \ 218 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 219 '-D_FILE_OFFSET_BITS=64' \ 220 '-DNO_TCMALLOC' \ 221 '-DDISABLE_NACL' \ 222 '-DCHROMIUM_BUILD' \ 223 '-DUSE_LIBJPEG_TURBO=1' \ 224 '-DENABLE_WEBRTC=1' \ 225 '-DUSE_PROPRIETARY_CODECS' \ 226 '-DENABLE_BROWSER_CDMS' \ 227 '-DENABLE_CONFIGURATION_POLICY' \ 228 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 229 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 230 '-DENABLE_EGLIMAGE=1' \ 231 '-DCLD_VERSION=1' \ 232 '-DENABLE_PRINTING=1' \ 233 '-DENABLE_MANAGED_USERS=1' \ 234 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 235 '-DDATA_REDUCTION_DEV_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 '-DWEBRTC_RESTRICT_LOGGING' \ 241 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 242 '-DWEBRTC_CHROMIUM_BUILD' \ 243 '-DLOGGING_INSIDE_WEBRTC' \ 244 '-DWEBRTC_POSIX' \ 245 '-DWEBRTC_LINUX' \ 246 '-DWEBRTC_ANDROID' \ 247 '-DWEBRTC_ANDROID_OPENSLES' \ 248 '-DUSE_OPENSSL=1' \ 249 '-DUSE_OPENSSL_CERTS=1' \ 250 '-D__STDC_CONSTANT_MACROS' \ 251 '-D__STDC_FORMAT_MACROS' \ 252 '-DANDROID' \ 253 '-D__GNU_SOURCE=1' \ 254 '-DUSE_STLPORT=1' \ 255 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 256 '-DCHROME_BUILD_ID=""' \ 257 '-DNDEBUG' \ 258 '-DNVALGRIND' \ 259 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 260 '-D_FORTIFY_SOURCE=2' 261 262 263 # Include paths placed before CFLAGS/CPPFLAGS 264 LOCAL_C_INCLUDES_Release := \ 265 $(gyp_shared_intermediate_dir) \ 266 $(LOCAL_PATH) \ 267 $(LOCAL_PATH)/third_party/webrtc/overrides \ 268 $(LOCAL_PATH)/third_party \ 269 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/main/interface \ 270 $(LOCAL_PATH)/third_party/webrtc \ 271 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ 272 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ 273 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ 274 $(PWD)/frameworks/wilhelm/include \ 275 $(PWD)/bionic \ 276 $(PWD)/external/stlport/stlport 277 278 279 # Flags passed to only C++ (and not C) files. 280 LOCAL_CPPFLAGS_Release := \ 281 -fno-rtti \ 282 -fno-threadsafe-statics \ 283 -fvisibility-inlines-hidden \ 284 -Wsign-compare \ 285 -Wno-non-virtual-dtor \ 286 -Wno-sign-promo 287 288 289 LOCAL_FDO_SUPPORT_Release := false 290 291 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 292 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 293 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 294 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 295 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 296 ### Rules for final target. 297 298 LOCAL_LDFLAGS_Debug := \ 299 -Wl,-z,now \ 300 -Wl,-z,relro \ 301 -Wl,--fatal-warnings \ 302 -Wl,-z,noexecstack \ 303 -fPIC \ 304 -m64 \ 305 -fuse-ld=gold \ 306 -nostdlib \ 307 -Wl,--no-undefined \ 308 -Wl,--exclude-libs=ALL \ 309 -Wl,--warn-shared-textrel \ 310 -Wl,-O1 \ 311 -Wl,--as-needed 312 313 314 LOCAL_LDFLAGS_Release := \ 315 -Wl,-z,now \ 316 -Wl,-z,relro \ 317 -Wl,--fatal-warnings \ 318 -Wl,-z,noexecstack \ 319 -fPIC \ 320 -m64 \ 321 -fuse-ld=gold \ 322 -nostdlib \ 323 -Wl,--no-undefined \ 324 -Wl,--exclude-libs=ALL \ 325 -Wl,-O1 \ 326 -Wl,--as-needed \ 327 -Wl,--gc-sections \ 328 -Wl,--warn-shared-textrel 329 330 331 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 332 333 LOCAL_STATIC_LIBRARIES := 334 335 # Enable grouping to fix circular references 336 LOCAL_GROUP_STATIC_LIBRARIES := true 337 338 LOCAL_SHARED_LIBRARIES := \ 339 libstlport \ 340 libdl 341 342 # Add target alias to "gyp_all_modules" target. 343 .PHONY: gyp_all_modules 344 gyp_all_modules: third_party_webrtc_modules_iSAC_gyp 345 346 # Alias gyp target name. 347 .PHONY: iSAC 348 iSAC: third_party_webrtc_modules_iSAC_gyp 349 350 include $(BUILD_STATIC_LIBRARY) 351