| # Copyright 2017 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.gni") |
| |
| executable("bin") { |
| output_name = "pose_buffer_presenter" |
| |
| sources = [ |
| "app.cc", |
| "app.h", |
| "main.cc", |
| ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.ui.gfx", |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/sys/cpp", |
| "//sdk/lib/ui/scenic/cpp", |
| "//src/lib/fsl", |
| "//src/lib/fxl", |
| "//src/lib/ui/scenic/cpp", |
| "//src/ui/lib/escher", |
| "//third_party/glm", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| |
| include_dirs = [ |
| "//src/ui/lib/escher", |
| "//lib", |
| ] |
| |
| configs += [ "//third_party/glm:enable_experimental" ] |
| } |
| |
| fuchsia_package_with_single_component("pose_buffer_presenter") { |
| manifest = "meta/pose_buffer_presenter.cmx" |
| deps = [ |
| ":bin", |
| "//src/lib/vulkan:vulkan_validation_layers", |
| ] |
| } |