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