blob: aaa259248aefbfb04efc2ff57b4befef8b0fbef9 [file] [log] [blame]
Avi Drissman69b874f2022-09-15 19:11:141# Copyright 2014 The Chromium Authors
[email protected]44a5a362014-05-30 20:01:512# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Sasha Bermeister9a3f9da2017-11-29 03:30:285import("//mojo/public/tools/bindings/mojom.gni")
6
[email protected]44a5a362014-05-30 20:01:517component("common") {
pilgrimf55d19fc2014-09-04 00:05:248 output_name = "storage_common"
[email protected]44a5a362014-05-30 20:01:519 sources = [
[email protected]44a5a362014-05-30 20:01:5110 "database/database_identifier.cc",
11 "database/database_identifier.h",
DongJun Kimd6930ea2019-10-24 08:49:2512 "file_system/file_system_info.cc",
13 "file_system/file_system_info.h",
14 "file_system/file_system_mount_option.h",
15 "file_system/file_system_types.h",
16 "file_system/file_system_util.cc",
17 "file_system/file_system_util.h",
Ben Kelly386e9572021-02-02 15:45:0918 "quota/padding_key.cc",
19 "quota/padding_key.h",
[email protected]44a5a362014-05-30 20:01:5120 ]
21
rsesek99679aa2016-06-28 21:24:1722 configs += [
rsesek99679aa2016-06-28 21:24:1723 "//build/config/compiler:wexit_time_destructors",
24 ]
brettwd1c719a2015-02-19 23:17:0425
Victor Costanb38ccd9c2018-12-27 09:20:1326 defines = [ "IS_STORAGE_COMMON_IMPL" ]
[email protected]44a5a362014-05-30 20:01:5127
Marijn Kruisselbrink058ca542017-08-01 22:55:2128 public_deps = [
Miyoung Shina26226512019-07-17 09:44:3829 "//components/services/filesystem/public/mojom",
Ken Rockot54311e62018-02-10 19:01:5230 "//services/network/public/mojom",
Blink Reformata30d4232018-04-07 15:31:0631 "//third_party/blink/public:blink_headers",
Marijn Kruisselbrink058ca542017-08-01 22:55:2132 ]
Marijn Kruisselbrink97fabdbe2017-10-20 07:09:2433
[email protected]44a5a362014-05-30 20:01:5134 deps = [
[email protected]44a5a362014-05-30 20:01:5135 "//base",
36 "//base/third_party/dynamic_annotations",
37 "//net",
agrieved7a71c882015-11-20 19:53:2838 "//url",
[email protected]44a5a362014-05-30 20:01:5139 ]
40}
pwnall9f1622a2017-04-21 09:39:0241
42source_set("unittests") {
43 testonly = true
44
45 sources = [
pwnall9f1622a2017-04-21 09:39:0246 "database/database_identifier_unittest.cc",
DongJun Kimd6930ea2019-10-24 08:49:2547 "file_system/file_system_util_unittest.cc",
Marijn Kruisselbrink159b6ee2017-06-27 22:04:5648 "run_all_unittests.cc",
pwnall9f1622a2017-04-21 09:39:0249 ]
50
51 deps = [
52 ":common",
pwnall9f1622a2017-04-21 09:39:0253 "//base/test:test_support",
Ken Rockot12c32352018-07-04 19:35:2754 "//mojo/core/embedder",
pwnall9f1622a2017-04-21 09:39:0255 "//testing/gtest",
56 "//url",
57 ]
58}