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
|
# Copyright 2017 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.
static_library("heap_profiling") {
sources = [
"allocation.cc",
"allocation.h",
"connection_manager.cc",
"connection_manager.h",
"heap_profiling_service.cc",
"heap_profiling_service.h",
"json_exporter.cc",
"json_exporter.h",
]
deps = [
"//base",
"//components/services/heap_profiling/public/cpp",
"//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"json_exporter_unittest.cc",
]
deps = [
":heap_profiling",
"//base",
"//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
"//testing/gtest",
]
}
|