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