visitedlink_browser.target.darwin-x86.mk revision f8ee788a64d60abd8f2d742a5fdedde054ecd910
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 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 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 17 18GYP_GENERATED_OUTPUTS := 19 20# Make sure our deps and generated files are built first. 21LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23LOCAL_CPP_EXTENSION := .cc 24LOCAL_GENERATED_SOURCES := 25 26GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28LOCAL_SRC_FILES := \ 29 components/visitedlink/browser/visitedlink_event_listener.cc \ 30 components/visitedlink/browser/visitedlink_master.cc 31 32 33# Flags passed to both C and C++ files. 34MY_CFLAGS_Debug := \ 35 --param=ssp-buffer-size=4 \ 36 -Werror \ 37 -fno-exceptions \ 38 -fno-strict-aliasing \ 39 -Wall \ 40 -Wno-unused-parameter \ 41 -Wno-missing-field-initializers \ 42 -fvisibility=hidden \ 43 -pipe \ 44 -fPIC \ 45 -Wno-unused-local-typedefs \ 46 -msse2 \ 47 -mfpmath=sse \ 48 -mmmx \ 49 -m32 \ 50 -ffunction-sections \ 51 -funwind-tables \ 52 -g \ 53 -fno-short-enums \ 54 -finline-limit=64 \ 55 -Wa,--noexecstack \ 56 -U_FORTIFY_SOURCE \ 57 -Wno-extra \ 58 -Wno-ignored-qualifiers \ 59 -Wno-type-limits \ 60 -Wno-unused-but-set-variable \ 61 -fno-stack-protector \ 62 -Os \ 63 -g \ 64 -fomit-frame-pointer \ 65 -fdata-sections \ 66 -ffunction-sections \ 67 -funwind-tables 68 69MY_DEFS_Debug := \ 70 '-DV8_DEPRECATION_WARNINGS' \ 71 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 72 '-D_FILE_OFFSET_BITS=64' \ 73 '-DNO_TCMALLOC' \ 74 '-DDISABLE_NACL' \ 75 '-DCHROMIUM_BUILD' \ 76 '-DUSE_LIBJPEG_TURBO=1' \ 77 '-DENABLE_WEBRTC=1' \ 78 '-DUSE_PROPRIETARY_CODECS' \ 79 '-DENABLE_BROWSER_CDMS' \ 80 '-DENABLE_CONFIGURATION_POLICY' \ 81 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 82 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 83 '-DENABLE_EGLIMAGE=1' \ 84 '-DCLD_VERSION=1' \ 85 '-DENABLE_PRINTING=1' \ 86 '-DENABLE_MANAGED_USERS=1' \ 87 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 88 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 89 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 90 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 91 '-DVIDEO_HOLE=1' \ 92 '-DMOJO_USE_SYSTEM_IMPL' \ 93 '-DSK_ENABLE_INST_COUNT=0' \ 94 '-DSK_SUPPORT_GPU=1' \ 95 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 96 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 97 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 98 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 99 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 100 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 101 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 102 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 103 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 104 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 105 '-DSK_IGNORE_ETC1_SUPPORT' \ 106 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 107 '-DSK_BUILD_FOR_ANDROID' \ 108 '-DSK_USE_POSIX_THREADS' \ 109 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 110 '-DUSE_OPENSSL=1' \ 111 '-DUSE_OPENSSL_CERTS=1' \ 112 '-D__STDC_CONSTANT_MACROS' \ 113 '-D__STDC_FORMAT_MACROS' \ 114 '-DANDROID' \ 115 '-D__GNU_SOURCE=1' \ 116 '-DUSE_STLPORT=1' \ 117 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 118 '-DCHROME_BUILD_ID=""' \ 119 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 120 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 121 '-D_DEBUG' 122 123 124# Include paths placed before CFLAGS/CPPFLAGS 125LOCAL_C_INCLUDES_Debug := \ 126 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 127 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 128 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 129 $(gyp_shared_intermediate_dir) \ 130 $(LOCAL_PATH)/skia/config \ 131 $(LOCAL_PATH)/third_party/khronos \ 132 $(LOCAL_PATH)/gpu \ 133 $(LOCAL_PATH) \ 134 $(LOCAL_PATH)/third_party/WebKit/Source \ 135 $(LOCAL_PATH)/third_party/WebKit \ 136 $(LOCAL_PATH)/third_party/skia/src/core \ 137 $(LOCAL_PATH)/third_party/skia/include/core \ 138 $(LOCAL_PATH)/third_party/skia/include/effects \ 139 $(LOCAL_PATH)/third_party/skia/include/pdf \ 140 $(LOCAL_PATH)/third_party/skia/include/gpu \ 141 $(LOCAL_PATH)/third_party/skia/include/lazy \ 142 $(LOCAL_PATH)/third_party/skia/include/pathops \ 143 $(LOCAL_PATH)/third_party/skia/include/pipe \ 144 $(LOCAL_PATH)/third_party/skia/include/ports \ 145 $(LOCAL_PATH)/third_party/skia/include/utils \ 146 $(LOCAL_PATH)/skia/ext \ 147 $(PWD)/frameworks/wilhelm/include \ 148 $(PWD)/bionic \ 149 $(PWD)/external/stlport/stlport 150 151 152# Flags passed to only C++ (and not C) files. 153LOCAL_CPPFLAGS_Debug := \ 154 -fno-rtti \ 155 -fno-threadsafe-statics \ 156 -fvisibility-inlines-hidden \ 157 -Wsign-compare \ 158 -Wno-non-virtual-dtor \ 159 -Wno-sign-promo 160 161 162# Flags passed to both C and C++ files. 163MY_CFLAGS_Release := \ 164 --param=ssp-buffer-size=4 \ 165 -Werror \ 166 -fno-exceptions \ 167 -fno-strict-aliasing \ 168 -Wall \ 169 -Wno-unused-parameter \ 170 -Wno-missing-field-initializers \ 171 -fvisibility=hidden \ 172 -pipe \ 173 -fPIC \ 174 -Wno-unused-local-typedefs \ 175 -msse2 \ 176 -mfpmath=sse \ 177 -mmmx \ 178 -m32 \ 179 -ffunction-sections \ 180 -funwind-tables \ 181 -g \ 182 -fno-short-enums \ 183 -finline-limit=64 \ 184 -Wa,--noexecstack \ 185 -U_FORTIFY_SOURCE \ 186 -Wno-extra \ 187 -Wno-ignored-qualifiers \ 188 -Wno-type-limits \ 189 -Wno-unused-but-set-variable \ 190 -fno-stack-protector \ 191 -Os \ 192 -fno-ident \ 193 -fdata-sections \ 194 -ffunction-sections \ 195 -fomit-frame-pointer \ 196 -funwind-tables 197 198MY_DEFS_Release := \ 199 '-DV8_DEPRECATION_WARNINGS' \ 200 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 201 '-D_FILE_OFFSET_BITS=64' \ 202 '-DNO_TCMALLOC' \ 203 '-DDISABLE_NACL' \ 204 '-DCHROMIUM_BUILD' \ 205 '-DUSE_LIBJPEG_TURBO=1' \ 206 '-DENABLE_WEBRTC=1' \ 207 '-DUSE_PROPRIETARY_CODECS' \ 208 '-DENABLE_BROWSER_CDMS' \ 209 '-DENABLE_CONFIGURATION_POLICY' \ 210 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 211 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 212 '-DENABLE_EGLIMAGE=1' \ 213 '-DCLD_VERSION=1' \ 214 '-DENABLE_PRINTING=1' \ 215 '-DENABLE_MANAGED_USERS=1' \ 216 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 217 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 218 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 219 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 220 '-DVIDEO_HOLE=1' \ 221 '-DMOJO_USE_SYSTEM_IMPL' \ 222 '-DSK_ENABLE_INST_COUNT=0' \ 223 '-DSK_SUPPORT_GPU=1' \ 224 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 225 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 226 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 227 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 228 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 229 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 230 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 231 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 232 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 233 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 234 '-DSK_IGNORE_ETC1_SUPPORT' \ 235 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 236 '-DSK_BUILD_FOR_ANDROID' \ 237 '-DSK_USE_POSIX_THREADS' \ 238 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 239 '-DUSE_OPENSSL=1' \ 240 '-DUSE_OPENSSL_CERTS=1' \ 241 '-D__STDC_CONSTANT_MACROS' \ 242 '-D__STDC_FORMAT_MACROS' \ 243 '-DANDROID' \ 244 '-D__GNU_SOURCE=1' \ 245 '-DUSE_STLPORT=1' \ 246 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 247 '-DCHROME_BUILD_ID=""' \ 248 '-DNDEBUG' \ 249 '-DNVALGRIND' \ 250 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 251 '-D_FORTIFY_SOURCE=2' 252 253 254# Include paths placed before CFLAGS/CPPFLAGS 255LOCAL_C_INCLUDES_Release := \ 256 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 257 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 258 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 259 $(gyp_shared_intermediate_dir) \ 260 $(LOCAL_PATH)/skia/config \ 261 $(LOCAL_PATH)/third_party/khronos \ 262 $(LOCAL_PATH)/gpu \ 263 $(LOCAL_PATH) \ 264 $(LOCAL_PATH)/third_party/WebKit/Source \ 265 $(LOCAL_PATH)/third_party/WebKit \ 266 $(LOCAL_PATH)/third_party/skia/src/core \ 267 $(LOCAL_PATH)/third_party/skia/include/core \ 268 $(LOCAL_PATH)/third_party/skia/include/effects \ 269 $(LOCAL_PATH)/third_party/skia/include/pdf \ 270 $(LOCAL_PATH)/third_party/skia/include/gpu \ 271 $(LOCAL_PATH)/third_party/skia/include/lazy \ 272 $(LOCAL_PATH)/third_party/skia/include/pathops \ 273 $(LOCAL_PATH)/third_party/skia/include/pipe \ 274 $(LOCAL_PATH)/third_party/skia/include/ports \ 275 $(LOCAL_PATH)/third_party/skia/include/utils \ 276 $(LOCAL_PATH)/skia/ext \ 277 $(PWD)/frameworks/wilhelm/include \ 278 $(PWD)/bionic \ 279 $(PWD)/external/stlport/stlport 280 281 282# Flags passed to only C++ (and not C) files. 283LOCAL_CPPFLAGS_Release := \ 284 -fno-rtti \ 285 -fno-threadsafe-statics \ 286 -fvisibility-inlines-hidden \ 287 -Wsign-compare \ 288 -Wno-non-virtual-dtor \ 289 -Wno-sign-promo 290 291 292LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 293LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 294LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 295LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 296### Rules for final target. 297 298LOCAL_LDFLAGS_Debug := \ 299 -Wl,-z,now \ 300 -Wl,-z,relro \ 301 -Wl,--fatal-warnings \ 302 -Wl,-z,noexecstack \ 303 -fPIC \ 304 -m32 \ 305 -fuse-ld=gold \ 306 -nostdlib \ 307 -Wl,--no-undefined \ 308 -Wl,--exclude-libs=ALL \ 309 -Wl,--warn-shared-textrel \ 310 -Wl,-O1 \ 311 -Wl,--as-needed 312 313 314LOCAL_LDFLAGS_Release := \ 315 -Wl,-z,now \ 316 -Wl,-z,relro \ 317 -Wl,--fatal-warnings \ 318 -Wl,-z,noexecstack \ 319 -fPIC \ 320 -m32 \ 321 -fuse-ld=gold \ 322 -nostdlib \ 323 -Wl,--no-undefined \ 324 -Wl,--exclude-libs=ALL \ 325 -Wl,-O1 \ 326 -Wl,--as-needed \ 327 -Wl,--gc-sections \ 328 -Wl,--warn-shared-textrel 329 330 331LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 332 333LOCAL_STATIC_LIBRARIES := \ 334 ui_accessibility_ax_gen_gyp \ 335 skia_skia_library_gyp 336 337# Enable grouping to fix circular references 338LOCAL_GROUP_STATIC_LIBRARIES := true 339 340LOCAL_SHARED_LIBRARIES := \ 341 libstlport \ 342 libdl 343 344# Add target alias to "gyp_all_modules" target. 345.PHONY: gyp_all_modules 346gyp_all_modules: components_visitedlink_browser_gyp 347 348# Alias gyp target name. 349.PHONY: visitedlink_browser 350visitedlink_browser: components_visitedlink_browser_gyp 351 352include $(BUILD_STATIC_LIBRARY) 353