OSDN Git Service

Reconcile gingerbread-plus-aosp and honeycomb
[android-x86/hardware-libhardware_legacy.git] / Android.mk
index c698e26..dc3b88a 100644 (file)
@@ -6,7 +6,7 @@ SAVE_MAKEFILES := $(call all-subdir-makefiles)
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
-LOCAL_SHARED_LIBRARIES := libutils libcutils libwpa_client
+LOCAL_SHARED_LIBRARIES := libutils libbinder libcutils libwpa_client
 
 LOCAL_INCLUDES += $(LOCAL_PATH)
 
@@ -31,3 +31,12 @@ endif
 LOCAL_MODULE:= libhardware_legacy
 
 include $(BUILD_SHARED_LIBRARY)
+
+# static library for librpc
+include $(CLEAR_VARS)
+
+LOCAL_MODULE:= libpower
+
+LOCAL_SRC_FILES += power/power.c
+
+include $(BUILD_STATIC_LIBRARY)