Initialize the package in Chrome OS

First commit in Chrome OS, do the following things,

1. Add BUILD.gn.
2. Modify some source code to avoid "-Wunreachable-code-return" error.
3. Add LICENSE and OWNERS file.

BUG=1086044
TEST=Can compile. And the lang-id works based on it.

Exempt-From-Owner-Approval: The existing OWNER is from AOSP.

Change-Id: Ie0531221fac4648540b9d56cb7c91e5756da7706
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/external/libutf/+/2248286
Tested-by: Honglin Yu <honglinyu@chromium.org>
Commit-Queue: Honglin Yu <honglinyu@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
new file mode 100644
index 0000000..5f444ff
--- /dev/null
+++ b/BUILD.gn
@@ -0,0 +1,40 @@
+# Copyright 2020 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+group("all") {
+  deps = [
+    ":libutf",
+  ]
+}
+
+static_library("libutf") {
+  sources = [
+    "rune.c",
+    "runestrcat.c",
+    "runestrchr.c",
+    "runestrcmp.c",
+    "runestrcpy.c",
+    "runestrdup.c",
+    "runestrecpy.c",
+    "runestrlen.c",
+    "runestrncat.c",
+    "runestrncmp.c",
+    "runestrncpy.c",
+    "runestrrchr.c",
+    "runestrstr.c",
+    "runetype.c",
+    "utfecpy.c",
+    "utflen.c",
+    "utfnlen.c",
+    "utfrrune.c",
+    "utfrune.c",
+    "utfutf.c",
+  ]
+
+  # Make the library into a standalone one.
+  configs += [
+    "//common-mk:nouse_thin_archive"
+  ]
+  configs -= [ "//common-mk:use_thin_archive" ]
+}
diff --git a/NOTICE b/LICENSE
similarity index 100%
rename from NOTICE
rename to LICENSE
diff --git a/OWNERS b/OWNERS
index 466f8a4..742532f 100644
--- a/OWNERS
+++ b/OWNERS
@@ -1,4 +1,3 @@
-# Default code reviewers picked from top 3 or more developers.
-# Please update this list if you find better candidates.
-include platform/external/libtextclassifier:/OWNERS
-agutkin@google.com
+alanlxl@chromium.org
+amoylan@chromium.org
+honglinyu@chromium.org
diff --git a/utflen.c b/utflen.c
index 45653d5..6e753be 100644
--- a/utflen.c
+++ b/utflen.c
@@ -34,5 +34,4 @@
 			s += chartorune(&rune, s);
 		n++;
 	}
-	return 0;
 }
diff --git a/utfrrune.c b/utfrrune.c
index c0b89f5..05a26ff 100644
--- a/utfrrune.c
+++ b/utfrrune.c
@@ -43,5 +43,4 @@
 			s1 = s;
 		s += c1;
 	}
-	return 0;
 }
diff --git a/utfrune.c b/utfrune.c
index 913783f..f194252 100644
--- a/utfrune.c
+++ b/utfrune.c
@@ -42,5 +42,4 @@
 			return s;
 		s += n;
 	}
-	return 0;
 }