| Index: examples/python/BUILD.gn
|
| diff --git a/examples/python/BUILD.gn b/examples/python/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0cf54ac51bfa0acb1cac9ed8f63ea473d30a858c
|
| --- /dev/null
|
| +++ b/examples/python/BUILD.gn
|
| @@ -0,0 +1,30 @@
|
| +# 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")
|
| +import("//mojo/public/tools/bindings/mojom.gni")
|
| +import("//mojo/public/python/rules.gni")
|
| +
|
| +group("python") {
|
| + testonly = true
|
| + deps = [
|
| + ":python_example_service",
|
| + ]
|
| +}
|
| +
|
| +python_packaged_application("python_example_service") {
|
| + sources = [
|
| + "__mojo__.py",
|
| + ]
|
| + mojom_deps = [
|
| + "//examples/apptest:bindings",
|
| + "//mojo/public/interfaces/application",
|
| + ]
|
| + deps = [
|
| + "//mojo/public/python:packaged_bindings",
|
| + ]
|
| + datadeps = [
|
| + "//mojo/python/content_handler",
|
| + ]
|
| +}
|
|
|