| # 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. |
| |
| source_set("flatland") { |
| sources = [ |
| "flatland.cc", |
| "flatland.h", |
| "flatland_display.cc", |
| "flatland_display.h", |
| "flatland_manager.cc", |
| "flatland_manager.h", |
| "flatland_presenter.h", |
| "flatland_presenter_impl.cc", |
| "flatland_presenter_impl.h", |
| "global_image_data.cc", |
| "global_image_data.h", |
| "global_matrix_data.cc", |
| "global_matrix_data.h", |
| "global_topology_data.cc", |
| "global_topology_data.h", |
| "hanging_get_helper.h", |
| "link_system.cc", |
| "link_system.h", |
| "scene_dumper.cc", |
| "scene_dumper.h", |
| "transform_graph.cc", |
| "transform_graph.h", |
| "transform_handle.cc", |
| "transform_handle.h", |
| "uber_struct.h", |
| "uber_struct_system.cc", |
| "uber_struct_system.h", |
| ] |
| |
| public_deps = [ |
| ":flatland_types", |
| "//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_cpp", |
| "//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_cpp_hlcpp_conversion", |
| "//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_hlcpp", |
| "//sdk/fidl/fuchsia.ui.scenic:fuchsia.ui.scenic_hlcpp", |
| "//src/lib/fostr/fidl/fuchsia.math", |
| "//src/lib/fxl", |
| |
| # TODO(https://fxbug.dev/42134663): this dependency should be broken down into smaller libraries, |
| # since it is currently only used for escher::FenceQueue. |
| "//sdk/lib/fit", |
| "//src/ui/lib/escher", |
| "//src/ui/scenic/lib/display", |
| "//src/ui/scenic/lib/flatland/buffers", |
| "//src/ui/scenic/lib/utils", |
| "//src/ui/scenic/lib/view_tree:view_tree_snapshot", |
| "//third_party/glm", |
| "//zircon/system/ulib/async-default", |
| "//zircon/system/ulib/zircon-internal", |
| ] |
| |
| deps = [ |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/sys/cpp", |
| "//sdk/lib/ui/scenic/cpp:cpp", |
| "//src/lib/fsl", |
| "//src/ui/scenic/lib/scenic/util", |
| "//src/ui/scenic/lib/scheduling:frame_scheduler_interface", |
| "//src/ui/scenic/lib/scheduling:present_helpers", |
| "//src/ui/scenic/lib/utils", |
| "//zircon/system/ulib/trace", |
| ] |
| |
| configs += [ "//third_party/glm:enable_experimental" ] |
| } |
| |
| source_set("flatland_types") { |
| sources = [ |
| "flatland_types.cc", |
| "flatland_types.h", |
| ] |
| public_deps = [ |
| "//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_cpp", |
| "//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_cpp_hlcpp_conversion", |
| "//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_hlcpp", |
| "//sdk/lib/syslog/cpp", |
| "//third_party/glm", |
| ] |
| } |
| |
| group("pixeltests") { |
| testonly = true |
| |
| public_deps = [ "engine/tests/pixeltests" ] |
| } |
| |
| group("unittests") { |
| testonly = true |
| |
| public_deps = [ |
| "buffers/tests:unittests", |
| "engine/tests:unittests", |
| "renderer/tests:unittests", |
| "tests:unittests", |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| |
| public_deps = [ |
| ":pixeltests", |
| ":unittests", |
| ] |
| } |