libqemu: Android.mk -> bp

Test: mma

Bug: 37512442
Change-Id: I96f482b3f7734ca217084104b9b733d33459d635
This commit is contained in:
Yifan Hong 2017-06-08 11:30:17 -07:00
parent fd79f01baf
commit e250fd84db
2 changed files with 13 additions and 19 deletions

13
qemu_pipe/Android.bp Normal file
View file

@ -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"],
}

View file

@ -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)