Revert of Revert of Roll android_tools f6e2370:2a860d8 (patchset #1 id:1 of https...
[chromium-blink-merge.git] / storage / storage_common.gyp
blob74b913913038ba8cd8b67f76d012fdacae352ec6
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: //storage/common
12       'target_name': '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       ],
21       'defines': ['STORAGE_COMMON_IMPLEMENTATION'],
22       'sources': [
23         'common/data_element.cc',
24         'common/data_element.h',
25         'common/database/database_connections.cc',
26         'common/database/database_connections.h',
27         'common/database/database_identifier.cc',
28         'common/database/database_identifier.h',
29         'common/fileapi/directory_entry.cc',
30         'common/fileapi/directory_entry.h',
31         'common/fileapi/file_system_info.cc',
32         'common/fileapi/file_system_info.h',
33         'common/fileapi/file_system_mount_option.h',
34         'common/fileapi/file_system_types.h',
35         'common/fileapi/file_system_util.cc',
36         'common/fileapi/file_system_util.h',
37         'common/quota/quota_status_code.cc',
38         'common/quota/quota_status_code.h',
39         'common/quota/quota_types.h',
40         'common/storage_common_export.h',
41       ],
42       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
43       'msvs_disabled_warnings': [ 4267, ],
44     },
45   ],