blob: b4e4ca1adb16645fac25e24cbf50f8b7a911e4c2 [file] [edit]
# Copyright 2019 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/testing/cc_test_executable.gni")
group("tests") {
testonly = true
public_deps = [
":unittests",
"//sdk/lib/stdcompat",
]
}
cc_test_executable("unittests") {
output_name = "flatland_unittests"
testonly = true
sources = [
"flatland_manager_unittest.cc",
"flatland_presenter_unittest.cc",
"flatland_unittest.cc",
"global_matrix_data_unittest.cc",
"global_topology_data_unittest.cc",
"global_transform_data_unittest.cc",
"hanging_get_helper_unittest.cc",
"link_system_unittest.cc",
"logging_event_loop.cc",
"mock_flatland_presenter.h",
"scene_dumper_unittest.cc",
"transform_graph_unittest.cc",
"trusted_flatland_factory_unittest.cc",
"uber_struct_system_unittest.cc",
]
public_deps = [ "//third_party/glm" ]
deps = [
"//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_cpp",
"//sdk/lib/fit",
"//sdk/lib/sys/cpp/testing:unit",
"//sdk/lib/ui/scenic/cpp",
"//src/lib/fsl",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/loop_fixture",
"//src/ui/scenic/lib/flatland",
"//src/ui/scenic/lib/scenic/util",
"//src/ui/scenic/lib/scheduling:frame_scheduler",
"//src/ui/scenic/lib/scheduling/tests/mocks:frame_scheduler_mocks",
"//src/ui/scenic/lib/utils",
"//src/ui/scenic/tests:promise",
"//third_party/googletest:gmock",
"//zircon/system/ulib/sync:sync-cpp",
]
}