Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: services/blamer/BUILD.gn

Issue 2885363004: [Hacky prototype] Create a shared-memory high-performance reporting service.
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2017 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.
4
5 # There should only be a single "blamer" service. It is currently in the browser
6 # process, but should be co-hosted with the resource coordinator at some point.
7 import("//services/catalog/public/tools/catalog.gni")
8 import("//services/service_manager/public/cpp/service.gni")
9 import("//services/service_manager/public/service_manifest.gni")
10 import("//services/service_manager/public/tools/test/service_test.gni")
11
12 source_set("lib") {
13 sources = [
14 "blamer_service.cc",
15 "blamer_service.h",
16 "heap_object_types.h",
17 "service_main.cc",
18 "shared_memory_heap.cc",
19 "shared_memory_heap.h",
20 "shared_memory_heap_registry.cc",
21 "shared_memory_heap_registry.h",
22 ]
23
24 public_deps = [
25 "//base",
26 "//mojo/public/cpp/bindings",
27 "//services/blamer/public/cpp",
28 "//services/blamer/public/interfaces",
29 ]
30
31 data_deps = [
32 ":manifest",
33 ]
34 }
35
36 service_manifest("manifest") {
37 name = "blamer"
38 source = "manifest.json"
39 }
40
41 service("blamer") {
42 sources = [
43 "service_main.cc",
44 ]
45
46 deps = [
47 ":lib",
48 "//mojo/public/cpp/system"
49 ]
50 }
51
52 source_set("tests") {
53 testonly = true
54
55 sources = [
56 ]
57
58 deps = [
59 ":lib",
60 "//base",
61 "//mojo/public/cpp/bindings",
62 "//services/blamer/public/cpp",
63 "//services/blamer/public/interfaces",
64 "//testing/gtest",
65 ]
66 }
67
68 service_test("blamer_unittests") {
69 sources = [
70 ]
71
72 catalog = ":blamer_unittests_catalog"
73
74 deps = [
75 "//base",
76 "//mojo/public/cpp/bindings",
77 "//services/blamer/public/cpp",
78 "//services/blamer/public/interfaces",
79 "//services/service_manager/public/cpp",
80 "//services/service_manager/public/cpp:service_test_support",
81 "//services/service_manager/public/interfaces",
82 "//testing/gtest",
83 ]
84
85 data_deps = [
86 ":blamer",
87 "//content/shell:content_shell",
88 "//services/ui/test_wm",
89 ]
90 }
91
92 service_manifest("unittest_manifest") {
93 name = "blamer_unittests"
94 source = "unittest_manifest.json"
95 }
96
97 catalog("blamer_unittests_catalog") {
98 embedded_services = [ ":unittest_manifest" ]
99 standalone_services = [ ":manifest" ]
100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698