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