summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2017-06-08 11:30:17 -0700
committerYifan Hong <elsk@google.com>2017-06-08 14:16:11 -0700
commite250fd84db8789823a7435462062e9c23377eadd (patch)
treeb8b6e5e3ce296527cea18100eb3cce74c2f1ae2d
parentfd79f01baf5a8b60c4172fc183579b9c796edbd3 (diff)
downloadsystem_core-e250fd84db8789823a7435462062e9c23377eadd.tar.gz
system_core-e250fd84db8789823a7435462062e9c23377eadd.tar.bz2
system_core-e250fd84db8789823a7435462062e9c23377eadd.zip
libqemu: Android.mk -> bp
Test: mma Bug: 37512442 Change-Id: I96f482b3f7734ca217084104b9b733d33459d635
-rw-r--r--qemu_pipe/Android.bp13
-rw-r--r--qemu_pipe/Android.mk19
2 files changed, 13 insertions, 19 deletions
diff --git a/qemu_pipe/Android.bp b/qemu_pipe/Android.bp
new file mode 100644
index 000000000..ea9fa76e4
--- /dev/null
+++ b/qemu_pipe/Android.bp
@@ -0,0 +1,13 @@
+// Copyright 2011 The Android Open Source Project
+
+cc_library_static {
+ name: "libqemu_pipe",
+ sanitize: {
+ misc_undefined: ["integer"],
+ },
+ srcs: ["qemu_pipe.cpp"],
+ local_include_dirs: ["include"],
+ static_libs: ["libbase"],
+ export_include_dirs: ["include"],
+ cflags: ["-Werror"],
+}
diff --git a/qemu_pipe/Android.mk b/qemu_pipe/Android.mk
deleted file mode 100644
index 6e0144ce1..000000000
--- a/qemu_pipe/Android.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 2011 The Android Open Source Project
-
-LOCAL_PATH:= $(call my-dir)
-
-common_static_libraries := \
- libbase
-include $(CLEAR_VARS)
-LOCAL_CLANG := true
-LOCAL_SANITIZE := integer
-LOCAL_SRC_FILES:= \
- qemu_pipe.cpp
-LOCAL_C_INCLUDES := \
- $(LOCAL_PATH)/include \
- system/base/include
-LOCAL_MODULE:= libqemu_pipe
-LOCAL_STATIC_LIBRARIES := $(common_static_libraries)
-LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
-LOCAL_CFLAGS := -Werror
-include $(BUILD_STATIC_LIBRARY)