Index: mojo/python/BUILD.gn |
diff --git a/mojo/python/BUILD.gn b/mojo/python/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..18b873762b1d17eab2e0ef1bb8e91dcc50058d0d |
--- /dev/null |
+++ b/mojo/python/BUILD.gn |
@@ -0,0 +1,29 @@ |
+# Copyright 2014 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("//third_party/cython/rules.gni") |
+ |
+group("python") { |
+ deps = [ |
+ ":embedder", |
+ ] |
+} |
+ |
+group("tests") { |
+ deps = [ |
+ "//mojo/python/tests", |
+ ] |
+} |
+python_binary_module("embedder") { |
+ python_base_module = "mojo" |
+ sources = [ |
+ "system/mojo/embedder.pyx", |
+ ] |
+ deps = [ |
+ "//mojo/system", |
+ ] |
+ datadeps = [ |
+ "//mojo/public/python:system", |
+ ] |
+} |