Joey | ebb5f5f | 2019-04-23 22:37:58 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2017-2018 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
| 21 | |
| 22 | ifeq ($(shell test $(TARGET_SCREEN_WIDTH) -gt 1080; echo $$?),0) |
Michael Bestas | cf31e1b | 2022-04-10 18:59:55 +0300 | [diff] [blame^] | 23 | LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res_1440p |
Joey | ebb5f5f | 2019-04-23 22:37:58 +0200 | [diff] [blame] | 24 | else |
Michael Bestas | cf31e1b | 2022-04-10 18:59:55 +0300 | [diff] [blame^] | 25 | LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res_1080p |
Joey | ebb5f5f | 2019-04-23 22:37:58 +0200 | [diff] [blame] | 26 | endif |
| 27 | |
Joey | ebb5f5f | 2019-04-23 22:37:58 +0200 | [diff] [blame] | 28 | LOCAL_USE_AAPT2 := true |
| 29 | |
Joey | ebb5f5f | 2019-04-23 22:37:58 +0200 | [diff] [blame] | 30 | LOCAL_PACKAGE_NAME := Backgrounds |
| 31 | |
Michael Bestas | 44344d3 | 2020-12-17 16:21:15 +0200 | [diff] [blame] | 32 | LOCAL_PRODUCT_MODULE := true |
| 33 | |
Joey | ebb5f5f | 2019-04-23 22:37:58 +0200 | [diff] [blame] | 34 | LOCAL_AAPT_FLAGS := --auto-add-overlay |
| 35 | |
| 36 | LOCAL_SDK_VERSION := current |
| 37 | |
| 38 | include $(BUILD_PACKAGE) |