summaryrefslogtreecommitdiffstats
path: root/third_party/rust/fuchsia-zircon/examples
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/fuchsia-zircon/examples')
-rw-r--r--third_party/rust/fuchsia-zircon/examples/BUILD.gn17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/rust/fuchsia-zircon/examples/BUILD.gn b/third_party/rust/fuchsia-zircon/examples/BUILD.gn
new file mode 100644
index 0000000000..dee61f5829
--- /dev/null
+++ b/third_party/rust/fuchsia-zircon/examples/BUILD.gn
@@ -0,0 +1,17 @@
+# 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("zircon_rust_examples") {
+ system_image = true
+
+ deps = [
+ "zx_toy",
+ ]
+
+ binaries = [ {
+ name = "example_zx_toy"
+ } ]
+}