1# Copyright 2014 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# GYP version: webkit/common/webkit_common.gyp:webkit_common 6component("common") { 7 output_name = "webkit_common" 8 9 sources = [ 10 "data_element.cc", 11 "data_element.h", 12 "resource_type.cc", 13 "resource_type.h", 14 "webkit_common_export.h", 15 "webpreferences.cc", 16 "webpreferences.h", 17 ] 18 19 defines = [ "WEBKIT_COMMON_IMPLEMENTATION" ] 20 21 deps = [ 22 "//base", 23 "//base:i18n", 24 "//base/third_party/dynamic_annotations", 25 "//net", 26 "//skia", 27 "//third_party/icu", 28 "//third_party/WebKit/public:blink_headers", 29 "//ui/base", 30 "//ui/gfx", 31 "//ui/gfx/geometry", 32 "//ui/resources", 33 "//url", 34 "//webkit:resources", 35 ] 36 forward_dependent_configs_from = [ 37 "//third_party/WebKit/public:blink_headers", 38 ] 39} 40 41component("storage") { 42 output_name = "webkit_storage_common" 43 sources = [ 44 "webkit_storage_common_export.h", 45 "appcache/appcache_interfaces.cc", 46 "appcache/appcache_interfaces.h", 47 "blob/blob_data.cc", 48 "blob/blob_data.h", 49 "blob/scoped_file.cc", 50 "blob/scoped_file.h", 51 "blob/shareable_file_reference.cc", 52 "blob/shareable_file_reference.h", 53 "database/database_connections.cc", 54 "database/database_connections.h", 55 "database/database_identifier.cc", 56 "database/database_identifier.h", 57 "fileapi/directory_entry.cc", 58 "fileapi/directory_entry.h", 59 "fileapi/file_system_info.cc", 60 "fileapi/file_system_info.h", 61 "fileapi/file_system_mount_option.h", 62 "fileapi/file_system_types.h", 63 "fileapi/file_system_util.cc", 64 "fileapi/file_system_util.h", 65 "quota/quota_status_code.cc", 66 "quota/quota_status_code.h", 67 "quota/quota_types.h", 68 ] 69 70 defines = [ "WEBKIT_STORAGE_COMMON_IMPLEMENTATION" ] 71 if (is_win) { 72 cflags = [ "/wd4267" ] # TODO(jschuh): fix size_t to int truncations. 73 } 74 75 deps = [ 76 ":common", 77 "//base", 78 "//base/third_party/dynamic_annotations", 79 "//net", 80 "//url", 81 ] 82} 83