1 # Copyright 2013 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 { 6 'variables': { 7 'chromium_code': 1, 8 }, 9 'targets': [ 10 { 11 'target_name': 'webkit_storage_common', 12 'type': '<(component)', 13 'variables': { 'enable_wexit_time_destructors': 1, }, 14 'dependencies': [ 15 '<(DEPTH)/base/base.gyp:base', 16 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 17 '<(DEPTH)/net/net.gyp:net', 18 '<(DEPTH)/url/url.gyp:url_lib', 19 '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common', 20 ], 21 'defines': ['WEBKIT_STORAGE_COMMON_IMPLEMENTATION'], 22 'sources': [ 23 'common/webkit_storage_common_export.h', 24 'common/appcache/appcache_interfaces.cc', 25 'common/appcache/appcache_interfaces.h', 26 'common/blob/blob_data.cc', 27 'common/blob/blob_data.h', 28 'common/blob/scoped_file.cc', 29 'common/blob/scoped_file.h', 30 'common/blob/shareable_file_reference.cc', 31 'common/blob/shareable_file_reference.h', 32 'common/database/database_connections.cc', 33 'common/database/database_connections.h', 34 'common/database/database_identifier.cc', 35 'common/database/database_identifier.cc', 36 'common/fileapi/directory_entry.cc', 37 'common/fileapi/directory_entry.h', 38 'common/fileapi/file_system_info.cc', 39 'common/fileapi/file_system_info.h', 40 'common/fileapi/file_system_mount_option.h', 41 'common/fileapi/file_system_types.h', 42 'common/fileapi/file_system_util.cc', 43 'common/fileapi/file_system_util.h', 44 'common/quota/quota_status_code.cc', 45 'common/quota/quota_status_code.h', 46 'common/quota/quota_types.h', 47 ], 48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 49 'msvs_disabled_warnings': [ 4267, ], 50 }, 51 ], 52 } 53