This commit is contained in:
shuixx
2025-07-14 03:15:10 +00:00
parent a2f63d21f0
commit 23979be87f
7 changed files with 11 additions and 11 deletions

View File

@@ -453,7 +453,7 @@ endif
# See envsetup.mk for a description of SCAN_EXCLUDE_DIRS
FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(SCAN_EXCLUDE_DIRS) .repo .git)
ifneq ($(MINUS_BUILD),)
ifneq ($(STRIX_BUILD),)
include vendor/strix/config/BoardConfigMinus.mk
endif
@@ -1299,7 +1299,7 @@ endif
SOONG_VARIABLES := $(SOONG_OUT_DIR)/soong.$(TARGET_PRODUCT)$(COVERAGE_SUFFIX).variables
SOONG_EXTRA_VARIABLES := $(SOONG_OUT_DIR)/soong.$(TARGET_PRODUCT)$(COVERAGE_SUFFIX).extra.variables
ifneq ($(MINUS_BUILD),)
ifneq ($(STRIX_BUILD),)
ifneq ($(wildcard device/lineage/sepolicy/common/sepolicy.mk),)
## We need to be sure the global selinux policies are included
## last, to avoid accidental resetting by device configs

View File

@@ -501,11 +501,11 @@ function lunch()
function _lunch_meat()
{
if (echo -n $1 | grep -q -e "^strix_") ; then
MINUS_BUILD=$(echo -n $1 | sed -e 's/^strix_//g')
STRIX_BUILD=$(echo -n $1 | sed -e 's/^strix_//g')
else
MINUS_BUILD=
STRIX_BUILD=
fi
export MINUS_BUILD
export STRIX_BUILD
local product=$1
local release=$2

View File

@@ -19,7 +19,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_product.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_product.mk)
# Default AOSP sounds
ifeq ($(MINUS_BUILD),)
ifeq ($(STRIX_BUILD),)
$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
endif
@@ -39,7 +39,7 @@ PRODUCT_PACKAGES += \
# Telephony:
# Provide a APN configuration to GSI product
ifeq ($(MINUS_BUILD),)
ifeq ($(STRIX_BUILD),)
PRODUCT_COPY_FILES += \
device/sample/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml
endif

View File

@@ -515,7 +515,7 @@ PRODUCT_PACKAGES_DEBUG := \
unwind_reg_info \
unwind_symbols \
ifeq ($(MINUS_BUILD),)
ifeq ($(STRIX_BUILD),)
PRODUCT_PACKAGES_DEBUG += \
su
endif

View File

@@ -45,7 +45,7 @@ PRODUCT_VENDOR_PROPERTIES := \
PRODUCT_LOCALES := en_US
# Get some sounds
ifeq ($(MINUS_BUILD),)
ifeq ($(STRIX_BUILD),)
$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
endif

View File

@@ -26,7 +26,7 @@ PRODUCT_VENDOR_PROPERTIES := \
PRODUCT_COPY_FILES := \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
ifeq ($(MINUS_BUILD),)
ifeq ($(STRIX_BUILD),)
PRODUCT_COPY_FILES += \
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
endif

View File

@@ -32,7 +32,7 @@ PRODUCT_PACKAGES += \
SettingsIntelligence \
frameworks-base-overlays
ifeq ($(MINUS_BUILD),)
ifeq ($(STRIX_BUILD),)
PRODUCT_PACKAGES += \
Camera2 \
LatinIME