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 \ 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 -EL \ 53 -mhard-float \ 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-uninitialized \ 166 -Wno-non-virtual-dtor \ 167 -Wno-sign-promo 168 169 170 LOCAL_FDO_SUPPORT_Debug := false 171 172 # Flags passed to both C and C++ files. 173 MY_CFLAGS_Release := \ 174 -fstack-protector \ 175 --param=ssp-buffer-size=4 \ 176 \ 177 -fno-exceptions \ 178 -fno-strict-aliasing \ 179 -Wall \ 180 -Wno-unused-parameter \ 181 -Wno-missing-field-initializers \ 182 -fvisibility=hidden \ 183 -pipe \ 184 -fPIC \ 185 -Wno-unused-local-typedefs \ 186 -EL \ 187 -mhard-float \ 188 -ffunction-sections \ 189 -funwind-tables \ 190 -g \ 191 -fstack-protector \ 192 -fno-short-enums \ 193 -finline-limit=64 \ 194 -Wa,--noexecstack \ 195 -U_FORTIFY_SOURCE \ 196 -Wno-extra \ 197 -Wno-ignored-qualifiers \ 198 -Wno-type-limits \ 199 -Wno-unused-but-set-variable \ 200 -Os \ 201 -fno-ident \ 202 -fdata-sections \ 203 -ffunction-sections \ 204 -fomit-frame-pointer \ 205 -funwind-tables 206 207 MY_DEFS_Release := \ 208 '-DV8_DEPRECATION_WARNINGS' \ 209 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 210 '-D_FILE_OFFSET_BITS=64' \ 211 '-DNO_TCMALLOC' \ 212 '-DDISABLE_NACL' \ 213 '-DCHROMIUM_BUILD' \ 214 '-DUSE_LIBJPEG_TURBO=1' \ 215 '-DENABLE_WEBRTC=1' \ 216 '-DUSE_PROPRIETARY_CODECS' \ 217 '-DENABLE_BROWSER_CDMS' \ 218 '-DENABLE_CONFIGURATION_POLICY' \ 219 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 220 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 221 '-DENABLE_EGLIMAGE=1' \ 222 '-DCLD_VERSION=1' \ 223 '-DENABLE_PRINTING=1' \ 224 '-DENABLE_MANAGED_USERS=1' \ 225 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 226 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 227 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 228 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 229 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 230 '-DVIDEO_HOLE=1' \ 231 '-DWEBDATA_IMPLEMENTATION' \ 232 '-DMOJO_USE_SYSTEM_IMPL' \ 233 '-DSK_ENABLE_INST_COUNT=0' \ 234 '-DSK_SUPPORT_GPU=1' \ 235 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 236 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 237 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 238 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 239 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 240 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 241 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 242 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 243 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 244 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 245 '-DSK_IGNORE_ETC1_SUPPORT' \ 246 '-DSK_IGNORE_GPU_DITHER' \ 247 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 248 '-DSK_BUILD_FOR_ANDROID' \ 249 '-DSK_USE_POSIX_THREADS' \ 250 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 251 '-DUSE_OPENSSL=1' \ 252 '-DUSE_OPENSSL_CERTS=1' \ 253 '-D__STDC_CONSTANT_MACROS' \ 254 '-D__STDC_FORMAT_MACROS' \ 255 '-DANDROID' \ 256 '-D__GNU_SOURCE=1' \ 257 '-DUSE_STLPORT=1' \ 258 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 259 '-DCHROME_BUILD_ID=""' \ 260 '-DNDEBUG' \ 261 '-DNVALGRIND' \ 262 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 263 '-D_FORTIFY_SOURCE=2' 264 265 266 # Include paths placed before CFLAGS/CPPFLAGS 267 LOCAL_C_INCLUDES_Release := \ 268 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 269 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 270 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 271 $(gyp_shared_intermediate_dir) \ 272 $(LOCAL_PATH) \ 273 $(LOCAL_PATH)/third_party/khronos \ 274 $(LOCAL_PATH)/gpu \ 275 $(LOCAL_PATH)/skia/config \ 276 $(LOCAL_PATH)/third_party/WebKit/Source \ 277 $(LOCAL_PATH)/third_party/WebKit \ 278 $(LOCAL_PATH)/third_party/skia/src/core \ 279 $(LOCAL_PATH)/third_party/skia/include/core \ 280 $(LOCAL_PATH)/third_party/skia/include/effects \ 281 $(LOCAL_PATH)/third_party/skia/include/pdf \ 282 $(LOCAL_PATH)/third_party/skia/include/gpu \ 283 $(LOCAL_PATH)/third_party/skia/include/lazy \ 284 $(LOCAL_PATH)/third_party/skia/include/pathops \ 285 $(LOCAL_PATH)/third_party/skia/include/pipe \ 286 $(LOCAL_PATH)/third_party/skia/include/ports \ 287 $(LOCAL_PATH)/third_party/skia/include/utils \ 288 $(LOCAL_PATH)/skia/ext \ 289 $(PWD)/frameworks/wilhelm/include \ 290 $(PWD)/bionic \ 291 $(PWD)/external/stlport/stlport 292 293 294 # Flags passed to only C++ (and not C) files. 295 LOCAL_CPPFLAGS_Release := \ 296 -fno-rtti \ 297 -fno-threadsafe-statics \ 298 -fvisibility-inlines-hidden \ 299 -Wsign-compare \ 300 -Wno-uninitialized \ 301 -Wno-non-virtual-dtor \ 302 -Wno-sign-promo 303 304 305 LOCAL_FDO_SUPPORT_Release := false 306 307 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 308 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 309 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 310 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 311 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 312 ### Rules for final target. 313 314 LOCAL_LDFLAGS_Debug := \ 315 -Wl,-z,now \ 316 -Wl,-z,relro \ 317 -Wl,--fatal-warnings \ 318 -Wl,-z,noexecstack \ 319 -fPIC \ 320 -EL \ 321 -Wl,--no-keep-memory \ 322 -nostdlib \ 323 -Wl,--no-undefined \ 324 -Wl,--exclude-libs=ALL \ 325 -Wl,--warn-shared-textrel \ 326 -Wl,-O1 \ 327 -Wl,--as-needed 328 329 330 LOCAL_LDFLAGS_Release := \ 331 -Wl,-z,now \ 332 -Wl,-z,relro \ 333 -Wl,--fatal-warnings \ 334 -Wl,-z,noexecstack \ 335 -fPIC \ 336 -EL \ 337 -Wl,--no-keep-memory \ 338 -nostdlib \ 339 -Wl,--no-undefined \ 340 -Wl,--exclude-libs=ALL \ 341 -Wl,-O1 \ 342 -Wl,--as-needed \ 343 -Wl,--gc-sections \ 344 -Wl,--warn-shared-textrel 345 346 347 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 348 349 LOCAL_STATIC_LIBRARIES := \ 350 ui_accessibility_ax_gen_gyp \ 351 skia_skia_library_gyp 352 353 # Enable grouping to fix circular references 354 LOCAL_GROUP_STATIC_LIBRARIES := true 355 356 LOCAL_SHARED_LIBRARIES := \ 357 libstlport \ 358 libdl 359 360 # Add target alias to "gyp_all_modules" target. 361 .PHONY: gyp_all_modules 362 gyp_all_modules: components_webdata_common_gyp 363 364 # Alias gyp target name. 365 .PHONY: webdata_common 366 webdata_common: components_webdata_common_gyp 367 368 include $(BUILD_STATIC_LIBRARY) 369