mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 15:58:43 +00:00
Merge "Move modules in compatibility_matrices/Android.bp" into main
This commit is contained in:
@@ -21,6 +21,65 @@ package {
|
||||
default_applicable_licenses: ["hardware_interfaces_license"],
|
||||
}
|
||||
|
||||
// Device framework compatibility matrix (common to all FCM versions)
|
||||
// Reference: https://source.android.com/docs/core/architecture/vintf/comp-matrices
|
||||
vintf_compatibility_matrix {
|
||||
name: "framework_compatibility_matrix.device.xml",
|
||||
stem: "compatibility_matrix.device.xml",
|
||||
type: "device_fcm",
|
||||
}
|
||||
|
||||
// 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",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
// Product Compatibility Matrix
|
||||
vintf_compatibility_matrix {
|
||||
name: "product_compatibility_matrix.xml",
|
||||
stem: "compatibility_matrix.xml",
|
||||
product_specific: true,
|
||||
type: "product_fcm",
|
||||
}
|
||||
|
||||
// Phony target that installs all framework compatibility matrix files (system + product)
|
||||
FRAMEWORK_MATRIX_DEPS = SYSTEM_MATRIX_DEPS + ["product_compatibility_matrix.xml"]
|
||||
|
||||
phony {
|
||||
name: "framework_compatibility_matrix.xml",
|
||||
required: FRAMEWORK_MATRIX_DEPS,
|
||||
product_variables: {
|
||||
release_aidl_use_unfrozen: {
|
||||
required: [
|
||||
"framework_compatibility_matrix.202504.xml",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
////////////////////////////////////////////
|
||||
// AUTO GENERATED MODULES
|
||||
// DO NOT ADD MORE MODULES BELOW THIS LINE
|
||||
////////////////////////////////////////////
|
||||
|
||||
// System compatibility matrices
|
||||
vintf_compatibility_matrix {
|
||||
name: "framework_compatibility_matrix.5.xml",
|
||||
stem: "compatibility_matrix.5.xml",
|
||||
@@ -90,58 +149,4 @@ vintf_compatibility_matrix {
|
||||
kernel_configs: [
|
||||
"kernel_config_w_6.next",
|
||||
],
|
||||
|
||||
}
|
||||
|
||||
// Device framework compatibility matrix (common to all FCM versions)
|
||||
// Reference: https://source.android.com/docs/core/architecture/vintf/comp-matrices
|
||||
vintf_compatibility_matrix {
|
||||
name: "framework_compatibility_matrix.device.xml",
|
||||
stem: "compatibility_matrix.device.xml",
|
||||
type: "device_fcm",
|
||||
}
|
||||
|
||||
// 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",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
// Product Compatibility Matrix
|
||||
vintf_compatibility_matrix {
|
||||
name: "product_compatibility_matrix.xml",
|
||||
stem: "compatibility_matrix.xml",
|
||||
product_specific: true,
|
||||
type: "product_fcm",
|
||||
}
|
||||
|
||||
// Phony target that installs all framework compatibility matrix files (system + product)
|
||||
FRAMEWORK_MATRIX_DEPS = SYSTEM_MATRIX_DEPS + ["product_compatibility_matrix.xml"]
|
||||
|
||||
phony {
|
||||
name: "framework_compatibility_matrix.xml",
|
||||
required: FRAMEWORK_MATRIX_DEPS,
|
||||
product_variables: {
|
||||
release_aidl_use_unfrozen: {
|
||||
required: [
|
||||
"framework_compatibility_matrix.202504.xml",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user