1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := components_visitedlink_browser_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 16 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_CPP_EXTENSION := .cc 23 LOCAL_GENERATED_SOURCES := 24 25 GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27 LOCAL_SRC_FILES := \ 28 components/visitedlink/browser/visitedlink_event_listener.cc \ 29 components/visitedlink/browser/visitedlink_master.cc 30 31 32 # Flags passed to both C and C++ files. 33 MY_CFLAGS_Debug := \ 34 -fstack-protector \ 35 --param=ssp-buffer-size=4 \ 36 -Werror \ 37 -fno-strict-aliasing \ 38 -Wall \ 39 -Wno-unused-parameter \ 40 -Wno-missing-field-initializers \ 41 -fvisibility=hidden \ 42 -pipe \ 43 -fPIC \ 44 -Wno-unused-local-typedefs \ 45 -m64 \ 46 -march=x86-64 \ 47 -ffunction-sections \ 48 -funwind-tables \ 49 -g \ 50 -fstack-protector \ 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 -Wno-unused-but-set-variable \ 59 -Os \ 60 -g \ 61 -gdwarf-4 \ 62 -fdata-sections \ 63 -ffunction-sections \ 64 -fomit-frame-pointer \ 65 -funwind-tables 66 67 MY_DEFS_Debug := \ 68 '-DV8_DEPRECATION_WARNINGS' \ 69 '-D_FILE_OFFSET_BITS=64' \ 70 '-DNO_TCMALLOC' \ 71 '-DDISABLE_NACL' \ 72 '-DCHROMIUM_BUILD' \ 73 '-DUSE_LIBJPEG_TURBO=1' \ 74 '-DENABLE_WEBRTC=1' \ 75 '-DUSE_PROPRIETARY_CODECS' \ 76 '-DENABLE_BROWSER_CDMS' \ 77 '-DENABLE_CONFIGURATION_POLICY' \ 78 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 79 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 80 '-DENABLE_EGLIMAGE=1' \ 81 '-DCLD_VERSION=1' \ 82 '-DENABLE_PRINTING=1' \ 83 '-DENABLE_MANAGED_USERS=1' \ 84 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 85 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 86 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 87 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 88 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 89 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 90 '-DVIDEO_HOLE=1' \ 91 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 92 '-DMOJO_USE_SYSTEM_IMPL' \ 93 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 94 '-DSK_ENABLE_INST_COUNT=0' \ 95 '-DSK_SUPPORT_GPU=1' \ 96 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 97 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 98 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 99 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 100 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 101 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 102 '-DSK_BUILD_FOR_ANDROID' \ 103 '-DSK_USE_POSIX_THREADS' \ 104 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 105 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 106 '-DUSE_OPENSSL=1' \ 107 '-DUSE_OPENSSL_CERTS=1' \ 108 '-D__STDC_CONSTANT_MACROS' \ 109 '-D__STDC_FORMAT_MACROS' \ 110 '-DANDROID' \ 111 '-D__GNU_SOURCE=1' \ 112 '-DUSE_STLPORT=1' \ 113 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 114 '-DCHROME_BUILD_ID=""' \ 115 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 116 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 117 '-D_DEBUG' 118 119 120 # Include paths placed before CFLAGS/CPPFLAGS 121 LOCAL_C_INCLUDES_Debug := \ 122 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 123 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 124 $(gyp_shared_intermediate_dir) \ 125 $(LOCAL_PATH)/skia/config \ 126 $(LOCAL_PATH)/third_party/khronos \ 127 $(LOCAL_PATH)/gpu \ 128 $(LOCAL_PATH) \ 129 $(LOCAL_PATH)/third_party/WebKit/Source \ 130 $(gyp_shared_intermediate_dir)/angle \ 131 $(LOCAL_PATH)/third_party/WebKit \ 132 $(LOCAL_PATH)/third_party/skia/src/core \ 133 $(LOCAL_PATH)/third_party/skia/include/core \ 134 $(LOCAL_PATH)/third_party/skia/include/effects \ 135 $(LOCAL_PATH)/third_party/skia/include/pdf \ 136 $(LOCAL_PATH)/third_party/skia/include/gpu \ 137 $(LOCAL_PATH)/third_party/skia/include/lazy \ 138 $(LOCAL_PATH)/third_party/skia/include/pathops \ 139 $(LOCAL_PATH)/third_party/skia/include/pipe \ 140 $(LOCAL_PATH)/third_party/skia/include/ports \ 141 $(LOCAL_PATH)/third_party/skia/include/utils \ 142 $(LOCAL_PATH)/skia/ext \ 143 $(PWD)/frameworks/wilhelm/include \ 144 $(PWD)/bionic \ 145 $(PWD)/external/stlport/stlport 146 147 148 # Flags passed to only C++ (and not C) files. 149 LOCAL_CPPFLAGS_Debug := \ 150 -fno-exceptions \ 151 -fno-rtti \ 152 -fno-threadsafe-statics \ 153 -fvisibility-inlines-hidden \ 154 -Wsign-compare \ 155 -std=gnu++11 \ 156 -Wno-narrowing \ 157 -Wno-literal-suffix \ 158 -Wno-non-virtual-dtor \ 159 -Wno-sign-promo 160 161 162 # Flags passed to both C and C++ files. 163 MY_CFLAGS_Release := \ 164 -fstack-protector \ 165 --param=ssp-buffer-size=4 \ 166 -Werror \ 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 -m64 \ 176 -march=x86-64 \ 177 -ffunction-sections \ 178 -funwind-tables \ 179 -g \ 180 -fstack-protector \ 181 -fno-short-enums \ 182 -finline-limit=64 \ 183 -Wa,--noexecstack \ 184 -U_FORTIFY_SOURCE \ 185 -Wno-extra \ 186 -Wno-ignored-qualifiers \ 187 -Wno-type-limits \ 188 -Wno-unused-but-set-variable \ 189 -Os \ 190 -fno-ident \ 191 -fdata-sections \ 192 -ffunction-sections \ 193 -fomit-frame-pointer \ 194 -funwind-tables 195 196 MY_DEFS_Release := \ 197 '-DV8_DEPRECATION_WARNINGS' \ 198 '-D_FILE_OFFSET_BITS=64' \ 199 '-DNO_TCMALLOC' \ 200 '-DDISABLE_NACL' \ 201 '-DCHROMIUM_BUILD' \ 202 '-DUSE_LIBJPEG_TURBO=1' \ 203 '-DENABLE_WEBRTC=1' \ 204 '-DUSE_PROPRIETARY_CODECS' \ 205 '-DENABLE_BROWSER_CDMS' \ 206 '-DENABLE_CONFIGURATION_POLICY' \ 207 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 208 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 209 '-DENABLE_EGLIMAGE=1' \ 210 '-DCLD_VERSION=1' \ 211 '-DENABLE_PRINTING=1' \ 212 '-DENABLE_MANAGED_USERS=1' \ 213 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 214 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 215 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 216 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 217 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 218 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 219 '-DVIDEO_HOLE=1' \ 220 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 221 '-DMOJO_USE_SYSTEM_IMPL' \ 222 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 223 '-DSK_ENABLE_INST_COUNT=0' \ 224 '-DSK_SUPPORT_GPU=1' \ 225 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 226 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 227 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 228 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 229 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 230 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 231 '-DSK_BUILD_FOR_ANDROID' \ 232 '-DSK_USE_POSIX_THREADS' \ 233 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 234 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 235 '-DUSE_OPENSSL=1' \ 236 '-DUSE_OPENSSL_CERTS=1' \ 237 '-D__STDC_CONSTANT_MACROS' \ 238 '-D__STDC_FORMAT_MACROS' \ 239 '-DANDROID' \ 240 '-D__GNU_SOURCE=1' \ 241 '-DUSE_STLPORT=1' \ 242 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 243 '-DCHROME_BUILD_ID=""' \ 244 '-DNDEBUG' \ 245 '-DNVALGRIND' \ 246 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 247 '-D_FORTIFY_SOURCE=2' 248 249 250 # Include paths placed before CFLAGS/CPPFLAGS 251 LOCAL_C_INCLUDES_Release := \ 252 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 253 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 254 $(gyp_shared_intermediate_dir) \ 255 $(LOCAL_PATH)/skia/config \ 256 $(LOCAL_PATH)/third_party/khronos \ 257 $(LOCAL_PATH)/gpu \ 258 $(LOCAL_PATH) \ 259 $(LOCAL_PATH)/third_party/WebKit/Source \ 260 $(gyp_shared_intermediate_dir)/angle \ 261 $(LOCAL_PATH)/third_party/WebKit \ 262 $(LOCAL_PATH)/third_party/skia/src/core \ 263 $(LOCAL_PATH)/third_party/skia/include/core \ 264 $(LOCAL_PATH)/third_party/skia/include/effects \ 265 $(LOCAL_PATH)/third_party/skia/include/pdf \ 266 $(LOCAL_PATH)/third_party/skia/include/gpu \ 267 $(LOCAL_PATH)/third_party/skia/include/lazy \ 268 $(LOCAL_PATH)/third_party/skia/include/pathops \ 269 $(LOCAL_PATH)/third_party/skia/include/pipe \ 270 $(LOCAL_PATH)/third_party/skia/include/ports \ 271 $(LOCAL_PATH)/third_party/skia/include/utils \ 272 $(LOCAL_PATH)/skia/ext \ 273 $(PWD)/frameworks/wilhelm/include \ 274 $(PWD)/bionic \ 275 $(PWD)/external/stlport/stlport 276 277 278 # Flags passed to only C++ (and not C) files. 279 LOCAL_CPPFLAGS_Release := \ 280 -fno-exceptions \ 281 -fno-rtti \ 282 -fno-threadsafe-statics \ 283 -fvisibility-inlines-hidden \ 284 -Wsign-compare \ 285 -std=gnu++11 \ 286 -Wno-narrowing \ 287 -Wno-literal-suffix \ 288 -Wno-non-virtual-dtor \ 289 -Wno-sign-promo 290 291 292 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 293 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 294 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 295 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 296 ### Rules for final target. 297 298 LOCAL_SHARED_LIBRARIES := \ 299 libstlport \ 300 libdl 301 302 # Add target alias to "gyp_all_modules" target. 303 .PHONY: gyp_all_modules 304 gyp_all_modules: components_visitedlink_browser_gyp 305 306 # Alias gyp target name. 307 .PHONY: visitedlink_browser 308 visitedlink_browser: components_visitedlink_browser_gyp 309 310 include $(BUILD_STATIC_LIBRARY) 311