Convert external/apache-commons-math to Android.bp

See build/soong/README.md for more information.

Test: mmma external/apache-commons-math
Change-Id: Ie237225c16ed18864078663db346f11bcb5137f1
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..01b80f7
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,32 @@
+//
+// Copyright (C) 2011 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+java_library {
+    name: "apache-commons-math",
+    host_supported: true,
+    java_version: "1.7",
+
+    srcs: ["src/main/java/**/*.java"],
+    sdk_version: "current",
+    errorprone: {
+        javacflags: ["-Xep:MissingOverride:OFF"],
+    },
+}
+
+java_library_host {
+    name: "apache-commons-math-host",
+    static_libs: ["apache-commons-math"],
+}