From 317051e7be390dab7ebb8ad8c666a4e3a0f4d704 Mon Sep 17 00:00:00 2001 From: Anurag Singh Date: Tue, 11 Dec 2012 12:09:28 -0800 Subject: [PATCH] power: Build the power module for QCOM targets Allow the power module (power.qcom.so) to be built for Qualcomm targets. Change-Id: I7b671225a54e1a67bffdd2e71f9380a3d4db91e1 --- power/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/power/Android.mk b/power/Android.mk index 2e28b591..58c64589 100644 --- a/power/Android.mk +++ b/power/Android.mk @@ -1,6 +1,6 @@ LOCAL_PATH := $(call my-dir) -ifneq ($(call is-android-codename,JELLY_BEAN),true) +ifeq ($(call is-vendor-board-platform,QCOM),true) # HAL module implemenation stored in # hw/..so @@ -12,4 +12,5 @@ LOCAL_SRC_FILES := power.c metadata-parser.c utils.c list.c hint-data.c LOCAL_MODULE := power.qcom LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) + endif