Convert nfacct to Android.bp

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

Test: cd external/nfacct; mma
Change-Id: I56e357af64b4843d2ea1d7fcfee019f79c561444
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..0f5b335
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,17 @@
+cc_binary {
+    name: "nfacct",
+
+    cflags: [
+        "-Wall",
+        "-Werror",
+        "-Wno-format",
+        "-Wno-unused-parameter",
+        "-Wno-unused-variable",
+
+        "-DHAVE_LIBNL20",
+    ],
+
+    srcs: ["nfacct.c"],
+
+    shared_libs: ["libnl"],
+}
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index c3d8283..0000000
--- a/Android.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-include $(CLEAR_VARS)
-include $(LOCAL_PATH)/android.config
-
-INCLUDES = $(LOCAL_PATH)
-INCLUDES += external/libnl/include
-
-LOCAL_CFLAGS := \
-    -Wall -Werror \
-    -Wno-format \
-    -Wno-unused-parameter \
-    -Wno-unused-variable \
-
-ifdef HAVE_LIBNL20
-LOCAL_CFLAGS += -DHAVE_LIBNL20
-endif
-
-########################
-
-LOCAL_SRC_FILES:= nfacct.c
-LOCAL_MODULE := nfacct
-
-LOCAL_SHARED_LIBRARIES += libnl
-LOCAL_C_INCLUDES := $(INCLUDES)
-
-include $(BUILD_EXECUTABLE)