Move all FMQ code to system/libfmq.

All include files are moved into a subdirectory to avoid file name
conflicts.

Bug: 32311713 33295104
Test: built and ran FMQ unit tests and benchmarks

Merged-In: Ica9834c079b05ed3b2720113fc5ed00f36f1cb6a
Change-Id: Ica9834c079b05ed3b2720113fc5ed00f36f1cb6a
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..d6df2f7
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,36 @@
+// Copyright (C) 2016 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.
+
+cc_library_shared {
+    name: "libfmq",
+    shared_libs: [
+        "liblog",
+        "libcutils",
+        "libutils",
+    ],
+    export_shared_lib_headers: [
+        "libcutils",
+        "libutils",
+    ],
+    export_include_dirs: ["include"],
+    local_include_dirs: ["include"],
+    clang: true,
+    srcs: [
+        "EventFlag.cpp",
+    ],
+    cflags: [
+        "-Wall",
+        "-Werror",
+    ],
+}