| # 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 = "standalone_app" | |
| 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", | |
| "//src/ui/lib/glm_workaround", | |
| "//zircon/system/ulib/async-loop:async-loop-cpp", | |
| "//zircon/system/ulib/async-loop:async-loop-default", | |
| ] | |
| include_dirs = [ | |
| "//src/ui/lib/escher", | |
| "//lib", | |
| ] | |
| defines = [ "GLM_ENABLE_EXPERIMENTAL" ] | |
| # TODO(fxbug.dev/58162): delete the below and fix compiler warnings | |
| configs += [ "//build/config:Wno-conversion" ] | |
| } | |
| fuchsia_package_with_single_component("standalone_app") { | |
| manifest = "meta/standalone_app.cmx" | |
| deps = [ ":bin" ] | |
| } |