summaryrefslogtreecommitdiffstats
path: root/storage/storage_common.gyp
blob: 305a61258e17173fb3230f6c30a16cbb7e2921ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
    {
      # GN version: //storage/common
      'target_name': 'storage_common',
      'type': '<(component)',
      'variables': { 'enable_wexit_time_destructors': 1, },
      'dependencies': [
        '<(DEPTH)/base/base.gyp:base',
        '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '<(DEPTH)/net/net.gyp:net',
        '<(DEPTH)/url/url.gyp:url_lib',
      ],
      'defines': ['STORAGE_COMMON_IMPLEMENTATION'],
      'sources': [
        'common/blob_storage/blob_item_bytes_request.cc',
        'common/blob_storage/blob_item_bytes_request.h',
        'common/blob_storage/blob_item_bytes_response.cc',
        'common/blob_storage/blob_item_bytes_response.h',
        'common/blob_storage/blob_storage_constants.h',
        'common/data_element.cc',
        'common/data_element.h',
        'common/database/database_connections.cc',
        'common/database/database_connections.h',
        'common/database/database_identifier.cc',
        'common/database/database_identifier.h',
        'common/fileapi/directory_entry.cc',
        'common/fileapi/directory_entry.h',
        'common/fileapi/file_system_info.cc',
        'common/fileapi/file_system_info.h',
        'common/fileapi/file_system_mount_option.h',
        'common/fileapi/file_system_types.h',
        'common/fileapi/file_system_util.cc',
        'common/fileapi/file_system_util.h',
        'common/quota/quota_status_code.cc',
        'common/quota/quota_status_code.h',
        'common/quota/quota_types.h',
        'common/storage_common_export.h',
      ],
      # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
      'msvs_disabled_warnings': [ 4267, ],
    },
  ],
}