cityhash.target.darwin-mips.mk revision 3c54152607de4272b3da0c146b71dcba8a0e5610
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 := \ 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_CFLAGS_C := 65 66MY_DEFS := \ 67 '-DANGLE_DX11' \ 68 '-D_FILE_OFFSET_BITS=64' \ 69 '-DNO_TCMALLOC' \ 70 '-DDISABLE_NACL' \ 71 '-DCHROMIUM_BUILD' \ 72 '-DUSE_LIBJPEG_TURBO=1' \ 73 '-DUSE_PROPRIETARY_CODECS' \ 74 '-DENABLE_GPU=1' \ 75 '-DUSE_OPENSSL=1' \ 76 '-DENABLE_EGLIMAGE=1' \ 77 '-DENABLE_LANGUAGE_DETECTION=1' \ 78 '-DANDROID' \ 79 '-D__GNU_SOURCE=1' \ 80 '-DUSE_STLPORT=1' \ 81 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 82 '-DCHROME_BUILD_ID=""' \ 83 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 84 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 85 '-D_DEBUG' 86 87LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS) 88 89# Include paths placed before CFLAGS/CPPFLAGS 90LOCAL_C_INCLUDES := \ 91 $(PWD)/frameworks/wilhelm/include \ 92 $(PWD)/bionic \ 93 $(PWD)/external/stlport/stlport 94 95LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES) 96 97# Flags passed to only C++ (and not C) files. 98LOCAL_CPPFLAGS := \ 99 -fno-rtti \ 100 -fno-threadsafe-statics \ 101 -fvisibility-inlines-hidden \ 102 -Wno-deprecated \ 103 -Wno-uninitialized \ 104 -Wno-error=c++0x-compat \ 105 -Wno-non-virtual-dtor \ 106 -Wno-sign-promo \ 107 -Wno-non-virtual-dtor 108 109### Rules for final target. 110 111LOCAL_LDFLAGS := \ 112 -Wl,-z,now \ 113 -Wl,-z,relro \ 114 -Wl,-z,noexecstack \ 115 -fPIC \ 116 -EL \ 117 -Wl,--no-keep-memory \ 118 -nostdlib \ 119 -Wl,--no-undefined \ 120 -Wl,--exclude-libs=ALL \ 121 -Wl,--gc-sections \ 122 -Wl,-O1 \ 123 -Wl,--as-needed 124 125 126LOCAL_STATIC_LIBRARIES := 127 128# Enable grouping to fix circular references 129LOCAL_GROUP_STATIC_LIBRARIES := true 130 131LOCAL_SHARED_LIBRARIES := \ 132 libstlport \ 133 libdl 134 135# Add target alias to "gyp_all_modules" target. 136.PHONY: gyp_all_modules 137gyp_all_modules: third_party_smhasher_cityhash_gyp 138 139# Alias gyp target name. 140.PHONY: cityhash 141cityhash: third_party_smhasher_cityhash_gyp 142 143include $(BUILD_STATIC_LIBRARY) 144