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