blob: e917e68c9ab2dbbad285e9ae62c8b8b6fa675e6a [file]
# Copyright 2020 The Fuchsia 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/components/fuchsia_unittest_package.gni")
import("//build/testing/cc_test_executable.gni")
group("tests") {
testonly = true
deps = [ ":camera_gym_controller_error_unittest" ]
}
source_set("lib") {
sources = [
"controller_error.cc",
"controller_error.h",
]
deps = [
"//sdk/lib/sys/cpp",
"//sdk/lib/syslog/cpp",
"//src/lib/fxl",
]
public_deps = [ "//src/camera/bin/camera-gym/fidl:controller_hlcpp" ]
}
cc_test_executable("camera_gym_controller_error_unittest_bin") {
testonly = true
sources = [ "controller_error_unittest.cc" ]
deps = [
":lib",
"//src/lib/fxl/test:gtest_main",
]
}
fuchsia_unittest_package("camera_gym_controller_error_unittest") {
deps = [ ":camera_gym_controller_error_unittest_bin" ]
}