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: //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/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 'common/storage_common_export.h', 47 ], 48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 49 'msvs_disabled_warnings': [ 4267, ], 50 }, 51 ], 52 } 53