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 -fno-tree-sra \ 46 -fno-caller-saves \ 47 -Wno-psabi \ 48 -fno-partial-inlining \ 49 -fno-early-inlining \ 50 -fno-tree-copy-prop \ 51 -fno-tree-loop-optimize \ 52 -fno-move-loop-invariants \ 53 -ffunction-sections \ 54 -funwind-tables \ 55 -g \ 56 -fstack-protector \ 57 -fno-short-enums \ 58 -finline-limit=64 \ 59 -Wa,--noexecstack \ 60 -U_FORTIFY_SOURCE \ 61 -Wno-extra \ 62 -Wno-ignored-qualifiers \ 63 -Wno-type-limits \ 64 -Wno-unused-but-set-variable \ 65 -Os \ 66 -g \ 67 -gdwarf-4 \ 68 -fdata-sections \ 69 -ffunction-sections \ 70 -fomit-frame-pointer \ 71 -funwind-tables 72 73 MY_DEFS_Debug := \ 74 '-DV8_DEPRECATION_WARNINGS' \ 75 '-D_FILE_OFFSET_BITS=64' \ 76 '-DNO_TCMALLOC' \ 77 '-DDISABLE_NACL' \ 78 '-DCHROMIUM_BUILD' \ 79 '-DUSE_LIBJPEG_TURBO=1' \ 80 '-DENABLE_WEBRTC=1' \ 81 '-DUSE_PROPRIETARY_CODECS' \ 82 '-DENABLE_BROWSER_CDMS' \ 83 '-DENABLE_CONFIGURATION_POLICY' \ 84 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 85 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 86 '-DENABLE_EGLIMAGE=1' \ 87 '-DCLD_VERSION=1' \ 88 '-DENABLE_PRINTING=1' \ 89 '-DENABLE_MANAGED_USERS=1' \ 90 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 91 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 92 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 93 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 94 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 95 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 96 '-DVIDEO_HOLE=1' \ 97 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 98 '-DMOJO_USE_SYSTEM_IMPL' \ 99 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 100 '-DSK_ENABLE_INST_COUNT=0' \ 101 '-DSK_SUPPORT_GPU=1' \ 102 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 103 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 104 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 105 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 106 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 107 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 108 '-DSK_BUILD_FOR_ANDROID' \ 109 '-DSK_USE_POSIX_THREADS' \ 110 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 111 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 112 '-DUSE_OPENSSL=1' \ 113 '-DUSE_OPENSSL_CERTS=1' \ 114 '-D__STDC_CONSTANT_MACROS' \ 115 '-D__STDC_FORMAT_MACROS' \ 116 '-DANDROID' \ 117 '-D__GNU_SOURCE=1' \ 118 '-DUSE_STLPORT=1' \ 119 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 120 '-DCHROME_BUILD_ID=""' \ 121 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 122 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 123 '-D_DEBUG' 124 125 126 # Include paths placed before CFLAGS/CPPFLAGS 127 LOCAL_C_INCLUDES_Debug := \ 128 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 129 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 130 $(gyp_shared_intermediate_dir) \ 131 $(LOCAL_PATH)/skia/config \ 132 $(LOCAL_PATH)/third_party/khronos \ 133 $(LOCAL_PATH)/gpu \ 134 $(LOCAL_PATH) \ 135 $(LOCAL_PATH)/third_party/WebKit/Source \ 136 $(gyp_shared_intermediate_dir)/angle \ 137 $(LOCAL_PATH)/third_party/WebKit \ 138 $(LOCAL_PATH)/third_party/skia/src/core \ 139 $(LOCAL_PATH)/third_party/skia/include/core \ 140 $(LOCAL_PATH)/third_party/skia/include/effects \ 141 $(LOCAL_PATH)/third_party/skia/include/pdf \ 142 $(LOCAL_PATH)/third_party/skia/include/gpu \ 143 $(LOCAL_PATH)/third_party/skia/include/lazy \ 144 $(LOCAL_PATH)/third_party/skia/include/pathops \ 145 $(LOCAL_PATH)/third_party/skia/include/pipe \ 146 $(LOCAL_PATH)/third_party/skia/include/ports \ 147 $(LOCAL_PATH)/third_party/skia/include/utils \ 148 $(LOCAL_PATH)/skia/ext \ 149 $(PWD)/frameworks/wilhelm/include \ 150 $(PWD)/bionic \ 151 $(PWD)/external/stlport/stlport 152 153 154 # Flags passed to only C++ (and not C) files. 155 LOCAL_CPPFLAGS_Debug := \ 156 -fno-exceptions \ 157 -fno-rtti \ 158 -fno-threadsafe-statics \ 159 -fvisibility-inlines-hidden \ 160 -Wsign-compare \ 161 -Wno-abi \ 162 -std=gnu++11 \ 163 -Wno-narrowing \ 164 -Wno-literal-suffix \ 165 -Wno-non-virtual-dtor \ 166 -Wno-sign-promo 167 168 169 # Flags passed to both C and C++ files. 170 MY_CFLAGS_Release := \ 171 -fstack-protector \ 172 --param=ssp-buffer-size=4 \ 173 -Werror \ 174 -fno-strict-aliasing \ 175 -Wall \ 176 -Wno-unused-parameter \ 177 -Wno-missing-field-initializers \ 178 -fvisibility=hidden \ 179 -pipe \ 180 -fPIC \ 181 -Wno-unused-local-typedefs \ 182 -fno-tree-sra \ 183 -fno-caller-saves \ 184 -Wno-psabi \ 185 -fno-partial-inlining \ 186 -fno-early-inlining \ 187 -fno-tree-copy-prop \ 188 -fno-tree-loop-optimize \ 189 -fno-move-loop-invariants \ 190 -ffunction-sections \ 191 -funwind-tables \ 192 -g \ 193 -fstack-protector \ 194 -fno-short-enums \ 195 -finline-limit=64 \ 196 -Wa,--noexecstack \ 197 -U_FORTIFY_SOURCE \ 198 -Wno-extra \ 199 -Wno-ignored-qualifiers \ 200 -Wno-type-limits \ 201 -Wno-unused-but-set-variable \ 202 -Os \ 203 -fno-ident \ 204 -fdata-sections \ 205 -ffunction-sections \ 206 -fomit-frame-pointer \ 207 -funwind-tables 208 209 MY_DEFS_Release := \ 210 '-DV8_DEPRECATION_WARNINGS' \ 211 '-D_FILE_OFFSET_BITS=64' \ 212 '-DNO_TCMALLOC' \ 213 '-DDISABLE_NACL' \ 214 '-DCHROMIUM_BUILD' \ 215 '-DUSE_LIBJPEG_TURBO=1' \ 216 '-DENABLE_WEBRTC=1' \ 217 '-DUSE_PROPRIETARY_CODECS' \ 218 '-DENABLE_BROWSER_CDMS' \ 219 '-DENABLE_CONFIGURATION_POLICY' \ 220 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 221 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 222 '-DENABLE_EGLIMAGE=1' \ 223 '-DCLD_VERSION=1' \ 224 '-DENABLE_PRINTING=1' \ 225 '-DENABLE_MANAGED_USERS=1' \ 226 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 227 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 228 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 229 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 230 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 231 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 232 '-DVIDEO_HOLE=1' \ 233 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 234 '-DMOJO_USE_SYSTEM_IMPL' \ 235 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 236 '-DSK_ENABLE_INST_COUNT=0' \ 237 '-DSK_SUPPORT_GPU=1' \ 238 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 239 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 240 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 241 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 242 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 243 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 244 '-DSK_BUILD_FOR_ANDROID' \ 245 '-DSK_USE_POSIX_THREADS' \ 246 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 247 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 248 '-DUSE_OPENSSL=1' \ 249 '-DUSE_OPENSSL_CERTS=1' \ 250 '-D__STDC_CONSTANT_MACROS' \ 251 '-D__STDC_FORMAT_MACROS' \ 252 '-DANDROID' \ 253 '-D__GNU_SOURCE=1' \ 254 '-DUSE_STLPORT=1' \ 255 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 256 '-DCHROME_BUILD_ID=""' \ 257 '-DNDEBUG' \ 258 '-DNVALGRIND' \ 259 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 260 '-D_FORTIFY_SOURCE=2' 261 262 263 # Include paths placed before CFLAGS/CPPFLAGS 264 LOCAL_C_INCLUDES_Release := \ 265 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 266 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 267 $(gyp_shared_intermediate_dir) \ 268 $(LOCAL_PATH)/skia/config \ 269 $(LOCAL_PATH)/third_party/khronos \ 270 $(LOCAL_PATH)/gpu \ 271 $(LOCAL_PATH) \ 272 $(LOCAL_PATH)/third_party/WebKit/Source \ 273 $(gyp_shared_intermediate_dir)/angle \ 274 $(LOCAL_PATH)/third_party/WebKit \ 275 $(LOCAL_PATH)/third_party/skia/src/core \ 276 $(LOCAL_PATH)/third_party/skia/include/core \ 277 $(LOCAL_PATH)/third_party/skia/include/effects \ 278 $(LOCAL_PATH)/third_party/skia/include/pdf \ 279 $(LOCAL_PATH)/third_party/skia/include/gpu \ 280 $(LOCAL_PATH)/third_party/skia/include/lazy \ 281 $(LOCAL_PATH)/third_party/skia/include/pathops \ 282 $(LOCAL_PATH)/third_party/skia/include/pipe \ 283 $(LOCAL_PATH)/third_party/skia/include/ports \ 284 $(LOCAL_PATH)/third_party/skia/include/utils \ 285 $(LOCAL_PATH)/skia/ext \ 286 $(PWD)/frameworks/wilhelm/include \ 287 $(PWD)/bionic \ 288 $(PWD)/external/stlport/stlport 289 290 291 # Flags passed to only C++ (and not C) files. 292 LOCAL_CPPFLAGS_Release := \ 293 -fno-exceptions \ 294 -fno-rtti \ 295 -fno-threadsafe-statics \ 296 -fvisibility-inlines-hidden \ 297 -Wsign-compare \ 298 -Wno-abi \ 299 -std=gnu++11 \ 300 -Wno-narrowing \ 301 -Wno-literal-suffix \ 302 -Wno-non-virtual-dtor \ 303 -Wno-sign-promo 304 305 306 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 307 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 308 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 309 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 310 ### Rules for final target. 311 312 LOCAL_SHARED_LIBRARIES := \ 313 libstlport \ 314 libdl 315 316 # Add target alias to "gyp_all_modules" target. 317 .PHONY: gyp_all_modules 318 gyp_all_modules: components_visitedlink_browser_gyp 319 320 # Alias gyp target name. 321 .PHONY: visitedlink_browser 322 visitedlink_browser: components_visitedlink_browser_gyp 323 324 include $(BUILD_STATIC_LIBRARY) 325