1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_webrtc_modules_G711_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := 14 15GYP_GENERATED_OUTPUTS := 16 17# Make sure our deps and generated files are built first. 18LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20LOCAL_GENERATED_SOURCES := 21 22GYP_COPIED_SOURCE_ORIGIN_DIRS := 23 24LOCAL_SRC_FILES := \ 25 third_party/webrtc/modules/audio_coding/codecs/g711/g711_interface.c \ 26 third_party/webrtc/modules/audio_coding/codecs/g711/g711.c 27 28 29# Flags passed to both C and C++ files. 30MY_CFLAGS_Debug := \ 31 --param=ssp-buffer-size=4 \ 32 -Werror \ 33 -fno-strict-aliasing \ 34 -Wall \ 35 -Wno-unused-parameter \ 36 -Wno-missing-field-initializers \ 37 -fvisibility=hidden \ 38 -pipe \ 39 -fPIC \ 40 -Wno-unused-local-typedefs \ 41 -fno-builtin-cos \ 42 -fno-builtin-sin \ 43 -fno-builtin-cosf \ 44 -fno-builtin-sinf \ 45 -fno-builtin-cos \ 46 -fno-builtin-sin \ 47 -fno-builtin-cosf \ 48 -fno-builtin-sinf \ 49 -msse2 \ 50 -mfpmath=sse \ 51 -mmmx \ 52 -m32 \ 53 -ffunction-sections \ 54 -funwind-tables \ 55 -g \ 56 -fno-short-enums \ 57 -finline-limit=64 \ 58 -Wa,--noexecstack \ 59 -U_FORTIFY_SOURCE \ 60 -Wno-extra \ 61 -Wno-ignored-qualifiers \ 62 -Wno-type-limits \ 63 -Wno-unused-but-set-variable \ 64 -fno-stack-protector \ 65 -Os \ 66 -g \ 67 -gdwarf-4 \ 68 -fdata-sections \ 69 -ffunction-sections \ 70 -fomit-frame-pointer \ 71 -funwind-tables 72 73MY_DEFS_Debug := \ 74 '-DV8_DEPRECATION_WARNINGS' \ 75 '-D_FILE_OFFSET_BITS=64' \ 76 '-DNO_TCMALLOC' \ 77 '-DDISABLE_NACL' \ 78 '-DCHROMIUM_BUILD' \ 79 '-DUSE_LIBJPEG_TURBO=1' \ 80 '-DENABLE_WEBRTC=1' \ 81 '-DUSE_PROPRIETARY_CODECS' \ 82 '-DENABLE_BROWSER_CDMS' \ 83 '-DENABLE_CONFIGURATION_POLICY' \ 84 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 85 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 86 '-DENABLE_EGLIMAGE=1' \ 87 '-DCLD_VERSION=1' \ 88 '-DENABLE_PRINTING=1' \ 89 '-DENABLE_MANAGED_USERS=1' \ 90 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 91 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 92 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 93 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 94 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 95 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 96 '-DVIDEO_HOLE=1' \ 97 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 98 '-DWEBRTC_RESTRICT_LOGGING' \ 99 '-DEXPAT_RELATIVE_PATH' \ 100 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 101 '-DWEBRTC_CHROMIUM_BUILD' \ 102 '-DLOGGING_INSIDE_WEBRTC' \ 103 '-DWEBRTC_POSIX' \ 104 '-DWEBRTC_LINUX' \ 105 '-DWEBRTC_ANDROID' \ 106 '-DWEBRTC_ANDROID_OPENSLES' \ 107 '-DUSE_OPENSSL=1' \ 108 '-DUSE_OPENSSL_CERTS=1' \ 109 '-D__STDC_CONSTANT_MACROS' \ 110 '-D__STDC_FORMAT_MACROS' \ 111 '-DANDROID' \ 112 '-D__GNU_SOURCE=1' \ 113 '-DUSE_STLPORT=1' \ 114 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 115 '-DCHROME_BUILD_ID=""' \ 116 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 117 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 118 '-D_DEBUG' 119 120 121# Include paths placed before CFLAGS/CPPFLAGS 122LOCAL_C_INCLUDES_Debug := \ 123 $(gyp_shared_intermediate_dir) \ 124 $(LOCAL_PATH) \ 125 $(LOCAL_PATH)/third_party/webrtc/overrides \ 126 $(LOCAL_PATH)/third_party \ 127 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g711/include \ 128 $(LOCAL_PATH)/third_party/webrtc \ 129 $(PWD)/frameworks/wilhelm/include \ 130 $(PWD)/bionic \ 131 $(PWD)/external/stlport/stlport 132 133 134# Flags passed to only C++ (and not C) files. 135LOCAL_CPPFLAGS_Debug := \ 136 -fno-exceptions \ 137 -fno-rtti \ 138 -fno-threadsafe-statics \ 139 -fvisibility-inlines-hidden \ 140 -Wsign-compare \ 141 -std=gnu++11 \ 142 -Wno-narrowing \ 143 -Wno-literal-suffix \ 144 -Wno-non-virtual-dtor \ 145 -Wno-sign-promo 146 147 148# Flags passed to both C and C++ files. 149MY_CFLAGS_Release := \ 150 --param=ssp-buffer-size=4 \ 151 -Werror \ 152 -fno-strict-aliasing \ 153 -Wall \ 154 -Wno-unused-parameter \ 155 -Wno-missing-field-initializers \ 156 -fvisibility=hidden \ 157 -pipe \ 158 -fPIC \ 159 -Wno-unused-local-typedefs \ 160 -fno-builtin-cos \ 161 -fno-builtin-sin \ 162 -fno-builtin-cosf \ 163 -fno-builtin-sinf \ 164 -fno-builtin-cos \ 165 -fno-builtin-sin \ 166 -fno-builtin-cosf \ 167 -fno-builtin-sinf \ 168 -msse2 \ 169 -mfpmath=sse \ 170 -mmmx \ 171 -m32 \ 172 -ffunction-sections \ 173 -funwind-tables \ 174 -g \ 175 -fno-short-enums \ 176 -finline-limit=64 \ 177 -Wa,--noexecstack \ 178 -U_FORTIFY_SOURCE \ 179 -Wno-extra \ 180 -Wno-ignored-qualifiers \ 181 -Wno-type-limits \ 182 -Wno-unused-but-set-variable \ 183 -fno-stack-protector \ 184 -Os \ 185 -fno-ident \ 186 -fdata-sections \ 187 -ffunction-sections \ 188 -fomit-frame-pointer \ 189 -funwind-tables 190 191MY_DEFS_Release := \ 192 '-DV8_DEPRECATION_WARNINGS' \ 193 '-D_FILE_OFFSET_BITS=64' \ 194 '-DNO_TCMALLOC' \ 195 '-DDISABLE_NACL' \ 196 '-DCHROMIUM_BUILD' \ 197 '-DUSE_LIBJPEG_TURBO=1' \ 198 '-DENABLE_WEBRTC=1' \ 199 '-DUSE_PROPRIETARY_CODECS' \ 200 '-DENABLE_BROWSER_CDMS' \ 201 '-DENABLE_CONFIGURATION_POLICY' \ 202 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 203 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 204 '-DENABLE_EGLIMAGE=1' \ 205 '-DCLD_VERSION=1' \ 206 '-DENABLE_PRINTING=1' \ 207 '-DENABLE_MANAGED_USERS=1' \ 208 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 209 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 210 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 211 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 212 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 213 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 214 '-DVIDEO_HOLE=1' \ 215 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 216 '-DWEBRTC_RESTRICT_LOGGING' \ 217 '-DEXPAT_RELATIVE_PATH' \ 218 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 219 '-DWEBRTC_CHROMIUM_BUILD' \ 220 '-DLOGGING_INSIDE_WEBRTC' \ 221 '-DWEBRTC_POSIX' \ 222 '-DWEBRTC_LINUX' \ 223 '-DWEBRTC_ANDROID' \ 224 '-DWEBRTC_ANDROID_OPENSLES' \ 225 '-DUSE_OPENSSL=1' \ 226 '-DUSE_OPENSSL_CERTS=1' \ 227 '-D__STDC_CONSTANT_MACROS' \ 228 '-D__STDC_FORMAT_MACROS' \ 229 '-DANDROID' \ 230 '-D__GNU_SOURCE=1' \ 231 '-DUSE_STLPORT=1' \ 232 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 233 '-DCHROME_BUILD_ID=""' \ 234 '-DNDEBUG' \ 235 '-DNVALGRIND' \ 236 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 237 '-D_FORTIFY_SOURCE=2' 238 239 240# Include paths placed before CFLAGS/CPPFLAGS 241LOCAL_C_INCLUDES_Release := \ 242 $(gyp_shared_intermediate_dir) \ 243 $(LOCAL_PATH) \ 244 $(LOCAL_PATH)/third_party/webrtc/overrides \ 245 $(LOCAL_PATH)/third_party \ 246 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g711/include \ 247 $(LOCAL_PATH)/third_party/webrtc \ 248 $(PWD)/frameworks/wilhelm/include \ 249 $(PWD)/bionic \ 250 $(PWD)/external/stlport/stlport 251 252 253# Flags passed to only C++ (and not C) files. 254LOCAL_CPPFLAGS_Release := \ 255 -fno-exceptions \ 256 -fno-rtti \ 257 -fno-threadsafe-statics \ 258 -fvisibility-inlines-hidden \ 259 -Wsign-compare \ 260 -std=gnu++11 \ 261 -Wno-narrowing \ 262 -Wno-literal-suffix \ 263 -Wno-non-virtual-dtor \ 264 -Wno-sign-promo 265 266 267LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 268LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 269LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 270LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 271### Rules for final target. 272 273LOCAL_SHARED_LIBRARIES := \ 274 libstlport \ 275 libdl 276 277# Add target alias to "gyp_all_modules" target. 278.PHONY: gyp_all_modules 279gyp_all_modules: third_party_webrtc_modules_G711_gyp 280 281# Alias gyp target name. 282.PHONY: G711 283G711: third_party_webrtc_modules_G711_gyp 284 285include $(BUILD_STATIC_LIBRARY) 286