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