diff options
author | Rashed Abdel-Tawab <rashed@linux.com> | 2017-12-26 23:11:03 +0200 |
---|---|---|
committer | Rashed Abdel-Tawab <rashed@linux.com> | 2017-12-29 23:29:05 +0200 |
commit | 9c14c9f595ba8fc0cfbc802a628c9166fcd50dbb (patch) | |
tree | 0146f3387442a3d924261cd5ad299d378039959c | |
parent | 72201a0b49f2577dec5fa31954b73ac7a2bc24f1 (diff) | |
download | android_hardware_qcom_power-9c14c9f595ba8fc0cfbc802a628c9166fcd50dbb.tar.gz android_hardware_qcom_power-9c14c9f595ba8fc0cfbc802a628c9166fcd50dbb.tar.bz2 android_hardware_qcom_power-9c14c9f595ba8fc0cfbc802a628c9166fcd50dbb.zip |
power: Build with VNDK=current
Change-Id: I27b9a90dbb5214cc8973d8de0775eb9fe30922ec
-rw-r--r-- | Android.mk | 1 | ||||
-rw-r--r-- | list.c | 2 | ||||
-rw-r--r-- | power-8996.c | 2 | ||||
-rw-r--r-- | power-8998.c | 3 | ||||
-rw-r--r-- | power.c | 3 | ||||
-rw-r--r-- | powerhintparser.c | 3 | ||||
-rw-r--r-- | utils.c | 3 |
7 files changed, 11 insertions, 6 deletions
@@ -85,6 +85,7 @@ LOCAL_MODULE := power.qcom LOCAL_MODULE_TAGS := optional LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-variable LOCAL_VENDOR_MODULE := true +LOCAL_HEADER_LIBRARIES := libhardware_headers include $(BUILD_SHARED_LIBRARY) endif @@ -32,7 +32,7 @@ #include <string.h> #include "list.h" -#include <utils/Log.h> +#include <log/log.h> int init_list_head(struct list_node *head) { diff --git a/power-8996.c b/power-8996.c index 6358d1e..31b581d 100644 --- a/power-8996.c +++ b/power-8996.c @@ -37,7 +37,7 @@ #include <stdlib.h> #define LOG_TAG "QCOM PowerHAL" -#include <utils/Log.h> +#include <log/log.h> #include <hardware/hardware.h> #include <hardware/power.h> diff --git a/power-8998.c b/power-8998.c index e51991b..96366a8 100644 --- a/power-8998.c +++ b/power-8998.c @@ -35,9 +35,10 @@ #include <fcntl.h> #include <dlfcn.h> #include <stdlib.h> +#include <pthread.h> #define LOG_TAG "QTI PowerHAL" -#include <utils/Log.h> +#include <log/log.h> #include <hardware/hardware.h> #include <hardware/power.h> @@ -36,9 +36,10 @@ #include <fcntl.h> #include <dlfcn.h> #include <stdlib.h> +#include <unistd.h> #define LOG_TAG "QCOM PowerHAL" -#include <utils/Log.h> +#include <log/log.h> #include <hardware/hardware.h> #include <hardware/power.h> diff --git a/powerhintparser.c b/powerhintparser.c index af15440..70704f9 100644 --- a/powerhintparser.c +++ b/powerhintparser.c @@ -26,9 +26,10 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ -#include <cutils/log.h> +#include <log/log.h> #include <fcntl.h> #include <string.h> +#include <unistd.h> #include <cutils/properties.h> #include <libxml/parser.h> #include <libxml/tree.h> @@ -33,6 +33,7 @@ #include <errno.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include "utils.h" #include "list.h" @@ -40,7 +41,7 @@ #include "power-common.h" #define LOG_TAG "QCOM PowerHAL" -#include <utils/Log.h> +#include <log/log.h> char scaling_gov_path[4][80] ={ "sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", |