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 -fstack-protector \ 34 --param=ssp-buffer-size=4 \ 35 -fno-strict-aliasing \ 36 -Wno-unused-parameter \ 37 -Wno-missing-field-initializers \ 38 -fvisibility=hidden \ 39 -pipe \ 40 -fPIC \ 41 -Wno-unused-local-typedefs \ 42 -mssse3 \ 43 -Wno-format \ 44 -m64 \ 45 -march=x86-64 \ 46 -ffunction-sections \ 47 -funwind-tables \ 48 -g \ 49 -fstack-protector \ 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 -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/x64 \ 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 -fstack-protector \ 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 -m64 \ 146 -march=x86-64 \ 147 -ffunction-sections \ 148 -funwind-tables \ 149 -g \ 150 -fstack-protector \ 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 -Wno-address \ 160 -Wno-format-security \ 161 -Wno-return-type \ 162 -Wno-sequence-point \ 163 -Os \ 164 -fno-ident \ 165 -fdata-sections \ 166 -ffunction-sections \ 167 -fomit-frame-pointer \ 168 -funwind-tables 169 170 MY_DEFS_Release := \ 171 '-DV8_DEPRECATION_WARNINGS' \ 172 '-D_FILE_OFFSET_BITS=64' \ 173 '-DNO_TCMALLOC' \ 174 '-DDISABLE_NACL' \ 175 '-DCHROMIUM_BUILD' \ 176 '-DUSE_LIBJPEG_TURBO=1' \ 177 '-DENABLE_WEBRTC=1' \ 178 '-DUSE_PROPRIETARY_CODECS' \ 179 '-DENABLE_BROWSER_CDMS' \ 180 '-DENABLE_CONFIGURATION_POLICY' \ 181 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 182 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 183 '-DENABLE_EGLIMAGE=1' \ 184 '-DCLD_VERSION=1' \ 185 '-DENABLE_PRINTING=1' \ 186 '-DENABLE_MANAGED_USERS=1' \ 187 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 188 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 189 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 190 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 191 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 192 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 193 '-DVIDEO_HOLE=1' \ 194 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 195 '-DUSE_OPENSSL=1' \ 196 '-DUSE_OPENSSL_CERTS=1' \ 197 '-DANDROID' \ 198 '-D__GNU_SOURCE=1' \ 199 '-DUSE_STLPORT=1' \ 200 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 201 '-DCHROME_BUILD_ID=""' \ 202 '-DNDEBUG' \ 203 '-DNVALGRIND' \ 204 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 205 206 207 # Include paths placed before CFLAGS/CPPFLAGS 208 LOCAL_C_INCLUDES_Release := \ 209 $(gyp_shared_intermediate_dir) \ 210 $(LOCAL_PATH)/third_party/libvpx/source/config/linux/x64 \ 211 $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ 212 $(PWD)/frameworks/wilhelm/include \ 213 $(PWD)/bionic \ 214 $(PWD)/external/stlport/stlport 215 216 217 # Flags passed to only C++ (and not C) files. 218 LOCAL_CPPFLAGS_Release := \ 219 -fno-exceptions \ 220 -fno-rtti \ 221 -fno-threadsafe-statics \ 222 -fvisibility-inlines-hidden \ 223 -Wno-deprecated \ 224 -std=gnu++11 \ 225 -Wno-narrowing \ 226 -Wno-literal-suffix \ 227 -Wno-non-virtual-dtor \ 228 -Wno-sign-promo \ 229 -Wno-non-virtual-dtor 230 231 232 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 233 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 234 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 235 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 236 ### Rules for final target. 237 238 LOCAL_SHARED_LIBRARIES := \ 239 libstlport \ 240 libdl 241 242 # Add target alias to "gyp_all_modules" target. 243 .PHONY: gyp_all_modules 244 gyp_all_modules: third_party_libvpx_libvpx_intrinsics_ssse3_gyp 245 246 # Alias gyp target name. 247 .PHONY: libvpx_intrinsics_ssse3 248 libvpx_intrinsics_ssse3: third_party_libvpx_libvpx_intrinsics_ssse3_gyp 249 250 include $(BUILD_STATIC_LIBRARY) 251