Avi Drissman | 69b874f | 2022-09-15 19:11:14 | [diff] [blame] | 1 | # Copyright 2014 The Chromium Authors |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Sasha Bermeister | 9a3f9da | 2017-11-29 03:30:28 | [diff] [blame] | 5 | import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 7 | component("common") { |
pilgrim | f55d19fc | 2014-09-04 00:05:24 | [diff] [blame] | 8 | output_name = "storage_common" |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 9 | sources = [ |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 10 | "database/database_identifier.cc", |
| 11 | "database/database_identifier.h", |
DongJun Kim | d6930ea | 2019-10-24 08:49:25 | [diff] [blame] | 12 | "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 Kelly | 386e957 | 2021-02-02 15:45:09 | [diff] [blame] | 18 | "quota/padding_key.cc", |
| 19 | "quota/padding_key.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 20 | ] |
| 21 | |
rsesek | 99679aa | 2016-06-28 21:24:17 | [diff] [blame] | 22 | configs += [ |
rsesek | 99679aa | 2016-06-28 21:24:17 | [diff] [blame] | 23 | "//build/config/compiler:wexit_time_destructors", |
| 24 | ] |
brettw | d1c719a | 2015-02-19 23:17:04 | [diff] [blame] | 25 | |
Victor Costan | b38ccd9c | 2018-12-27 09:20:13 | [diff] [blame] | 26 | defines = [ "IS_STORAGE_COMMON_IMPL" ] |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 27 | |
Marijn Kruisselbrink | 058ca54 | 2017-08-01 22:55:21 | [diff] [blame] | 28 | public_deps = [ |
Miyoung Shin | a2622651 | 2019-07-17 09:44:38 | [diff] [blame] | 29 | "//components/services/filesystem/public/mojom", |
Ken Rockot | 54311e6 | 2018-02-10 19:01:52 | [diff] [blame] | 30 | "//services/network/public/mojom", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 31 | "//third_party/blink/public:blink_headers", |
Marijn Kruisselbrink | 058ca54 | 2017-08-01 22:55:21 | [diff] [blame] | 32 | ] |
Marijn Kruisselbrink | 97fabdbe | 2017-10-20 07:09:24 | [diff] [blame] | 33 | |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 34 | deps = [ |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 35 | "//base", |
| 36 | "//base/third_party/dynamic_annotations", |
| 37 | "//net", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 38 | "//url", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 39 | ] |
| 40 | } |
pwnall | 9f1622a | 2017-04-21 09:39:02 | [diff] [blame] | 41 | |
| 42 | source_set("unittests") { |
| 43 | testonly = true |
| 44 | |
| 45 | sources = [ |
pwnall | 9f1622a | 2017-04-21 09:39:02 | [diff] [blame] | 46 | "database/database_identifier_unittest.cc", |
DongJun Kim | d6930ea | 2019-10-24 08:49:25 | [diff] [blame] | 47 | "file_system/file_system_util_unittest.cc", |
Marijn Kruisselbrink | 159b6ee | 2017-06-27 22:04:56 | [diff] [blame] | 48 | "run_all_unittests.cc", |
pwnall | 9f1622a | 2017-04-21 09:39:02 | [diff] [blame] | 49 | ] |
| 50 | |
| 51 | deps = [ |
| 52 | ":common", |
pwnall | 9f1622a | 2017-04-21 09:39:02 | [diff] [blame] | 53 | "//base/test:test_support", |
Ken Rockot | 12c3235 | 2018-07-04 19:35:27 | [diff] [blame] | 54 | "//mojo/core/embedder", |
pwnall | 9f1622a | 2017-04-21 09:39:02 | [diff] [blame] | 55 | "//testing/gtest", |
| 56 | "//url", |
| 57 | ] |
| 58 | } |