power: Fixing broken condition
Fixing broken condition in make file Change-Id: I109cb4090aabd83a1512307f18bc397fb7dc9a67
This commit is contained in:
@@ -91,9 +91,7 @@ LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-variable
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
endif
|
||||
|
||||
ifeq ($(call is-board-platform-in-list,trinket), false)
|
||||
else
|
||||
LOCAL_MODULE := android.hardware.power@1.2-service
|
||||
LOCAL_INIT_RC := android.hardware.power@1.2-service.rc
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
ifeq ($(call is-board-platform-in-list,trinket), false)
|
||||
ifeq ($(call is-board-platform-in-list,trinket), true)
|
||||
TARGET_USES_NON_LEGACY_POWERHAL := false
|
||||
else
|
||||
TARGET_USES_NON_LEGACY_POWERHAL := true
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user