Using pre-existing constants instead of hard-coding
[chromium-blink-merge.git] / webkit / storage_common.gyp
blobf52af1e2a4cdcd3bb985851ffde8cfe856316e77
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.
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/appcache/appcache_interfaces.cc',
26         'common/appcache/appcache_interfaces.h',
27         'common/blob/blob_data.cc',
28         'common/blob/blob_data.h',
29         'common/blob/scoped_file.cc',
30         'common/blob/scoped_file.h',
31         'common/blob/shareable_file_reference.cc',
32         'common/blob/shareable_file_reference.h',
33         'common/database/database_connections.cc',
34         'common/database/database_connections.h',
35         'common/database/database_identifier.cc',
36         'common/database/database_identifier.h',
37         'common/fileapi/directory_entry.cc',
38         'common/fileapi/directory_entry.h',
39         'common/fileapi/file_system_info.cc',
40         'common/fileapi/file_system_info.h',
41         'common/fileapi/file_system_mount_option.h',
42         'common/fileapi/file_system_types.h',
43         'common/fileapi/file_system_util.cc',
44         'common/fileapi/file_system_util.h',
45         'common/quota/quota_status_code.cc',
46         'common/quota/quota_status_code.h',
47         'common/quota/quota_types.h',
48       ],
49       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
50       'msvs_disabled_warnings': [ 4267, ],
51     },
52   ],