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