Fix WebsitePreference::compareTo.
[chromium-blink-merge.git] / storage / common / BUILD.gn
blob00679727aabd8a076d017a66572791dc2cf20f23
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     "database/database_connections.cc",
13     "database/database_connections.h",
14     "database/database_identifier.cc",
15     "database/database_identifier.h",
16     "fileapi/directory_entry.cc",
17     "fileapi/directory_entry.h",
18     "fileapi/file_system_info.cc",
19     "fileapi/file_system_info.h",
20     "fileapi/file_system_mount_option.h",
21     "fileapi/file_system_types.h",
22     "fileapi/file_system_util.cc",
23     "fileapi/file_system_util.h",
24     "quota/quota_status_code.cc",
25     "quota/quota_status_code.h",
26     "quota/quota_types.h",
27   ]
29   defines = [ "STORAGE_COMMON_IMPLEMENTATION" ]
30   if (is_win) {
31     cflags = [ "/wd4267" ]  # TODO(jschuh): fix size_t to int truncations.
32   }
34   deps = [
35     "//base",
36     "//base/third_party/dynamic_annotations",
37     "//net",
38     "//url",
39   ]