blob: 0c5c0d069b537d3d1319dde1bc4443246507cfad [file] [log] [blame]
# Copyright 2021 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.
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos_ash, "Non-Chrome-OS builds must not depend on //chromeos")
component("cec_service") {
output_name = "chromeos_cec_service"
defines = [ "IS_CHROMEOS_DBUS_CEC_SERVICE_IMPL" ]
deps = [
"//base",
"//chromeos/dbus:common",
"//dbus",
]
sources = [
"cec_service_client.cc",
"cec_service_client.h",
"fake_cec_service_client.cc",
"fake_cec_service_client.h",
]
}
source_set("unit_tests") {
testonly = true
deps = [
":cec_service",
"//base",
"//base/test:test_support",
"//dbus",
"//dbus:test_support",
"//testing/gmock",
"//testing/gtest",
]
sources = [ "cec_service_client_unittest.cc" ]
}