Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2270)

Unified Diff: examples/audio_play_test/BUILD.gn

Issue 1406393004: Add two demos which exercise the audio server. (Closed) Base URL: https://github.com/domokit/mojo.git@change6
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: examples/audio_play_test/BUILD.gn
diff --git a/examples/audio_play_test/BUILD.gn b/examples/audio_play_test/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..efae5dc3887e566ae706908d53ea80cc6c3b86ab
--- /dev/null
+++ b/examples/audio_play_test/BUILD.gn
@@ -0,0 +1,46 @@
+# Copyright 2015 The Chromium 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("//mojo/public/mojo_application.gni")
+
+group("audio_play_test") {
+ deps = [
+ ":play_wav",
+ ":play_tone",
+ ]
+}
+
+mojo_native_application("play_wav") {
+ deps = [
+ "//base",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/system",
+ "//mojo/public/cpp/utility",
+ "//mojo/services/media/audio/interfaces",
+ "//mojo/services/media/common/cpp",
+ "//mojo/services/media/common/interfaces",
+ "//mojo/services/network/interfaces",
+ "//services/media/common",
+ ]
+
+ sources = [
+ "play_wav.cc",
+ ]
+}
+
+mojo_native_application("play_tone") {
+ deps = [
+ "//base",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/utility",
+ "//mojo/services/media/audio/interfaces",
+ "//mojo/services/media/common/cpp",
+ "//mojo/services/media/common/interfaces",
+ "//services/media/common",
+ ]
+
+ sources = [
+ "play_tone.cc",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698