blob: d0e48ad54dc10f9832f7ff4615b5290571d44b08 [file] [log] [blame]
# Copyright 2021 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("//sdk/cts/build/cts.gni")
cts_source_set("test_support") {
testonly = true
suite_name = "fidl"
public = [ "async_loop_for_test.h" ]
sources = [ "async_loop_for_test.cc" ]
public_deps = [
"//zircon/public/lib/async",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
]
}
cts_source_set("test") {
testonly = true
suite_name = "fidl"
public = [
"fidl_types.h",
"frobinator_impl.h",
]
sources = [
"fidl_types.cc",
"frobinator_impl.cc",
]
public_deps = [ ":frobinator" ]
deps = [ "//sdk/lib/fidl/cpp" ]
public_configs = [ "//sdk/config" ]
}
cts_fidl("frobinator") {
testonly = true
suite_name = "fidl"
# TODO(fxbug.dev/35879): Remove lint exclusions by fixing known FIDL lint violations in this target
excluded_checks = [
"event-names-must-start-with-on",
"string-bounds-not-specified",
]
name = "fidl.test.frobinator"
experimental_flags = [ "enable_handle_rights" ]
sources = [ "frobinator.test.fidl" ]
public_deps = [ "//zircon/vdso/zx" ]
}
cts_fidl("fidl_test") {
name = "fidl.test.misc"
suite_name = "fidl"
testonly = true
sources = [ "fidl_test.test.fidl" ]
}
cts_fidl("fidl_test_handles") {
name = "fidl.test.handles"
suite_name = "fidl"
testonly = true
sources = [ "fidl_test_handles.test.fidl" ]
public_deps = [ "//zircon/vdso/zx" ]
}
cts_fidl("collision_test") {
name = "fidl.test.collision"
suite_name = "fidl"
testonly = true
sources = [ "collision.test.fidl" ]
}