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