visitedlink_browser.target.darwin-x86.mk revision 4e180b6a0b4720a9b8e9e959a882386f690f08ff
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := components_visitedlink_browser_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_CPP_EXTENSION := .cc 21LOCAL_GENERATED_SOURCES := 22 23GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25LOCAL_SRC_FILES := \ 26 components/visitedlink/browser/visitedlink_event_listener.cc \ 27 components/visitedlink/browser/visitedlink_master.cc 28 29 30# Flags passed to both C and C++ files. 31MY_CFLAGS_Debug := \ 32 --param=ssp-buffer-size=4 \ 33 -Werror \ 34 -fno-exceptions \ 35 -fno-strict-aliasing \ 36 -Wall \ 37 -Wno-unused-parameter \ 38 -Wno-missing-field-initializers \ 39 -fvisibility=hidden \ 40 -pipe \ 41 -fPIC \ 42 -m32 \ 43 -mmmx \ 44 -march=pentium4 \ 45 -msse2 \ 46 -mfpmath=sse \ 47 -fuse-ld=gold \ 48 -ffunction-sections \ 49 -funwind-tables \ 50 -g \ 51 -fno-short-enums \ 52 -finline-limit=64 \ 53 -Wa,--noexecstack \ 54 -U_FORTIFY_SOURCE \ 55 -Wno-extra \ 56 -Wno-ignored-qualifiers \ 57 -Wno-type-limits \ 58 -fno-stack-protector \ 59 -Os \ 60 -g \ 61 -fomit-frame-pointer \ 62 -fdata-sections \ 63 -ffunction-sections 64 65MY_DEFS_Debug := \ 66 '-DANGLE_DX11' \ 67 '-D_FILE_OFFSET_BITS=64' \ 68 '-DNO_TCMALLOC' \ 69 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 70 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 71 '-DDISABLE_NACL' \ 72 '-DCHROMIUM_BUILD' \ 73 '-DUSE_LIBJPEG_TURBO=1' \ 74 '-DUSE_PROPRIETARY_CODECS' \ 75 '-DENABLE_CONFIGURATION_POLICY' \ 76 '-DUSE_OPENSSL=1' \ 77 '-DENABLE_EGLIMAGE=1' \ 78 '-DCLD_VERSION=1' \ 79 '-D__STDC_CONSTANT_MACROS' \ 80 '-D__STDC_FORMAT_MACROS' \ 81 '-DANDROID' \ 82 '-D__GNU_SOURCE=1' \ 83 '-DUSE_STLPORT=1' \ 84 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 85 '-DCHROME_BUILD_ID=""' \ 86 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 87 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 88 '-D_DEBUG' 89 90 91# Include paths placed before CFLAGS/CPPFLAGS 92LOCAL_C_INCLUDES_Debug := \ 93 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 94 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 95 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 96 $(LOCAL_PATH)/skia/config \ 97 $(LOCAL_PATH) \ 98 $(LOCAL_PATH)/third_party/khronos \ 99 $(LOCAL_PATH)/gpu \ 100 $(PWD)/frameworks/wilhelm/include \ 101 $(PWD)/bionic \ 102 $(PWD)/external/stlport/stlport 103 104 105# Flags passed to only C++ (and not C) files. 106LOCAL_CPPFLAGS_Debug := \ 107 -fno-rtti \ 108 -fno-threadsafe-statics \ 109 -fvisibility-inlines-hidden \ 110 -Wsign-compare \ 111 -Wno-error=c++0x-compat \ 112 -Wno-non-virtual-dtor \ 113 -Wno-sign-promo 114 115 116# Flags passed to both C and C++ files. 117MY_CFLAGS_Release := \ 118 --param=ssp-buffer-size=4 \ 119 -Werror \ 120 -fno-exceptions \ 121 -fno-strict-aliasing \ 122 -Wall \ 123 -Wno-unused-parameter \ 124 -Wno-missing-field-initializers \ 125 -fvisibility=hidden \ 126 -pipe \ 127 -fPIC \ 128 -m32 \ 129 -mmmx \ 130 -march=pentium4 \ 131 -msse2 \ 132 -mfpmath=sse \ 133 -fuse-ld=gold \ 134 -ffunction-sections \ 135 -funwind-tables \ 136 -g \ 137 -fno-short-enums \ 138 -finline-limit=64 \ 139 -Wa,--noexecstack \ 140 -U_FORTIFY_SOURCE \ 141 -Wno-extra \ 142 -Wno-ignored-qualifiers \ 143 -Wno-type-limits \ 144 -fno-stack-protector \ 145 -Os \ 146 -fno-ident \ 147 -fdata-sections \ 148 -ffunction-sections \ 149 -fomit-frame-pointer \ 150 -fno-unwind-tables \ 151 -fno-asynchronous-unwind-tables 152 153MY_DEFS_Release := \ 154 '-DANGLE_DX11' \ 155 '-D_FILE_OFFSET_BITS=64' \ 156 '-DNO_TCMALLOC' \ 157 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 158 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 159 '-DDISABLE_NACL' \ 160 '-DCHROMIUM_BUILD' \ 161 '-DUSE_LIBJPEG_TURBO=1' \ 162 '-DUSE_PROPRIETARY_CODECS' \ 163 '-DENABLE_CONFIGURATION_POLICY' \ 164 '-DUSE_OPENSSL=1' \ 165 '-DENABLE_EGLIMAGE=1' \ 166 '-DCLD_VERSION=1' \ 167 '-D__STDC_CONSTANT_MACROS' \ 168 '-D__STDC_FORMAT_MACROS' \ 169 '-DANDROID' \ 170 '-D__GNU_SOURCE=1' \ 171 '-DUSE_STLPORT=1' \ 172 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 173 '-DCHROME_BUILD_ID=""' \ 174 '-DNDEBUG' \ 175 '-DNVALGRIND' \ 176 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 177 '-D_FORTIFY_SOURCE=2' 178 179 180# Include paths placed before CFLAGS/CPPFLAGS 181LOCAL_C_INCLUDES_Release := \ 182 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 183 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 184 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 185 $(LOCAL_PATH)/skia/config \ 186 $(LOCAL_PATH) \ 187 $(LOCAL_PATH)/third_party/khronos \ 188 $(LOCAL_PATH)/gpu \ 189 $(PWD)/frameworks/wilhelm/include \ 190 $(PWD)/bionic \ 191 $(PWD)/external/stlport/stlport 192 193 194# Flags passed to only C++ (and not C) files. 195LOCAL_CPPFLAGS_Release := \ 196 -fno-rtti \ 197 -fno-threadsafe-statics \ 198 -fvisibility-inlines-hidden \ 199 -Wsign-compare \ 200 -Wno-error=c++0x-compat \ 201 -Wno-non-virtual-dtor \ 202 -Wno-sign-promo 203 204 205LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 206LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 207LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 208### Rules for final target. 209 210LOCAL_LDFLAGS_Debug := \ 211 -Wl,-z,now \ 212 -Wl,-z,relro \ 213 -Wl,-z,noexecstack \ 214 -fPIC \ 215 -m32 \ 216 -fuse-ld=gold \ 217 -nostdlib \ 218 -Wl,--no-undefined \ 219 -Wl,--exclude-libs=ALL \ 220 -Wl,--fatal-warnings \ 221 -Wl,--gc-sections \ 222 -Wl,--warn-shared-textrel \ 223 -Wl,-O1 \ 224 -Wl,--as-needed 225 226 227LOCAL_LDFLAGS_Release := \ 228 -Wl,-z,now \ 229 -Wl,-z,relro \ 230 -Wl,-z,noexecstack \ 231 -fPIC \ 232 -m32 \ 233 -fuse-ld=gold \ 234 -nostdlib \ 235 -Wl,--no-undefined \ 236 -Wl,--exclude-libs=ALL \ 237 -Wl,-O1 \ 238 -Wl,--as-needed \ 239 -Wl,--gc-sections \ 240 -Wl,--fatal-warnings \ 241 -Wl,--warn-shared-textrel 242 243 244LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 245 246LOCAL_STATIC_LIBRARIES := 247 248# Enable grouping to fix circular references 249LOCAL_GROUP_STATIC_LIBRARIES := true 250 251LOCAL_SHARED_LIBRARIES := \ 252 libstlport \ 253 libdl 254 255# Add target alias to "gyp_all_modules" target. 256.PHONY: gyp_all_modules 257gyp_all_modules: components_visitedlink_browser_gyp 258 259# Alias gyp target name. 260.PHONY: visitedlink_browser 261visitedlink_browser: components_visitedlink_browser_gyp 262 263include $(BUILD_STATIC_LIBRARY) 264