Fuchsia build for wpa_supplicant.

Introduces a Fuchsia build for wpa_supplicant, with minimal dependencies.
While it compiles and builds, the binary simply returns an error code.

Change-Id: I87c8dc9dd54fc27910aa42b30e33b7211cbf5271
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..c2a4eac
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,8 @@
+# This is the list of Fuchsia Authors.
+
+# Names should be added to this file as one of
+#     Organization's name
+#     Individual's name <submission email address>
+#     Individual's name <submission email address> <email2> <emailN>
+
+Google Inc.
diff --git a/wpa_supplicant/BUILD.gn b/wpa_supplicant/BUILD.gn
new file mode 100644
index 0000000..67839e2
--- /dev/null
+++ b/wpa_supplicant/BUILD.gn
@@ -0,0 +1,68 @@
+# Build file for Fuchsia OS
+#
+# Copyright (c) 2016 The Fuchsia Authors.
+#
+# This software may be distributed under the terms of the BSD license.
+# See README for more details.
+
+executable("wpa_supplicant") {
+  sources = [
+    "../src/common/ieee802_11_common.c",
+    "../src/common/hw_features_common.c",
+    "../src/crypto/random.c",
+    "../src/crypto/crypto_internal.c",
+    "../src/crypto/md5.c",
+    "../src/crypto/md5-internal.c",
+    "../src/crypto/sha1.c",
+    "../src/crypto/sha1-internal.c",
+    "../src/crypto/sha256.c",
+    "../src/crypto/sha256-internal.c",
+    "../src/crypto/sha256-prf.c",
+    "../src/crypto/sha256-tlsprf.c",
+    "../src/crypto/tls_none.c",
+    "../src/drivers/driver_common.c",
+    "../src/drivers/driver_none.c",
+    "../src/drivers/drivers.c",
+    "../src/l2_packet/l2_packet_none.c",
+    "../src/utils/common.c",
+    "../src/utils/wpa_debug.c",
+    "../src/utils/wpabuf.c",
+    "../src/utils/os_none.c",
+    "../src/utils/eloop.c",
+    "config.c",
+    "notify.c",
+    "bss.c",
+    "eap_register.c",
+    "wmm_ac.c",
+    "config_file.c",
+    "wpa_supplicant.c",
+    "events.c",
+    "blacklist.c",
+    "wpas_glue.c",
+    "scan.c",
+    "main_none.c",
+  ]
+
+  include_dirs = [
+    "../src",
+    "../src/utils",
+    ".",
+  ]
+
+  cflags = [
+    "-MMD",
+    "-O2",
+    "-Wall",
+    "-g",
+    "-DCONFIG_BACKEND_FILE",
+    "-DCONFIG_CRYPTO_INTERNAL",
+    "-DCONFIG_DRIVER_NONE",
+    "-DCONFIG_NO_PBKDF2",
+    "-DCONFIG_NO_CONFIG_BLOBS",
+    "-DCONFIG_NO_SCAN_PROCESSING",
+    "-DCONFIG_NO_WPA",
+    "-DCONFIG_NO_ROAMING",
+    "-DCONFIG_SHA256",
+    "-DOS_NO_C_LIB_DEFINES",
+  ]
+}