power-libperfmgr: Guard it

This is needed so that other devices not using the power AIDL HAL
(read: not importing relevant Pixel namespaces) can still be buildable.

Change-Id: I089df179c882450281e73c4ce0f8cabb7018ab0d
This commit is contained in:
LuK1337 2021-04-20 09:16:22 +02:00 committed by Łukasz Patron
parent 2182dd8add
commit f05aff1088

View File

@ -14,6 +14,9 @@
# limitations under the License.
#
ifneq (,$(findstring hardware/google/interfaces, $(PRODUCT_SOONG_NAMESPACES)))
ifneq (,$(findstring hardware/google/pixel, $(PRODUCT_SOONG_NAMESPACES)))
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@ -51,3 +54,6 @@ LOCAL_VENDOR_MODULE := true
LOCAL_VINTF_FRAGMENTS := android.hardware.power-service.xiaomi.xml
include $(BUILD_EXECUTABLE)
endif
endif