forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
72 lines (64 loc) · 1.34 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//testing/test.gni")
group("catalog") {
testonly = true
deps = [
":lib",
]
}
source_set("constants") {
sources = [
"store.cc",
"store.h",
]
}
source_set("lib") {
sources = [
"catalog.cc",
"catalog.h",
"constants.cc",
"constants.h",
"entry.cc",
"entry.h",
"entry_cache.cc",
"entry_cache.h",
"instance.cc",
"instance.h",
"manifest_provider.h",
]
deps = [
":constants",
"//base",
"//components/filesystem:lib",
"//services/catalog/public/cpp",
"//services/catalog/public/interfaces",
"//services/service_manager/public/cpp",
]
public_deps = [
# directory.mojom.h is #included by catalog.h
"//components/filesystem/public/interfaces",
]
}
service_manifest("manifest") {
name = "catalog"
source = "manifest.json"
}
source_set("unittests") {
testonly = true
sources = [
"entry_unittest.cc",
]
data = [
"//services/catalog/data/",
]
deps = [
":lib",
"//base",
"//services/service_manager/public/cpp",
"//testing/gtest",
]
}