Merge "Convert libpower from Android.mk to Android.bp" am: b9344a5773
am: ad31b35bdc
am: edefe8017b
Change-Id: Ie8ad81dae319a9725da9885e160cd4fdfb62c8a8
This commit is contained in:
commit
6e88e36531
2 changed files with 9 additions and 24 deletions
9
Android.bp
Normal file
9
Android.bp
Normal file
|
@ -0,0 +1,9 @@
|
|||
// Copyright 2006 The Android Open Source Project
|
||||
|
||||
cc_library {
|
||||
name: "libpower",
|
||||
|
||||
srcs: ["power/power.c"],
|
||||
export_include_dirs: ["include"],
|
||||
shared_libs: ["libcutils"],
|
||||
}
|
24
Android.mk
24
Android.mk
|
@ -31,30 +31,6 @@ LOCAL_MODULE:= libhardware_legacy
|
|||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
# static library for librpc
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE:= libpower
|
||||
|
||||
LOCAL_SRC_FILES += power/power.c
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
# shared library for various HALs
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libpower
|
||||
|
||||
LOCAL_SRC_FILES := power/power.c
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
# legacy_audio builds it's own set of libraries that aren't linked into
|
||||
# hardware_legacy
|
||||
include $(LEGACY_AUDIO_MAKEFILES)
|
||||
|
|
Loading…
Reference in a new issue