blob: dcfb92d41e435dbdce6b75fa6c99d6fc1348169d [file] [log] [blame]
# 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",
]
# TODO(crbug.com/40031409): Fix code that adds exit-time destructors and
# enable the diagnostic by removing this line.
configs += [ "//build/config/compiler:no_exit_time_destructors" ]
}