Files
Bruno Martins 1b4d8a2b03 fingerprint: Set defaults if no Z-order is set
Change-Id: If905bf143de7bd9232c83daa664d77067bec2aa6
2025-12-08 15:46:28 +00:00

21 lines
719 B
Plaintext

//
// Copyright (C) 2022-2025 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
cc_library_static {
name: "libudfps_extension.samsung",
srcs: ["UdfpsExtension.cpp"],
cflags: select(soong_config_variable("samsungUdfpsVars", "dim_layer_zorder"), {
any @ dim_layer_zorder: ["-DUDFPS_DIM_LAYER_ZORDER=" + dim_layer_zorder],
default: ["-DUDFPS_DIM_LAYER_ZORDER=0"],
}) + select(soong_config_variable("samsungUdfpsVars", "udfps_zorder"), {
any @ zorder: ["-DUDFPS_PRESSED_LAYER_ZORDER=" + zorder],
default: ["-DUDFPS_PRESSED_LAYER_ZORDER=0"],
}),
include_dirs: [
"frameworks/native/services/surfaceflinger/CompositionEngine/include",
],
}