| # 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("waterfall") { |
| sources = [ |
| "waterfall_demo.cc", |
| "waterfall_demo.h", |
| "waterfall_main.cc", |
| ] |
| |
| deps = [ |
| ":scenes", |
| "//src/ui/examples/escher/common", |
| "//src/ui/lib/escher:vulkan", |
| ] |
| |
| include_dirs = [ |
| "//lib", |
| "//src/ui/lib/escher", |
| "//third_party/glm", |
| ] |
| |
| if (is_fuchsia) { |
| deps += [ "//zircon/public/lib/trace" ] |
| } |
| } |
| |
| source_set("scenes") { |
| sources = [ |
| "scenes/demo_scene.cc", |
| "scenes/demo_scene.h", |
| "scenes/paper_demo_scene1.cc", |
| "scenes/paper_demo_scene1.h", |
| "scenes/scene.cc", |
| "scenes/scene.h", |
| ] |
| |
| deps = [ |
| "//src/ui/examples/escher/common", |
| ] |
| } |