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_neon_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/entropy_coding_neon.c \ 27 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.S \ 28 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filters_neon.S \ 29 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_neon.S \ 30 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model_neon.S \ 31 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.S 32 33 34 # Flags passed to both C and C++ files. 35 MY_CFLAGS_Debug := \ 36 -fstack-protector \ 37 --param=ssp-buffer-size=4 \ 38 -Werror \ 39 -fno-exceptions \ 40 -fno-strict-aliasing \ 41 -Wall \ 42 -Wno-unused-parameter \ 43 -Wno-missing-field-initializers \ 44 -fvisibility=hidden \ 45 -pipe \ 46 -fPIC \ 47 -Wno-unused-local-typedefs \ 48 -fno-builtin-cos \ 49 -fno-builtin-sin \ 50 -fno-builtin-cosf \ 51 -fno-builtin-sinf \ 52 -fno-builtin-cos \ 53 -fno-builtin-sin \ 54 -fno-builtin-cosf \ 55 -fno-builtin-sinf \ 56 -mfpu=neon \ 57 -flax-vector-conversions \ 58 -fno-tree-sra \ 59 -fno-partial-inlining \ 60 -fno-early-inlining \ 61 -fno-tree-copy-prop \ 62 -fno-tree-loop-optimize \ 63 -fno-move-loop-invariants \ 64 -fno-caller-saves \ 65 -Wno-psabi \ 66 -ffunction-sections \ 67 -funwind-tables \ 68 -g \ 69 -fstack-protector \ 70 -fno-short-enums \ 71 -finline-limit=64 \ 72 -Wa,--noexecstack \ 73 -U_FORTIFY_SOURCE \ 74 -Wno-extra \ 75 -Wno-ignored-qualifiers \ 76 -Wno-type-limits \ 77 -Wno-unused-but-set-variable \ 78 -Os \ 79 -g \ 80 -fdata-sections \ 81 -ffunction-sections \ 82 -fomit-frame-pointer \ 83 -funwind-tables 84 85 MY_DEFS_Debug := \ 86 '-DV8_DEPRECATION_WARNINGS' \ 87 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 88 '-D_FILE_OFFSET_BITS=64' \ 89 '-DNO_TCMALLOC' \ 90 '-DDISABLE_NACL' \ 91 '-DCHROMIUM_BUILD' \ 92 '-DUSE_LIBJPEG_TURBO=1' \ 93 '-DENABLE_WEBRTC=1' \ 94 '-DUSE_PROPRIETARY_CODECS' \ 95 '-DENABLE_BROWSER_CDMS' \ 96 '-DENABLE_CONFIGURATION_POLICY' \ 97 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 98 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 99 '-DENABLE_EGLIMAGE=1' \ 100 '-DCLD_VERSION=1' \ 101 '-DENABLE_PRINTING=1' \ 102 '-DENABLE_MANAGED_USERS=1' \ 103 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 104 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 105 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 106 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 107 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 108 '-DVIDEO_HOLE=1' \ 109 '-DWEBRTC_RESTRICT_LOGGING' \ 110 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 111 '-DWEBRTC_CHROMIUM_BUILD' \ 112 '-DLOGGING_INSIDE_WEBRTC' \ 113 '-DWEBRTC_ARCH_ARM' \ 114 '-DWEBRTC_ARCH_ARM_V7' \ 115 '-DWEBRTC_DETECT_ARM_NEON' \ 116 '-DWEBRTC_POSIX' \ 117 '-DWEBRTC_LINUX' \ 118 '-DWEBRTC_ANDROID' \ 119 '-DWEBRTC_ANDROID_OPENSLES' \ 120 '-DUSE_OPENSSL=1' \ 121 '-DUSE_OPENSSL_CERTS=1' \ 122 '-D__STDC_CONSTANT_MACROS' \ 123 '-D__STDC_FORMAT_MACROS' \ 124 '-DANDROID' \ 125 '-D__GNU_SOURCE=1' \ 126 '-DUSE_STLPORT=1' \ 127 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 128 '-DCHROME_BUILD_ID=""' \ 129 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 130 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 131 '-D_DEBUG' 132 133 134 # Include paths placed before CFLAGS/CPPFLAGS 135 LOCAL_C_INCLUDES_Debug := \ 136 $(gyp_shared_intermediate_dir) \ 137 $(LOCAL_PATH) \ 138 $(LOCAL_PATH)/third_party/webrtc/overrides \ 139 $(LOCAL_PATH)/third_party \ 140 $(LOCAL_PATH)/third_party/webrtc \ 141 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ 142 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ 143 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ 144 $(PWD)/frameworks/wilhelm/include \ 145 $(PWD)/bionic \ 146 $(PWD)/external/stlport/stlport 147 148 149 # Flags passed to only C++ (and not C) files. 150 LOCAL_CPPFLAGS_Debug := \ 151 -fno-rtti \ 152 -fno-threadsafe-statics \ 153 -fvisibility-inlines-hidden \ 154 -Wsign-compare \ 155 -Wno-abi \ 156 -Wno-non-virtual-dtor \ 157 -Wno-sign-promo 158 159 160 LOCAL_FDO_SUPPORT_Debug := false 161 162 # Flags passed to both C and C++ files. 163 MY_CFLAGS_Release := \ 164 -fstack-protector \ 165 --param=ssp-buffer-size=4 \ 166 -Werror \ 167 -fno-exceptions \ 168 -fno-strict-aliasing \ 169 -Wall \ 170 -Wno-unused-parameter \ 171 -Wno-missing-field-initializers \ 172 -fvisibility=hidden \ 173 -pipe \ 174 -fPIC \ 175 -Wno-unused-local-typedefs \ 176 -fno-builtin-cos \ 177 -fno-builtin-sin \ 178 -fno-builtin-cosf \ 179 -fno-builtin-sinf \ 180 -fno-builtin-cos \ 181 -fno-builtin-sin \ 182 -fno-builtin-cosf \ 183 -fno-builtin-sinf \ 184 -mfpu=neon \ 185 -flax-vector-conversions \ 186 -fno-tree-sra \ 187 -fno-partial-inlining \ 188 -fno-early-inlining \ 189 -fno-tree-copy-prop \ 190 -fno-tree-loop-optimize \ 191 -fno-move-loop-invariants \ 192 -fno-caller-saves \ 193 -Wno-psabi \ 194 -ffunction-sections \ 195 -funwind-tables \ 196 -g \ 197 -fstack-protector \ 198 -fno-short-enums \ 199 -finline-limit=64 \ 200 -Wa,--noexecstack \ 201 -U_FORTIFY_SOURCE \ 202 -Wno-extra \ 203 -Wno-ignored-qualifiers \ 204 -Wno-type-limits \ 205 -Wno-unused-but-set-variable \ 206 -Os \ 207 -fno-ident \ 208 -fdata-sections \ 209 -ffunction-sections \ 210 -fomit-frame-pointer \ 211 -funwind-tables 212 213 MY_DEFS_Release := \ 214 '-DV8_DEPRECATION_WARNINGS' \ 215 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 216 '-D_FILE_OFFSET_BITS=64' \ 217 '-DNO_TCMALLOC' \ 218 '-DDISABLE_NACL' \ 219 '-DCHROMIUM_BUILD' \ 220 '-DUSE_LIBJPEG_TURBO=1' \ 221 '-DENABLE_WEBRTC=1' \ 222 '-DUSE_PROPRIETARY_CODECS' \ 223 '-DENABLE_BROWSER_CDMS' \ 224 '-DENABLE_CONFIGURATION_POLICY' \ 225 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 226 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 227 '-DENABLE_EGLIMAGE=1' \ 228 '-DCLD_VERSION=1' \ 229 '-DENABLE_PRINTING=1' \ 230 '-DENABLE_MANAGED_USERS=1' \ 231 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 232 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 233 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 234 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 235 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 236 '-DVIDEO_HOLE=1' \ 237 '-DWEBRTC_RESTRICT_LOGGING' \ 238 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 239 '-DWEBRTC_CHROMIUM_BUILD' \ 240 '-DLOGGING_INSIDE_WEBRTC' \ 241 '-DWEBRTC_ARCH_ARM' \ 242 '-DWEBRTC_ARCH_ARM_V7' \ 243 '-DWEBRTC_DETECT_ARM_NEON' \ 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 \ 270 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ 271 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ 272 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ 273 $(PWD)/frameworks/wilhelm/include \ 274 $(PWD)/bionic \ 275 $(PWD)/external/stlport/stlport 276 277 278 # Flags passed to only C++ (and not C) files. 279 LOCAL_CPPFLAGS_Release := \ 280 -fno-rtti \ 281 -fno-threadsafe-statics \ 282 -fvisibility-inlines-hidden \ 283 -Wsign-compare \ 284 -Wno-abi \ 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 -Wl,-z,relro \ 305 -Wl,-z,now \ 306 -fuse-ld=gold \ 307 -nostdlib \ 308 -Wl,--no-undefined \ 309 -Wl,--exclude-libs=ALL \ 310 -Wl,--icf=safe \ 311 -Wl,--warn-shared-textrel \ 312 -Wl,-O1 \ 313 -Wl,--as-needed 314 315 316 LOCAL_LDFLAGS_Release := \ 317 -Wl,-z,now \ 318 -Wl,-z,relro \ 319 -Wl,--fatal-warnings \ 320 -Wl,-z,noexecstack \ 321 -fPIC \ 322 -Wl,-z,relro \ 323 -Wl,-z,now \ 324 -fuse-ld=gold \ 325 -nostdlib \ 326 -Wl,--no-undefined \ 327 -Wl,--exclude-libs=ALL \ 328 -Wl,--icf=safe \ 329 -Wl,-O1 \ 330 -Wl,--as-needed \ 331 -Wl,--gc-sections \ 332 -Wl,--warn-shared-textrel 333 334 335 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 336 337 LOCAL_STATIC_LIBRARIES := 338 339 # Enable grouping to fix circular references 340 LOCAL_GROUP_STATIC_LIBRARIES := true 341 342 LOCAL_SHARED_LIBRARIES := \ 343 libstlport \ 344 libdl 345 346 # Add target alias to "gyp_all_modules" target. 347 .PHONY: gyp_all_modules 348 gyp_all_modules: third_party_webrtc_modules_isac_neon_gyp 349 350 # Alias gyp target name. 351 .PHONY: isac_neon 352 isac_neon: third_party_webrtc_modules_isac_neon_gyp 353 354 include $(BUILD_STATIC_LIBRARY) 355