| # 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/package.gni") |
| |
| package("tones") { |
| deps = [ |
| ":tones_bin", |
| ] |
| |
| binaries = [ |
| { |
| name = "tones" |
| shell = true |
| }, |
| ] |
| |
| meta = [ |
| { |
| path = rebase_path("meta/tones.cmx") |
| dest = "tones.cmx" |
| }, |
| ] |
| } |
| executable("tones_bin") { |
| output_name = "tones" |
| |
| sources = [ |
| "main.cc", |
| "midi_keyboard.cc", |
| "tone_generator.cc", |
| "tone_generator.h", |
| "tones.cc", |
| "tones.h", |
| ] |
| |
| deps = [ |
| "//garnet/public/lib/fsl", |
| "//garnet/public/lib/media/timeline", |
| "//sdk/fidl/fuchsia.media", |
| "//sdk/lib/sys/cpp", |
| "//src/lib/fxl", |
| "//zircon/public/lib/async-loop-cpp", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/fit", |
| "//zircon/public/lib/fzl", |
| ] |
| } |