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