cityhash.target.darwin-arm64.mk revision 0de6073388f4e2780db8536178b129cd8f6ab386
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_smhasher_cityhash_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := 15 16GYP_GENERATED_OUTPUTS := 17 18# Make sure our deps and generated files are built first. 19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21LOCAL_GENERATED_SOURCES := 22 23GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25LOCAL_SRC_FILES := \ 26 third_party/smhasher/src/City.cpp 27 28 29# Flags passed to both C and C++ files. 30MY_CFLAGS_Debug := \ 31 --param=ssp-buffer-size=4 \ 32 -fno-exceptions \ 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 -Wno-format \ 41 -ffunction-sections \ 42 -funwind-tables \ 43 -g \ 44 -fno-short-enums \ 45 -finline-limit=64 \ 46 -Wa,--noexecstack \ 47 -U_FORTIFY_SOURCE \ 48 -Wno-extra \ 49 -Wno-ignored-qualifiers \ 50 -Wno-type-limits \ 51 -Wno-unused-but-set-variable \ 52 -Wno-address \ 53 -Wno-format-security \ 54 -Wno-return-type \ 55 -Wno-sequence-point \ 56 -Os \ 57 -g \ 58 -fomit-frame-pointer \ 59 -fdata-sections \ 60 -ffunction-sections \ 61 -funwind-tables 62 63MY_DEFS_Debug := \ 64 '-DV8_DEPRECATION_WARNINGS' \ 65 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 66 '-D_FILE_OFFSET_BITS=64' \ 67 '-DNO_TCMALLOC' \ 68 '-DDISABLE_NACL' \ 69 '-DCHROMIUM_BUILD' \ 70 '-DUSE_LIBJPEG_TURBO=1' \ 71 '-DENABLE_WEBRTC=1' \ 72 '-DUSE_PROPRIETARY_CODECS' \ 73 '-DENABLE_CONFIGURATION_POLICY' \ 74 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 75 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 76 '-DENABLE_EGLIMAGE=1' \ 77 '-DCLD_VERSION=1' \ 78 '-DENABLE_PRINTING=1' \ 79 '-DENABLE_MANAGED_USERS=1' \ 80 '-DVIDEO_HOLE=1' \ 81 '-DUSE_OPENSSL=1' \ 82 '-DUSE_OPENSSL_CERTS=1' \ 83 '-DANDROID' \ 84 '-D__GNU_SOURCE=1' \ 85 '-DUSE_STLPORT=1' \ 86 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 87 '-DCHROME_BUILD_ID=""' \ 88 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 89 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 90 '-D_DEBUG' 91 92 93# Include paths placed before CFLAGS/CPPFLAGS 94LOCAL_C_INCLUDES_Debug := \ 95 $(PWD)/frameworks/wilhelm/include \ 96 $(PWD)/bionic \ 97 $(PWD)/external/stlport/stlport 98 99 100# Flags passed to only C++ (and not C) files. 101LOCAL_CPPFLAGS_Debug := \ 102 -fno-rtti \ 103 -fno-threadsafe-statics \ 104 -fvisibility-inlines-hidden \ 105 -Wno-deprecated \ 106 -Wno-non-virtual-dtor \ 107 -Wno-sign-promo \ 108 -Wno-non-virtual-dtor 109 110 111# Flags passed to both C and C++ files. 112MY_CFLAGS_Release := \ 113 --param=ssp-buffer-size=4 \ 114 -fno-exceptions \ 115 -fno-strict-aliasing \ 116 -Wno-unused-parameter \ 117 -Wno-missing-field-initializers \ 118 -fvisibility=hidden \ 119 -pipe \ 120 -fPIC \ 121 -Wno-unused-local-typedefs \ 122 -Wno-format \ 123 -ffunction-sections \ 124 -funwind-tables \ 125 -g \ 126 -fno-short-enums \ 127 -finline-limit=64 \ 128 -Wa,--noexecstack \ 129 -U_FORTIFY_SOURCE \ 130 -Wno-extra \ 131 -Wno-ignored-qualifiers \ 132 -Wno-type-limits \ 133 -Wno-unused-but-set-variable \ 134 -Wno-address \ 135 -Wno-format-security \ 136 -Wno-return-type \ 137 -Wno-sequence-point \ 138 -Os \ 139 -fno-ident \ 140 -fdata-sections \ 141 -ffunction-sections \ 142 -fomit-frame-pointer \ 143 -funwind-tables 144 145MY_DEFS_Release := \ 146 '-DV8_DEPRECATION_WARNINGS' \ 147 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 148 '-D_FILE_OFFSET_BITS=64' \ 149 '-DNO_TCMALLOC' \ 150 '-DDISABLE_NACL' \ 151 '-DCHROMIUM_BUILD' \ 152 '-DUSE_LIBJPEG_TURBO=1' \ 153 '-DENABLE_WEBRTC=1' \ 154 '-DUSE_PROPRIETARY_CODECS' \ 155 '-DENABLE_CONFIGURATION_POLICY' \ 156 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 157 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 158 '-DENABLE_EGLIMAGE=1' \ 159 '-DCLD_VERSION=1' \ 160 '-DENABLE_PRINTING=1' \ 161 '-DENABLE_MANAGED_USERS=1' \ 162 '-DVIDEO_HOLE=1' \ 163 '-DUSE_OPENSSL=1' \ 164 '-DUSE_OPENSSL_CERTS=1' \ 165 '-DANDROID' \ 166 '-D__GNU_SOURCE=1' \ 167 '-DUSE_STLPORT=1' \ 168 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 169 '-DCHROME_BUILD_ID=""' \ 170 '-DNDEBUG' \ 171 '-DNVALGRIND' \ 172 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 173 174 175# Include paths placed before CFLAGS/CPPFLAGS 176LOCAL_C_INCLUDES_Release := \ 177 $(PWD)/frameworks/wilhelm/include \ 178 $(PWD)/bionic \ 179 $(PWD)/external/stlport/stlport 180 181 182# Flags passed to only C++ (and not C) files. 183LOCAL_CPPFLAGS_Release := \ 184 -fno-rtti \ 185 -fno-threadsafe-statics \ 186 -fvisibility-inlines-hidden \ 187 -Wno-deprecated \ 188 -Wno-non-virtual-dtor \ 189 -Wno-sign-promo \ 190 -Wno-non-virtual-dtor 191 192 193LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 194LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 195LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 196LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 197### Rules for final target. 198 199LOCAL_LDFLAGS_Debug := \ 200 -Wl,-z,now \ 201 -Wl,-z,relro \ 202 -Wl,--fatal-warnings \ 203 -Wl,-z,noexecstack \ 204 -fPIC \ 205 -nostdlib \ 206 -Wl,--no-undefined \ 207 -Wl,--exclude-libs=ALL \ 208 -Wl,--warn-shared-textrel \ 209 -Wl,-O1 \ 210 -Wl,--as-needed 211 212 213LOCAL_LDFLAGS_Release := \ 214 -Wl,-z,now \ 215 -Wl,-z,relro \ 216 -Wl,--fatal-warnings \ 217 -Wl,-z,noexecstack \ 218 -fPIC \ 219 -nostdlib \ 220 -Wl,--no-undefined \ 221 -Wl,--exclude-libs=ALL \ 222 -Wl,-O1 \ 223 -Wl,--as-needed \ 224 -Wl,--gc-sections \ 225 -Wl,--warn-shared-textrel 226 227 228LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 229 230LOCAL_STATIC_LIBRARIES := 231 232# Enable grouping to fix circular references 233LOCAL_GROUP_STATIC_LIBRARIES := true 234 235LOCAL_SHARED_LIBRARIES := \ 236 libstlport \ 237 libdl 238 239# Add target alias to "gyp_all_modules" target. 240.PHONY: gyp_all_modules 241gyp_all_modules: third_party_smhasher_cityhash_gyp 242 243# Alias gyp target name. 244.PHONY: cityhash 245cityhash: third_party_smhasher_cityhash_gyp 246 247include $(BUILD_STATIC_LIBRARY) 248