1# 2# Copyright 2023, The Android Open Source 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 17# create skin related configuration files and symlinks 18# 19 20LOCAL_PATH := $(call my-dir) 21 22include $(CLEAR_VARS) 23LOCAL_MODULE := GoldfishSkinConfig 24LOCAL_MODULE_TAGS := optional 25LOCAL_MODULE_CLASS := ETC 26LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/misc/ 27LOCAL_SRC_FILES := readme.txt 28LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 29LOCAL_LICENSE_CONDITIONS := notice 30 31# following is **needed**, as the framework only looks at vendor/etc/displayconfig 32# that may change in the future, such as V or later 33LOCAL_POST_INSTALL_CMD := ln -sf /data/system/displayconfig $(PRODUCT_OUT)/vendor/etc/displayconfig 34 35# following is not needed, but keep a note here, as the framework already 36# take /data/system/devicestate/ before accessing /vendor/etc/devicestate 37# LOCAL_POST_INSTALL_CMD += ln -sf /data/system/devicestate $(PRODUCT_OUT)/vendor/etc/devicestate 38 39include $(BUILD_PREBUILT) 40 41