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 := webkit_webkit_storage_browser_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_CPP_EXTENSION := .cc 22 LOCAL_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_SRC_FILES := \ 27 webkit/browser/appcache/appcache.cc \ 28 webkit/browser/appcache/appcache_backend_impl.cc \ 29 webkit/browser/appcache/appcache_database.cc \ 30 webkit/browser/appcache/appcache_disk_cache.cc \ 31 webkit/browser/appcache/appcache_group.cc \ 32 webkit/browser/appcache/appcache_histograms.cc \ 33 webkit/browser/appcache/appcache_host.cc \ 34 webkit/browser/appcache/appcache_interceptor.cc \ 35 webkit/browser/appcache/appcache_quota_client.cc \ 36 webkit/browser/appcache/appcache_request_handler.cc \ 37 webkit/browser/appcache/appcache_response.cc \ 38 webkit/browser/appcache/appcache_service.cc \ 39 webkit/browser/appcache/appcache_storage.cc \ 40 webkit/browser/appcache/appcache_storage_impl.cc \ 41 webkit/browser/appcache/appcache_working_set.cc \ 42 webkit/browser/appcache/appcache_update_job.cc \ 43 webkit/browser/appcache/appcache_url_request_job.cc \ 44 webkit/browser/appcache/manifest_parser.cc \ 45 webkit/browser/appcache/view_appcache_internals_job.cc \ 46 webkit/browser/blob/blob_data_handle.cc \ 47 webkit/browser/blob/blob_storage_context.cc \ 48 webkit/browser/blob/blob_storage_host.cc \ 49 webkit/browser/blob/blob_url_request_job.cc \ 50 webkit/browser/blob/blob_url_request_job_factory.cc \ 51 webkit/browser/blob/local_file_stream_reader.cc \ 52 webkit/browser/blob/view_blob_internals_job.cc \ 53 webkit/browser/database/database_quota_client.cc \ 54 webkit/browser/database/database_tracker.cc \ 55 webkit/browser/database/database_util.cc \ 56 webkit/browser/database/databases_table.cc \ 57 webkit/browser/database/vfs_backend.cc \ 58 webkit/browser/fileapi/async_file_util_adapter.cc \ 59 webkit/browser/fileapi/copy_or_move_operation_delegate.cc \ 60 webkit/browser/fileapi/dragged_file_util.cc \ 61 webkit/browser/fileapi/external_mount_points.cc \ 62 webkit/browser/fileapi/file_system_context.cc \ 63 webkit/browser/fileapi/file_system_dir_url_request_job.cc \ 64 webkit/browser/fileapi/file_system_file_stream_reader.cc \ 65 webkit/browser/fileapi/file_system_file_util.cc \ 66 webkit/browser/fileapi/file_system_operation_context.cc \ 67 webkit/browser/fileapi/file_system_operation_impl.cc \ 68 webkit/browser/fileapi/file_system_operation_runner.cc \ 69 webkit/browser/fileapi/file_system_options.cc \ 70 webkit/browser/fileapi/file_system_quota_client.cc \ 71 webkit/browser/fileapi/file_system_url.cc \ 72 webkit/browser/fileapi/file_system_url_request_job.cc \ 73 webkit/browser/fileapi/file_system_url_request_job_factory.cc \ 74 webkit/browser/fileapi/file_system_usage_cache.cc \ 75 webkit/browser/fileapi/file_writer_delegate.cc \ 76 webkit/browser/fileapi/isolated_context.cc \ 77 webkit/browser/fileapi/isolated_file_system_backend.cc \ 78 webkit/browser/fileapi/local_file_stream_writer.cc \ 79 webkit/browser/fileapi/local_file_util.cc \ 80 webkit/browser/fileapi/mount_points.cc \ 81 webkit/browser/fileapi/native_file_util.cc \ 82 webkit/browser/fileapi/obfuscated_file_util.cc \ 83 webkit/browser/fileapi/plugin_private_file_system_backend.cc \ 84 webkit/browser/fileapi/quota/open_file_handle.cc \ 85 webkit/browser/fileapi/quota/open_file_handle_context.cc \ 86 webkit/browser/fileapi/quota/quota_backend_impl.cc \ 87 webkit/browser/fileapi/quota/quota_reservation.cc \ 88 webkit/browser/fileapi/quota/quota_reservation_buffer.cc \ 89 webkit/browser/fileapi/quota/quota_reservation_manager.cc \ 90 webkit/browser/fileapi/recursive_operation_delegate.cc \ 91 webkit/browser/fileapi/remove_operation_delegate.cc \ 92 webkit/browser/fileapi/sandbox_directory_database.cc \ 93 webkit/browser/fileapi/sandbox_file_stream_writer.cc \ 94 webkit/browser/fileapi/sandbox_file_system_backend.cc \ 95 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc \ 96 webkit/browser/fileapi/sandbox_isolated_origin_database.cc \ 97 webkit/browser/fileapi/sandbox_origin_database.cc \ 98 webkit/browser/fileapi/sandbox_origin_database_interface.cc \ 99 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc \ 100 webkit/browser/fileapi/sandbox_quota_observer.cc \ 101 webkit/browser/fileapi/timed_task_helper.cc \ 102 webkit/browser/fileapi/transient_file_util.cc \ 103 webkit/browser/fileapi/upload_file_system_file_element_reader.cc \ 104 webkit/browser/quota/quota_database.cc \ 105 webkit/browser/quota/quota_manager.cc \ 106 webkit/browser/quota/quota_task.cc \ 107 webkit/browser/quota/quota_temporary_storage_evictor.cc \ 108 webkit/browser/quota/special_storage_policy.cc \ 109 webkit/browser/quota/usage_tracker.cc 110 111 112 # Flags passed to both C and C++ files. 113 MY_CFLAGS_Debug := \ 114 -fstack-protector \ 115 --param=ssp-buffer-size=4 \ 116 \ 117 -fno-exceptions \ 118 -fno-strict-aliasing \ 119 -Wall \ 120 -Wno-unused-parameter \ 121 -Wno-missing-field-initializers \ 122 -fvisibility=hidden \ 123 -pipe \ 124 -fPIC \ 125 -EL \ 126 -mhard-float \ 127 -ffunction-sections \ 128 -funwind-tables \ 129 -g \ 130 -fstack-protector \ 131 -fno-short-enums \ 132 -finline-limit=64 \ 133 -Wa,--noexecstack \ 134 -U_FORTIFY_SOURCE \ 135 -Wno-extra \ 136 -Wno-ignored-qualifiers \ 137 -Wno-type-limits \ 138 -Os \ 139 -g \ 140 -fomit-frame-pointer \ 141 -fdata-sections \ 142 -ffunction-sections 143 144 MY_DEFS_Debug := \ 145 '-DV8_DEPRECATION_WARNINGS' \ 146 '-D_FILE_OFFSET_BITS=64' \ 147 '-DNO_TCMALLOC' \ 148 '-DDISABLE_NACL' \ 149 '-DCHROMIUM_BUILD' \ 150 '-DUSE_LIBJPEG_TURBO=1' \ 151 '-DUSE_PROPRIETARY_CODECS' \ 152 '-DENABLE_CONFIGURATION_POLICY' \ 153 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 154 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 155 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 156 '-DUSE_OPENSSL=1' \ 157 '-DENABLE_EGLIMAGE=1' \ 158 '-DCLD_VERSION=1' \ 159 '-DENABLE_PRINTING=1' \ 160 '-DENABLE_MANAGED_USERS=1' \ 161 '-DWEBKIT_STORAGE_BROWSER_IMPLEMENTATION' \ 162 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 163 '-DPOSIX_AVOID_MMAP' \ 164 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 165 '-DU_USING_ICU_NAMESPACE=0' \ 166 '-DCHROME_PNG_WRITE_SUPPORT' \ 167 '-DPNG_USER_CONFIG' \ 168 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 169 '-DUSE_SYSTEM_LIBJPEG' \ 170 '-D__STDC_CONSTANT_MACROS' \ 171 '-D__STDC_FORMAT_MACROS' \ 172 '-DANDROID' \ 173 '-D__GNU_SOURCE=1' \ 174 '-DUSE_STLPORT=1' \ 175 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 176 '-DCHROME_BUILD_ID=""' \ 177 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 178 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 179 '-D_DEBUG' 180 181 182 # Include paths placed before CFLAGS/CPPFLAGS 183 LOCAL_C_INCLUDES_Debug := \ 184 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 185 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 186 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 187 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 188 $(LOCAL_PATH) \ 189 $(LOCAL_PATH)/skia/config \ 190 $(LOCAL_PATH)/third_party/WebKit/Source \ 191 $(LOCAL_PATH)/third_party/khronos \ 192 $(LOCAL_PATH)/gpu \ 193 $(LOCAL_PATH)/third_party/leveldatabase/src/include \ 194 $(LOCAL_PATH)/third_party/leveldatabase/src \ 195 $(LOCAL_PATH)/third_party/leveldatabase \ 196 $(LOCAL_PATH)/third_party/sqlite \ 197 $(LOCAL_PATH)/third_party/WebKit \ 198 $(PWD)/external/skia/include \ 199 $(PWD)/external/skia/include/core \ 200 $(LOCAL_PATH)/third_party/skia/src/core \ 201 $(LOCAL_PATH)/skia/ext \ 202 $(PWD)/external/icu4c/common \ 203 $(PWD)/external/icu4c/i18n \ 204 $(LOCAL_PATH)/third_party/npapi \ 205 $(LOCAL_PATH)/third_party/npapi/bindings \ 206 $(LOCAL_PATH)/v8/include \ 207 $(LOCAL_PATH)/third_party/libpng \ 208 $(LOCAL_PATH)/third_party/zlib \ 209 $(LOCAL_PATH)/third_party/libwebp \ 210 $(LOCAL_PATH)/third_party/ots/include \ 211 $(LOCAL_PATH)/third_party/qcms/src \ 212 $(LOCAL_PATH)/third_party/iccjpeg \ 213 $(PWD)/external/jpeg \ 214 $(PWD)/frameworks/wilhelm/include \ 215 $(PWD)/bionic \ 216 $(PWD)/external/stlport/stlport 217 218 219 # Flags passed to only C++ (and not C) files. 220 LOCAL_CPPFLAGS_Debug := \ 221 -fno-rtti \ 222 -fno-threadsafe-statics \ 223 -fvisibility-inlines-hidden \ 224 -Wsign-compare \ 225 -Wno-uninitialized \ 226 -Wno-error=c++0x-compat \ 227 -Wno-non-virtual-dtor \ 228 -Wno-sign-promo 229 230 231 # Flags passed to both C and C++ files. 232 MY_CFLAGS_Release := \ 233 -fstack-protector \ 234 --param=ssp-buffer-size=4 \ 235 \ 236 -fno-exceptions \ 237 -fno-strict-aliasing \ 238 -Wall \ 239 -Wno-unused-parameter \ 240 -Wno-missing-field-initializers \ 241 -fvisibility=hidden \ 242 -pipe \ 243 -fPIC \ 244 -EL \ 245 -mhard-float \ 246 -ffunction-sections \ 247 -funwind-tables \ 248 -g \ 249 -fstack-protector \ 250 -fno-short-enums \ 251 -finline-limit=64 \ 252 -Wa,--noexecstack \ 253 -U_FORTIFY_SOURCE \ 254 -Wno-extra \ 255 -Wno-ignored-qualifiers \ 256 -Wno-type-limits \ 257 -Os \ 258 -fno-ident \ 259 -fdata-sections \ 260 -ffunction-sections \ 261 -fomit-frame-pointer 262 263 MY_DEFS_Release := \ 264 '-DV8_DEPRECATION_WARNINGS' \ 265 '-D_FILE_OFFSET_BITS=64' \ 266 '-DNO_TCMALLOC' \ 267 '-DDISABLE_NACL' \ 268 '-DCHROMIUM_BUILD' \ 269 '-DUSE_LIBJPEG_TURBO=1' \ 270 '-DUSE_PROPRIETARY_CODECS' \ 271 '-DENABLE_CONFIGURATION_POLICY' \ 272 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 273 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 274 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 275 '-DUSE_OPENSSL=1' \ 276 '-DENABLE_EGLIMAGE=1' \ 277 '-DCLD_VERSION=1' \ 278 '-DENABLE_PRINTING=1' \ 279 '-DENABLE_MANAGED_USERS=1' \ 280 '-DWEBKIT_STORAGE_BROWSER_IMPLEMENTATION' \ 281 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 282 '-DPOSIX_AVOID_MMAP' \ 283 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 284 '-DU_USING_ICU_NAMESPACE=0' \ 285 '-DCHROME_PNG_WRITE_SUPPORT' \ 286 '-DPNG_USER_CONFIG' \ 287 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 288 '-DUSE_SYSTEM_LIBJPEG' \ 289 '-D__STDC_CONSTANT_MACROS' \ 290 '-D__STDC_FORMAT_MACROS' \ 291 '-DANDROID' \ 292 '-D__GNU_SOURCE=1' \ 293 '-DUSE_STLPORT=1' \ 294 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 295 '-DCHROME_BUILD_ID=""' \ 296 '-DNDEBUG' \ 297 '-DNVALGRIND' \ 298 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 299 '-D_FORTIFY_SOURCE=2' 300 301 302 # Include paths placed before CFLAGS/CPPFLAGS 303 LOCAL_C_INCLUDES_Release := \ 304 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 305 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 306 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 307 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 308 $(LOCAL_PATH) \ 309 $(LOCAL_PATH)/skia/config \ 310 $(LOCAL_PATH)/third_party/WebKit/Source \ 311 $(LOCAL_PATH)/third_party/khronos \ 312 $(LOCAL_PATH)/gpu \ 313 $(LOCAL_PATH)/third_party/leveldatabase/src/include \ 314 $(LOCAL_PATH)/third_party/leveldatabase/src \ 315 $(LOCAL_PATH)/third_party/leveldatabase \ 316 $(LOCAL_PATH)/third_party/sqlite \ 317 $(LOCAL_PATH)/third_party/WebKit \ 318 $(PWD)/external/skia/include \ 319 $(PWD)/external/skia/include/core \ 320 $(LOCAL_PATH)/third_party/skia/src/core \ 321 $(LOCAL_PATH)/skia/ext \ 322 $(PWD)/external/icu4c/common \ 323 $(PWD)/external/icu4c/i18n \ 324 $(LOCAL_PATH)/third_party/npapi \ 325 $(LOCAL_PATH)/third_party/npapi/bindings \ 326 $(LOCAL_PATH)/v8/include \ 327 $(LOCAL_PATH)/third_party/libpng \ 328 $(LOCAL_PATH)/third_party/zlib \ 329 $(LOCAL_PATH)/third_party/libwebp \ 330 $(LOCAL_PATH)/third_party/ots/include \ 331 $(LOCAL_PATH)/third_party/qcms/src \ 332 $(LOCAL_PATH)/third_party/iccjpeg \ 333 $(PWD)/external/jpeg \ 334 $(PWD)/frameworks/wilhelm/include \ 335 $(PWD)/bionic \ 336 $(PWD)/external/stlport/stlport 337 338 339 # Flags passed to only C++ (and not C) files. 340 LOCAL_CPPFLAGS_Release := \ 341 -fno-rtti \ 342 -fno-threadsafe-statics \ 343 -fvisibility-inlines-hidden \ 344 -Wsign-compare \ 345 -Wno-uninitialized \ 346 -Wno-error=c++0x-compat \ 347 -Wno-non-virtual-dtor \ 348 -Wno-sign-promo 349 350 351 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 352 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 353 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 354 ### Rules for final target. 355 356 LOCAL_LDFLAGS_Debug := \ 357 -Wl,-z,now \ 358 -Wl,-z,relro \ 359 -Wl,-z,noexecstack \ 360 -fPIC \ 361 -EL \ 362 -Wl,--no-keep-memory \ 363 -nostdlib \ 364 -Wl,--no-undefined \ 365 -Wl,--exclude-libs=ALL \ 366 -Wl,--fatal-warnings \ 367 -Wl,--gc-sections \ 368 -Wl,--warn-shared-textrel \ 369 -Wl,-O1 \ 370 -Wl,--as-needed 371 372 373 LOCAL_LDFLAGS_Release := \ 374 -Wl,-z,now \ 375 -Wl,-z,relro \ 376 -Wl,-z,noexecstack \ 377 -fPIC \ 378 -EL \ 379 -Wl,--no-keep-memory \ 380 -nostdlib \ 381 -Wl,--no-undefined \ 382 -Wl,--exclude-libs=ALL \ 383 -Wl,-O1 \ 384 -Wl,--as-needed \ 385 -Wl,--gc-sections \ 386 -Wl,--fatal-warnings \ 387 -Wl,--warn-shared-textrel 388 389 390 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 391 392 LOCAL_STATIC_LIBRARIES := 393 394 # Enable grouping to fix circular references 395 LOCAL_GROUP_STATIC_LIBRARIES := true 396 397 LOCAL_SHARED_LIBRARIES := \ 398 libskia \ 399 libstlport \ 400 libdl 401 402 # Add target alias to "gyp_all_modules" target. 403 .PHONY: gyp_all_modules 404 gyp_all_modules: webkit_webkit_storage_browser_gyp 405 406 # Alias gyp target name. 407 .PHONY: webkit_storage_browser 408 webkit_storage_browser: webkit_webkit_storage_browser_gyp 409 410 include $(BUILD_STATIC_LIBRARY) 411