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