| # 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("live_tab_count_metrics") { |
| sources = [ |
| "live_tab_count_metrics.cc", |
| "live_tab_count_metrics.h", |
| ] |
| |
| defines = [ "IS_LIVE_TAB_COUNT_METRICS_IMPL" ] |
| |
| public_deps = [ |
| "//base", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "live_tab_count_metrics_unittest.cc", |
| ] |
| |
| deps = [ |
| ":live_tab_count_metrics", |
| "//base/test:test_support", |
| "//testing/gtest", |
| ] |
| } |