exynos9610: exynos-thermald: disable logging
[GitHub/moto-9609/android_device_motorola_exynos9610-common.git] / Android.mk
CommitLineData
c8c25183
JA
1#
2# Copyright (C) 2020 The LineageOS Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := device/motorola/exynos9610-common
18
19ifneq ($(filter kane troika, $(TARGET_DEVICE)),)
20
21include $(call all-makefiles-under,$(LOCAL_PATH))
22
15eb9473
JA
23include $(CLEAR_VARS)
24
078e95a1 25EGL_LIBS := libOpenCL.so libOpenCL.so.1 libOpenCL.so.1.1
15eb9473
JA
26
27EGL_32_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib/,$(EGL_LIBS))
28$(EGL_32_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
29 @echo "EGL 32 lib link: $@"
30 @mkdir -p $(dir $@)
31 @rm -rf $@
32 $(hide) ln -sf /vendor/lib/egl/libGLES_mali.so $@
33
34EGL_64_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib64/,$(EGL_LIBS))
35$(EGL_64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
36 @echo "EGL 64 lib link: $@"
37 @mkdir -p $(dir $@)
38 @rm -rf $@
39 $(hide) ln -sf /vendor/lib64/egl/libGLES_mali.so $@
40
078e95a1
JA
41VULKAN_LIBS := vulkan.exynos9610.so
42
43VULKAN_32_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib/hw/,$(VULKAN_LIBS))
44$(VULKAN_32_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
45 @echo "Copy Vulkan lib: $@"
46 @mkdir -p $(dir $@)
47 @rm -rf $@
48 $(hide) cp $(TARGET_OUT_VENDOR)/lib/egl/libGLES_mali.so $@
49
50VULKAN_64_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib64/hw/,$(VULKAN_LIBS))
51$(VULKAN_64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
52 @echo "Copy Vulkan lib: $@"
53 @mkdir -p $(dir $@)
54 @rm -rf $@
55 $(hide) cp $(TARGET_OUT_VENDOR)/lib64/egl/libGLES_mali.so $@
56
57ALL_DEFAULT_INSTALLED_MODULES += $(EGL_32_SYMLINKS) $(EGL_64_SYMLINKS) $(VULKAN_32_SYMLINKS) $(VULKAN_64_SYMLINKS)
15eb9473
JA
58
59endif