BUILD.gn 539 B

12345678910111213141516171819202122232425
  1. # Copyright 2018 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. component("tab_count_metrics") {
  5. sources = [
  6. "tab_count_metrics.cc",
  7. "tab_count_metrics.h",
  8. ]
  9. defines = [ "IS_TAB_COUNT_METRICS_IMPL" ]
  10. public_deps = [ "//base" ]
  11. }
  12. source_set("unit_tests") {
  13. testonly = true
  14. sources = [ "tab_count_metrics_unittest.cc" ]
  15. deps = [
  16. ":tab_count_metrics",
  17. "//base/test:test_support",
  18. "//testing/gtest",
  19. ]
  20. }