chromium/chrome/browser/chromeos/extensions/telemetry/BUILD.gn

# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//chrome/common/features.gni")

assert(enable_extensions)

source_set("telemetry") {
  sources = [
    "chromeos_telemetry_extensions_browser_api_provider.cc",
    "chromeos_telemetry_extensions_browser_api_provider.h",
  ]

  deps = [
    "api:api_registration",
    "//base",
    "//extensions/browser",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "chromeos_permission_messages_unittest.cc" ]

  deps = [
    "api:unit_tests",
    "//base",
    "//chrome/browser/extensions",
    "//chrome/common",
    "//chrome/test:test_support",
    "//extensions:test_support",
    "//extensions/common",
    "//testing/gtest",
  ]
}