[build] Add python_library target for yaml

Change-Id: I721673352eb6e3adb3e105ac04162cd3f92bbb35
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/pyyaml/+/510198
Reviewed-by: Shai Barack <shayba@google.com>
diff --git a/BUILD.gn b/BUILD.gn
new file mode 100644
index 0000000..14b1d32
--- /dev/null
+++ b/BUILD.gn
@@ -0,0 +1,27 @@
+# Copyright 2021 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/python/python_library.gni")
+
+python_library("yaml") {
+  sources = [
+    "lib3/yaml/__init__.py",
+    "lib3/yaml/composer.py",
+    "lib3/yaml/constructor.py",
+    "lib3/yaml/cyaml.py",
+    "lib3/yaml/dumper.py",
+    "lib3/yaml/emitter.py",
+    "lib3/yaml/error.py",
+    "lib3/yaml/events.py",
+    "lib3/yaml/loader.py",
+    "lib3/yaml/nodes.py",
+    "lib3/yaml/parser.py",
+    "lib3/yaml/reader.py",
+    "lib3/yaml/representer.py",
+    "lib3/yaml/resolver.py",
+    "lib3/yaml/scanner.py",
+    "lib3/yaml/serializer.py",
+    "lib3/yaml/tokens.py",
+  ]
+}
diff --git a/README.fuchsia b/README.fuchsia
index c295e8a..38ec22c 100644
--- a/README.fuchsia
+++ b/README.fuchsia
@@ -10,3 +10,4 @@
 Local Modifications:
 Added README.fuchsia.
 Added py_srcs.gni.
+Added BUILD.gn.