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