strix
This commit is contained in:
@@ -453,7 +453,7 @@ endif
|
|||||||
# See envsetup.mk for a description of SCAN_EXCLUDE_DIRS
|
# See envsetup.mk for a description of SCAN_EXCLUDE_DIRS
|
||||||
FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(SCAN_EXCLUDE_DIRS) .repo .git)
|
FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(SCAN_EXCLUDE_DIRS) .repo .git)
|
||||||
|
|
||||||
ifneq ($(MINUS_BUILD),)
|
ifneq ($(STRIX_BUILD),)
|
||||||
include vendor/strix/config/BoardConfigMinus.mk
|
include vendor/strix/config/BoardConfigMinus.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -1299,7 +1299,7 @@ endif
|
|||||||
SOONG_VARIABLES := $(SOONG_OUT_DIR)/soong.$(TARGET_PRODUCT)$(COVERAGE_SUFFIX).variables
|
SOONG_VARIABLES := $(SOONG_OUT_DIR)/soong.$(TARGET_PRODUCT)$(COVERAGE_SUFFIX).variables
|
||||||
SOONG_EXTRA_VARIABLES := $(SOONG_OUT_DIR)/soong.$(TARGET_PRODUCT)$(COVERAGE_SUFFIX).extra.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),)
|
ifneq ($(wildcard device/lineage/sepolicy/common/sepolicy.mk),)
|
||||||
## We need to be sure the global selinux policies are included
|
## We need to be sure the global selinux policies are included
|
||||||
## last, to avoid accidental resetting by device configs
|
## last, to avoid accidental resetting by device configs
|
||||||
|
@@ -501,11 +501,11 @@ function lunch()
|
|||||||
function _lunch_meat()
|
function _lunch_meat()
|
||||||
{
|
{
|
||||||
if (echo -n $1 | grep -q -e "^strix_") ; then
|
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
|
else
|
||||||
MINUS_BUILD=
|
STRIX_BUILD=
|
||||||
fi
|
fi
|
||||||
export MINUS_BUILD
|
export STRIX_BUILD
|
||||||
|
|
||||||
local product=$1
|
local product=$1
|
||||||
local release=$2
|
local release=$2
|
||||||
|
@@ -19,7 +19,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_product.mk)
|
|||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_product.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_product.mk)
|
||||||
|
|
||||||
# Default AOSP sounds
|
# Default AOSP sounds
|
||||||
ifeq ($(MINUS_BUILD),)
|
ifeq ($(STRIX_BUILD),)
|
||||||
$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
|
$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ PRODUCT_PACKAGES += \
|
|||||||
|
|
||||||
# Telephony:
|
# Telephony:
|
||||||
# Provide a APN configuration to GSI product
|
# Provide a APN configuration to GSI product
|
||||||
ifeq ($(MINUS_BUILD),)
|
ifeq ($(STRIX_BUILD),)
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/sample/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml
|
device/sample/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml
|
||||||
endif
|
endif
|
||||||
|
@@ -515,7 +515,7 @@ PRODUCT_PACKAGES_DEBUG := \
|
|||||||
unwind_reg_info \
|
unwind_reg_info \
|
||||||
unwind_symbols \
|
unwind_symbols \
|
||||||
|
|
||||||
ifeq ($(MINUS_BUILD),)
|
ifeq ($(STRIX_BUILD),)
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
su
|
su
|
||||||
endif
|
endif
|
||||||
|
@@ -45,7 +45,7 @@ PRODUCT_VENDOR_PROPERTIES := \
|
|||||||
PRODUCT_LOCALES := en_US
|
PRODUCT_LOCALES := en_US
|
||||||
|
|
||||||
# Get some sounds
|
# Get some sounds
|
||||||
ifeq ($(MINUS_BUILD),)
|
ifeq ($(STRIX_BUILD),)
|
||||||
$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
|
$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@ PRODUCT_VENDOR_PROPERTIES := \
|
|||||||
PRODUCT_COPY_FILES := \
|
PRODUCT_COPY_FILES := \
|
||||||
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
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 += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
|
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
|
||||||
endif
|
endif
|
||||||
|
@@ -32,7 +32,7 @@ PRODUCT_PACKAGES += \
|
|||||||
SettingsIntelligence \
|
SettingsIntelligence \
|
||||||
frameworks-base-overlays
|
frameworks-base-overlays
|
||||||
|
|
||||||
ifeq ($(MINUS_BUILD),)
|
ifeq ($(STRIX_BUILD),)
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
Camera2 \
|
Camera2 \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
Reference in New Issue
Block a user