Convert system_compatibility_matrix.xml to soong
Bug: 342336921 Test: m system_compatibility_matrix.xml Test: Modified build/release/flag_declarations/RELEASE_AIDL_USE_UNFROZEN.textproto \ m system_compatibility_matrix.xml Change-Id: I181c2054adb187332b3feb634e309a3e75425611
This commit is contained in:
parent
e2e4e54a0a
commit
eb5b983d01
2 changed files with 22 additions and 9 deletions
|
@ -92,3 +92,25 @@ vintf_compatibility_matrix {
|
|||
],
|
||||
|
||||
}
|
||||
|
||||
// Phony target that installs all system compatibility matrix files
|
||||
SYSTEM_MATRIX_DEPS = [
|
||||
"framework_compatibility_matrix.5.xml",
|
||||
"framework_compatibility_matrix.6.xml",
|
||||
"framework_compatibility_matrix.7.xml",
|
||||
"framework_compatibility_matrix.8.xml",
|
||||
"framework_compatibility_matrix.202404.xml",
|
||||
"framework_compatibility_matrix.device.xml",
|
||||
]
|
||||
|
||||
phony {
|
||||
name: "system_compatibility_matrix.xml",
|
||||
required: SYSTEM_MATRIX_DEPS,
|
||||
product_variables: {
|
||||
release_aidl_use_unfrozen: {
|
||||
required: [
|
||||
"framework_compatibility_matrix.202504.xml",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -119,15 +119,6 @@ endif
|
|||
my_framework_matrix_deps += \
|
||||
$(my_system_matrix_deps)
|
||||
|
||||
# Phony target that installs all system compatibility matrix files
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := system_compatibility_matrix.xml
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE
|
||||
LOCAL_REQUIRED_MODULES := $(my_system_matrix_deps)
|
||||
include $(BUILD_PHONY_PACKAGE)
|
||||
|
||||
# Phony target that installs all framework compatibility matrix files (system + product)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := framework_compatibility_matrix.xml
|
||||
|
|
Loading…
Reference in a new issue