blob: 097a4ffe1b56bd017685a0aa1f33adec18775213 [file] [log] [blame]
# Copyright 2018 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.
executable("bin") {
output_name = "scenic"
sources = [
"app.cc",
"app.h",
"main.cc",
]
deps = [
":base_deps",
"//sdk/fidl/fuchsia.vulkan.loader:fuchsia.vulkan.loader_hlcpp",
"//sdk/lib/fit-promise",
"//sdk/lib/inspect/component/cpp",
"//sdk/lib/scheduler/cpp",
"//src/graphics/display/lib/coordinator-getter:client",
"//src/lib/async-watchdog",
"//src/ui/scenic:scenic_structured_config",
"//src/ui/scenic/lib/display",
"//src/ui/scenic/lib/display:singleton_display_service",
"//src/ui/scenic/lib/flatland/engine",
"//src/ui/scenic/lib/flatland/renderer",
"//src/ui/scenic/lib/focus",
"//src/ui/scenic/lib/input",
"//src/ui/scenic/lib/scheduling:frame_metrics_registry",
"//src/ui/scenic/lib/screen_capture",
"//src/ui/scenic/lib/screen_capture2",
"//src/ui/scenic/lib/screenshot",
"//src/ui/scenic/lib/shutdown",
"//src/ui/scenic/lib/utils",
"//src/ui/scenic/lib/view_tree:geometry_provider",
"//src/ui/scenic/lib/view_tree:observer_registry",
"//src/ui/scenic/lib/view_tree:scoped_observer_registry",
"//src/ui/scenic/lib/view_tree:view_ref_installed",
"//src/ui/scenic/lib/view_tree:view_tree_snapshot",
"//third_party/rapidjson",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/inspect",
]
# Extra stack needed to avoid crashes when loading vulkan validation layers
# with asan enabled.
ldflags = [ "-Wl,-z,stack-size=0x100000" ]
# TODO(https://fxbug.dev/42136089): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
source_set("base_deps") {
public_deps = [
"//sdk/lib/component/incoming/cpp",
"//sdk/lib/fidl/cpp",
"//sdk/lib/fit",
"//sdk/lib/sys/cpp",
"//src/lib/fsl",
"//src/lib/fxl:fxl_cli",
"//src/ui/scenic/lib/flatland",
"//src/ui/scenic/lib/scenic",
"//src/ui/scenic/lib/scenic/util",
"//src/ui/scenic/lib/scheduling:frame_scheduler",
"//zircon/system/ulib/async:async-cpp",
"//zircon/system/ulib/trace-provider",
]
}