Home | History | Annotate | Download | only in power
      1 # Copyright (C) 2017 The Android Open Source Project
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
      4 # you may not use this file except in compliance with the License.
      5 # You may obtain a copy of the License at
      6 #
      7 #      http://www.apache.org/licenses/LICENSE-2.0
      8 #
      9 # Unless required by applicable law or agreed to in writing, software
     10 # distributed under the License is distributed on an "AS IS" BASIS,
     11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
     14 
     15 LOCAL_PATH := $(call my-dir)
     16 
     17 include $(CLEAR_VARS)
     18 
     19 LOCAL_MODULE_RELATIVE_PATH := hw
     20 LOCAL_PROPRIETARY_MODULE := true
     21 LOCAL_MODULE_OWNER := qcom
     22 LOCAL_MODULE_TAGS := optional
     23 
     24 LOCAL_MODULE := android.hardware.power (a] 1.1-service.wahoo
     25 LOCAL_INIT_RC := android.hardware.power (a] 1.1-service.wahoo.rc
     26 LOCAL_SRC_FILES := service.cpp \
     27     Power.cpp \
     28     InteractionHandler.cpp \
     29     power-helper.c \
     30     metadata-parser.c \
     31     utils.c \
     32     list.c \
     33     hint-data.c \
     34     powerhintparser.c
     35 
     36 LOCAL_C_INCLUDES := external/libxml2/include \
     37                     external/icu/icu4c/source/common
     38 
     39 # Include target-specific files.
     40 LOCAL_SRC_FILES += power-8998.c
     41 
     42 
     43 # Enable interaction boost all the time
     44 LOCAL_CFLAGS += -DINTERACTION_BOOST -Werror
     45 
     46 LOCAL_SHARED_LIBRARIES := \
     47     libbase \
     48     liblog \
     49     libcutils \
     50     libdl \
     51     libxml2 \
     52     libhidlbase \
     53     libhidltransport \
     54     libhardware \
     55     libutils \
     56     android.hardware.power (a] 1.1 \
     57 
     58 include $(BUILD_EXECUTABLE)
     59