Roll leveldb 3f7758:803d69 (v1.17 -> v1.18)
[chromium-blink-merge.git] / storage / common / BUILD.gn
blob5212a92eb2492ff327181abd6b9c1f7406283ab6
1 # Copyright 2014 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.
5 # GYP version: storage/storage_common.gyp:storage_common
6 component("common") {
7   output_name = "storage_common"
8   sources = [
9     "data_element.cc",
10     "data_element.h",
11     "storage_common_export.h",
12     "blob/blob_data.cc",
13     "blob/blob_data.h",
14     "blob/scoped_file.cc",
15     "blob/scoped_file.h",
16     "blob/shareable_file_reference.cc",
17     "blob/shareable_file_reference.h",
18     "database/database_connections.cc",
19     "database/database_connections.h",
20     "database/database_identifier.cc",
21     "database/database_identifier.h",
22     "fileapi/directory_entry.cc",
23     "fileapi/directory_entry.h",
24     "fileapi/file_system_info.cc",
25     "fileapi/file_system_info.h",
26     "fileapi/file_system_mount_option.h",
27     "fileapi/file_system_types.h",
28     "fileapi/file_system_util.cc",
29     "fileapi/file_system_util.h",
30     "quota/quota_status_code.cc",
31     "quota/quota_status_code.h",
32     "quota/quota_types.h",
33   ]
35   defines = [ "STORAGE_COMMON_IMPLEMENTATION" ]
36   if (is_win) {
37     cflags = [ "/wd4267" ]  # TODO(jschuh): fix size_t to int truncations.
38   }
40   deps = [
41     "//base",
42     "//base/third_party/dynamic_annotations",
43     "//net",
44     "//url",
45   ]