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