mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
36 lines
761 B
Plaintext
36 lines
761 B
Plaintext
# Copyright 2018 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.
|
|
|
|
component("scheduling_metrics") {
|
|
sources = [
|
|
"task_duration_metric_reporter.h",
|
|
"thread_metrics.cc",
|
|
"thread_metrics.h",
|
|
"thread_type.h",
|
|
"total_duration_metric_reporter.cc",
|
|
"total_duration_metric_reporter.h",
|
|
]
|
|
|
|
defines = [ "IS_SCHEDULING_METRICS_IMPL" ]
|
|
|
|
public_deps = [
|
|
"//base",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"thread_metrics_unittest.cc",
|
|
"total_duration_metric_reporter_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":scheduling_metrics",
|
|
"//base/test:test_support",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
}
|