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_webdata_common_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_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 18 GYP_GENERATED_OUTPUTS := 19 20 # Make sure our deps and generated files are built first. 21 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23 LOCAL_CPP_EXTENSION := .cc 24 LOCAL_GENERATED_SOURCES := 25 26 GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28 LOCAL_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. 39 MY_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 -m64 \ 53 -march=x86-64 \ 54 -ffunction-sections \ 55 -funwind-tables \ 56 -g \ 57 -fstack-protector \ 58 -fno-short-enums \ 59 -finline-limit=64 \ 60 -Wa,--noexecstack \ 61 -U_FORTIFY_SOURCE \ 62 -Wno-extra \ 63 -Wno-ignored-qualifiers \ 64 -Wno-type-limits \ 65 -Wno-unused-but-set-variable \ 66 -Os \ 67 -g \ 68 -fdata-sections \ 69 -ffunction-sections \ 70 -fomit-frame-pointer \ 71 -funwind-tables 72 73 MY_DEFS_Debug := \ 74 '-DV8_DEPRECATION_WARNINGS' \ 75 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 76 '-D_FILE_OFFSET_BITS=64' \ 77 '-DNO_TCMALLOC' \ 78 '-DDISABLE_NACL' \ 79 '-DCHROMIUM_BUILD' \ 80 '-DUSE_LIBJPEG_TURBO=1' \ 81 '-DENABLE_WEBRTC=1' \ 82 '-DUSE_PROPRIETARY_CODECS' \ 83 '-DENABLE_BROWSER_CDMS' \ 84 '-DENABLE_CONFIGURATION_POLICY' \ 85 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 86 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 87 '-DENABLE_EGLIMAGE=1' \ 88 '-DCLD_VERSION=1' \ 89 '-DENABLE_PRINTING=1' \ 90 '-DENABLE_MANAGED_USERS=1' \ 91 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 92 '-DDATA_REDUCTION_DEV_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 '-DWEBDATA_IMPLEMENTATION' \ 98 '-DMOJO_USE_SYSTEM_IMPL' \ 99 '-DSK_ENABLE_INST_COUNT=0' \ 100 '-DSK_SUPPORT_GPU=1' \ 101 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 102 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 103 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 104 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 105 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 106 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 107 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 108 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 109 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 110 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 111 '-DSK_IGNORE_ETC1_SUPPORT' \ 112 '-DSK_IGNORE_GPU_DITHER' \ 113 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 114 '-DSK_BUILD_FOR_ANDROID' \ 115 '-DSK_USE_POSIX_THREADS' \ 116 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 117 '-DUSE_OPENSSL=1' \ 118 '-DUSE_OPENSSL_CERTS=1' \ 119 '-D__STDC_CONSTANT_MACROS' \ 120 '-D__STDC_FORMAT_MACROS' \ 121 '-DANDROID' \ 122 '-D__GNU_SOURCE=1' \ 123 '-DUSE_STLPORT=1' \ 124 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 125 '-DCHROME_BUILD_ID=""' \ 126 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 127 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 128 '-D_DEBUG' 129 130 131 # Include paths placed before CFLAGS/CPPFLAGS 132 LOCAL_C_INCLUDES_Debug := \ 133 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 134 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 135 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 136 $(gyp_shared_intermediate_dir) \ 137 $(LOCAL_PATH) \ 138 $(LOCAL_PATH)/third_party/khronos \ 139 $(LOCAL_PATH)/gpu \ 140 $(LOCAL_PATH)/skia/config \ 141 $(LOCAL_PATH)/third_party/WebKit/Source \ 142 $(LOCAL_PATH)/third_party/WebKit \ 143 $(LOCAL_PATH)/third_party/skia/src/core \ 144 $(LOCAL_PATH)/third_party/skia/include/core \ 145 $(LOCAL_PATH)/third_party/skia/include/effects \ 146 $(LOCAL_PATH)/third_party/skia/include/pdf \ 147 $(LOCAL_PATH)/third_party/skia/include/gpu \ 148 $(LOCAL_PATH)/third_party/skia/include/lazy \ 149 $(LOCAL_PATH)/third_party/skia/include/pathops \ 150 $(LOCAL_PATH)/third_party/skia/include/pipe \ 151 $(LOCAL_PATH)/third_party/skia/include/ports \ 152 $(LOCAL_PATH)/third_party/skia/include/utils \ 153 $(LOCAL_PATH)/skia/ext \ 154 $(PWD)/frameworks/wilhelm/include \ 155 $(PWD)/bionic \ 156 $(PWD)/external/stlport/stlport 157 158 159 # Flags passed to only C++ (and not C) files. 160 LOCAL_CPPFLAGS_Debug := \ 161 -fno-rtti \ 162 -fno-threadsafe-statics \ 163 -fvisibility-inlines-hidden \ 164 -Wsign-compare \ 165 -Wno-non-virtual-dtor \ 166 -Wno-sign-promo 167 168 169 LOCAL_FDO_SUPPORT_Debug := false 170 171 # Flags passed to both C and C++ files. 172 MY_CFLAGS_Release := \ 173 -fstack-protector \ 174 --param=ssp-buffer-size=4 \ 175 -Werror \ 176 -fno-exceptions \ 177 -fno-strict-aliasing \ 178 -Wall \ 179 -Wno-unused-parameter \ 180 -Wno-missing-field-initializers \ 181 -fvisibility=hidden \ 182 -pipe \ 183 -fPIC \ 184 -Wno-unused-local-typedefs \ 185 -m64 \ 186 -march=x86-64 \ 187 -ffunction-sections \ 188 -funwind-tables \ 189 -g \ 190 -fstack-protector \ 191 -fno-short-enums \ 192 -finline-limit=64 \ 193 -Wa,--noexecstack \ 194 -U_FORTIFY_SOURCE \ 195 -Wno-extra \ 196 -Wno-ignored-qualifiers \ 197 -Wno-type-limits \ 198 -Wno-unused-but-set-variable \ 199 -Os \ 200 -fno-ident \ 201 -fdata-sections \ 202 -ffunction-sections \ 203 -fomit-frame-pointer \ 204 -funwind-tables 205 206 MY_DEFS_Release := \ 207 '-DV8_DEPRECATION_WARNINGS' \ 208 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 209 '-D_FILE_OFFSET_BITS=64' \ 210 '-DNO_TCMALLOC' \ 211 '-DDISABLE_NACL' \ 212 '-DCHROMIUM_BUILD' \ 213 '-DUSE_LIBJPEG_TURBO=1' \ 214 '-DENABLE_WEBRTC=1' \ 215 '-DUSE_PROPRIETARY_CODECS' \ 216 '-DENABLE_BROWSER_CDMS' \ 217 '-DENABLE_CONFIGURATION_POLICY' \ 218 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 219 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 220 '-DENABLE_EGLIMAGE=1' \ 221 '-DCLD_VERSION=1' \ 222 '-DENABLE_PRINTING=1' \ 223 '-DENABLE_MANAGED_USERS=1' \ 224 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 225 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 226 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 227 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 228 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 229 '-DVIDEO_HOLE=1' \ 230 '-DWEBDATA_IMPLEMENTATION' \ 231 '-DMOJO_USE_SYSTEM_IMPL' \ 232 '-DSK_ENABLE_INST_COUNT=0' \ 233 '-DSK_SUPPORT_GPU=1' \ 234 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 235 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 236 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 237 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 238 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 239 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 240 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 241 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 242 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 243 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 244 '-DSK_IGNORE_ETC1_SUPPORT' \ 245 '-DSK_IGNORE_GPU_DITHER' \ 246 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 247 '-DSK_BUILD_FOR_ANDROID' \ 248 '-DSK_USE_POSIX_THREADS' \ 249 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 250 '-DUSE_OPENSSL=1' \ 251 '-DUSE_OPENSSL_CERTS=1' \ 252 '-D__STDC_CONSTANT_MACROS' \ 253 '-D__STDC_FORMAT_MACROS' \ 254 '-DANDROID' \ 255 '-D__GNU_SOURCE=1' \ 256 '-DUSE_STLPORT=1' \ 257 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 258 '-DCHROME_BUILD_ID=""' \ 259 '-DNDEBUG' \ 260 '-DNVALGRIND' \ 261 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 262 '-D_FORTIFY_SOURCE=2' 263 264 265 # Include paths placed before CFLAGS/CPPFLAGS 266 LOCAL_C_INCLUDES_Release := \ 267 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 268 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 269 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 270 $(gyp_shared_intermediate_dir) \ 271 $(LOCAL_PATH) \ 272 $(LOCAL_PATH)/third_party/khronos \ 273 $(LOCAL_PATH)/gpu \ 274 $(LOCAL_PATH)/skia/config \ 275 $(LOCAL_PATH)/third_party/WebKit/Source \ 276 $(LOCAL_PATH)/third_party/WebKit \ 277 $(LOCAL_PATH)/third_party/skia/src/core \ 278 $(LOCAL_PATH)/third_party/skia/include/core \ 279 $(LOCAL_PATH)/third_party/skia/include/effects \ 280 $(LOCAL_PATH)/third_party/skia/include/pdf \ 281 $(LOCAL_PATH)/third_party/skia/include/gpu \ 282 $(LOCAL_PATH)/third_party/skia/include/lazy \ 283 $(LOCAL_PATH)/third_party/skia/include/pathops \ 284 $(LOCAL_PATH)/third_party/skia/include/pipe \ 285 $(LOCAL_PATH)/third_party/skia/include/ports \ 286 $(LOCAL_PATH)/third_party/skia/include/utils \ 287 $(LOCAL_PATH)/skia/ext \ 288 $(PWD)/frameworks/wilhelm/include \ 289 $(PWD)/bionic \ 290 $(PWD)/external/stlport/stlport 291 292 293 # Flags passed to only C++ (and not C) files. 294 LOCAL_CPPFLAGS_Release := \ 295 -fno-rtti \ 296 -fno-threadsafe-statics \ 297 -fvisibility-inlines-hidden \ 298 -Wsign-compare \ 299 -Wno-non-virtual-dtor \ 300 -Wno-sign-promo 301 302 303 LOCAL_FDO_SUPPORT_Release := false 304 305 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 306 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(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_LDFLAGS_Debug := \ 313 -Wl,-z,now \ 314 -Wl,-z,relro \ 315 -Wl,--fatal-warnings \ 316 -Wl,-z,noexecstack \ 317 -fPIC \ 318 -m64 \ 319 -fuse-ld=gold \ 320 -nostdlib \ 321 -Wl,--no-undefined \ 322 -Wl,--exclude-libs=ALL \ 323 -Wl,--warn-shared-textrel \ 324 -Wl,-O1 \ 325 -Wl,--as-needed 326 327 328 LOCAL_LDFLAGS_Release := \ 329 -Wl,-z,now \ 330 -Wl,-z,relro \ 331 -Wl,--fatal-warnings \ 332 -Wl,-z,noexecstack \ 333 -fPIC \ 334 -m64 \ 335 -fuse-ld=gold \ 336 -nostdlib \ 337 -Wl,--no-undefined \ 338 -Wl,--exclude-libs=ALL \ 339 -Wl,-O1 \ 340 -Wl,--as-needed \ 341 -Wl,--gc-sections \ 342 -Wl,--warn-shared-textrel 343 344 345 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 346 347 LOCAL_STATIC_LIBRARIES := \ 348 ui_accessibility_ax_gen_gyp \ 349 skia_skia_library_gyp 350 351 # Enable grouping to fix circular references 352 LOCAL_GROUP_STATIC_LIBRARIES := true 353 354 LOCAL_SHARED_LIBRARIES := \ 355 libstlport \ 356 libdl 357 358 # Add target alias to "gyp_all_modules" target. 359 .PHONY: gyp_all_modules 360 gyp_all_modules: components_webdata_common_gyp 361 362 # Alias gyp target name. 363 .PHONY: webdata_common 364 webdata_common: components_webdata_common_gyp 365 366 include $(BUILD_STATIC_LIBRARY) 367