| # 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 = "shadertoy_client" |
| |
| sources = [ |
| "glsl_strings.cc", |
| "glsl_strings.h", |
| "main.cc", |
| "view.cc", |
| "view.h", |
| ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.math", |
| "//sdk/fidl/fuchsia.ui.gfx", |
| "//sdk/fidl/fuchsia.ui.input", |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/sys/cpp", |
| "//sdk/lib/ui/scenic/cpp", |
| "//src/lib/fostr/fidl/fuchsia.ui.input", |
| "//src/lib/fsl", |
| "//src/lib/fxl", |
| "//src/lib/ui/base_view", |
| "//src/ui/examples/shadertoy/service", |
| "//src/ui/examples/shadertoy/service/services", |
| "//third_party/glm", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| "//zircon/system/ulib/trace-provider", |
| ] |
| |
| include_dirs = [ "//lib" ] |
| } |
| |
| fuchsia_package_with_single_component("shadertoy_client") { |
| manifest = "meta/shadertoy_client.cmx" |
| deps = [ ":bin" ] |
| } |