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