Yifan Hong | 0cd10dd | 2018-10-12 13:08:52 -0700 | [diff] [blame] | 1 | // Copyright (C) 2018 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 22 | } |
| 23 | |
Justin Yun | 160bfcb | 2024-10-13 19:06:11 +0900 | [diff] [blame] | 24 | // Device framework compatibility matrix (common to all FCM versions) |
| 25 | // Reference: https://source.android.com/docs/core/architecture/vintf/comp-matrices |
| 26 | vintf_compatibility_matrix { |
| 27 | name: "framework_compatibility_matrix.device.xml", |
| 28 | stem: "compatibility_matrix.device.xml", |
| 29 | type: "device_fcm", |
| 30 | } |
| 31 | |
| 32 | // Phony target that installs all system compatibility matrix files |
| 33 | SYSTEM_MATRIX_DEPS = [ |
| 34 | "framework_compatibility_matrix.5.xml", |
| 35 | "framework_compatibility_matrix.6.xml", |
| 36 | "framework_compatibility_matrix.7.xml", |
| 37 | "framework_compatibility_matrix.8.xml", |
| 38 | "framework_compatibility_matrix.202404.xml", |
Devin Moore | f386af0 | 2025-01-16 20:59:57 +0000 | [diff] [blame] | 39 | "framework_compatibility_matrix.202504.xml", |
Justin Yun | 160bfcb | 2024-10-13 19:06:11 +0900 | [diff] [blame] | 40 | "framework_compatibility_matrix.device.xml", |
| 41 | ] |
| 42 | |
| 43 | phony { |
| 44 | name: "system_compatibility_matrix.xml", |
| 45 | required: SYSTEM_MATRIX_DEPS, |
| 46 | product_variables: { |
| 47 | release_aidl_use_unfrozen: { |
| 48 | required: [ |
Devin Moore | a609d8d | 2025-01-13 18:45:06 +0000 | [diff] [blame] | 49 | "framework_compatibility_matrix.202604.xml", |
Justin Yun | 160bfcb | 2024-10-13 19:06:11 +0900 | [diff] [blame] | 50 | ], |
| 51 | }, |
| 52 | }, |
| 53 | } |
| 54 | |
| 55 | // Product Compatibility Matrix |
| 56 | vintf_compatibility_matrix { |
| 57 | name: "product_compatibility_matrix.xml", |
| 58 | stem: "compatibility_matrix.xml", |
| 59 | product_specific: true, |
| 60 | type: "product_fcm", |
| 61 | } |
| 62 | |
| 63 | // Phony target that installs all framework compatibility matrix files (system + product) |
| 64 | FRAMEWORK_MATRIX_DEPS = SYSTEM_MATRIX_DEPS + ["product_compatibility_matrix.xml"] |
| 65 | |
| 66 | phony { |
| 67 | name: "framework_compatibility_matrix.xml", |
| 68 | required: FRAMEWORK_MATRIX_DEPS, |
| 69 | product_variables: { |
| 70 | release_aidl_use_unfrozen: { |
| 71 | required: [ |
Devin Moore | a609d8d | 2025-01-13 18:45:06 +0000 | [diff] [blame] | 72 | "framework_compatibility_matrix.202604.xml", |
Justin Yun | 160bfcb | 2024-10-13 19:06:11 +0900 | [diff] [blame] | 73 | ], |
| 74 | }, |
| 75 | }, |
| 76 | } |
| 77 | |
| 78 | //////////////////////////////////////////// |
| 79 | // AUTO GENERATED MODULES |
| 80 | // DO NOT ADD MORE MODULES BELOW THIS LINE |
| 81 | //////////////////////////////////////////// |
| 82 | |
| 83 | // System compatibility matrices |
Yifan Hong | 0cd10dd | 2018-10-12 13:08:52 -0700 | [diff] [blame] | 84 | vintf_compatibility_matrix { |
Steven Moreland | 951fce0 | 2020-03-25 14:59:05 -0700 | [diff] [blame] | 85 | name: "framework_compatibility_matrix.5.xml", |
| 86 | stem: "compatibility_matrix.5.xml", |
Yifan Hong | 5ec2206 | 2019-04-23 12:05:27 -0700 | [diff] [blame] | 87 | srcs: [ |
Steven Moreland | 951fce0 | 2020-03-25 14:59:05 -0700 | [diff] [blame] | 88 | "compatibility_matrix.5.xml", |
Yifan Hong | 5ec2206 | 2019-04-23 12:05:27 -0700 | [diff] [blame] | 89 | ], |
| 90 | kernel_configs: [ |
Yifan Hong | 98b9495 | 2020-03-19 15:53:08 -0700 | [diff] [blame] | 91 | "kernel_config_r_5.4", |
Steven Moreland | 8a8f0d7 | 2020-03-25 15:14:21 -0700 | [diff] [blame] | 92 | ], |
Yifan Hong | 5ec2206 | 2019-04-23 12:05:27 -0700 | [diff] [blame] | 93 | } |
Steven Moreland | 46aa366 | 2020-03-25 15:16:45 -0700 | [diff] [blame] | 94 | |
| 95 | vintf_compatibility_matrix { |
Steven Moreland | be6a797 | 2021-05-20 23:51:38 +0000 | [diff] [blame] | 96 | name: "framework_compatibility_matrix.6.xml", |
| 97 | stem: "compatibility_matrix.6.xml", |
| 98 | srcs: [ |
| 99 | "compatibility_matrix.6.xml", |
| 100 | ], |
| 101 | kernel_configs: [ |
| 102 | "kernel_config_s_4.19", |
| 103 | "kernel_config_s_5.4", |
| 104 | "kernel_config_s_5.10", |
| 105 | ], |
| 106 | } |
| 107 | |
| 108 | vintf_compatibility_matrix { |
Steven Moreland | d901ed0 | 2022-04-23 00:10:33 +0000 | [diff] [blame] | 109 | name: "framework_compatibility_matrix.7.xml", |
| 110 | stem: "compatibility_matrix.7.xml", |
| 111 | srcs: [ |
| 112 | "compatibility_matrix.7.xml", |
| 113 | ], |
| 114 | kernel_configs: [ |
Yifan Hong | 2e1716a | 2022-04-25 11:34:52 -0700 | [diff] [blame] | 115 | "kernel_config_t_5.10", |
| 116 | "kernel_config_t_5.15", |
Steven Moreland | d901ed0 | 2022-04-23 00:10:33 +0000 | [diff] [blame] | 117 | ], |
| 118 | } |
| 119 | |
| 120 | vintf_compatibility_matrix { |
Devin Moore | d89a33b | 2023-01-25 22:09:40 +0000 | [diff] [blame] | 121 | name: "framework_compatibility_matrix.8.xml", |
| 122 | stem: "compatibility_matrix.8.xml", |
Steven Moreland | 46aa366 | 2020-03-25 15:16:45 -0700 | [diff] [blame] | 123 | srcs: [ |
Devin Moore | d89a33b | 2023-01-25 22:09:40 +0000 | [diff] [blame] | 124 | "compatibility_matrix.8.xml", |
Steven Moreland | 46aa366 | 2020-03-25 15:16:45 -0700 | [diff] [blame] | 125 | ], |
| 126 | kernel_configs: [ |
Yifan Hong | 80aa7b7 | 2023-04-11 11:17:33 -0700 | [diff] [blame] | 127 | "kernel_config_u_5.15", |
| 128 | "kernel_config_u_6.1", |
Steven Moreland | 46aa366 | 2020-03-25 15:16:45 -0700 | [diff] [blame] | 129 | ], |
| 130 | } |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 131 | |
| 132 | vintf_compatibility_matrix { |
Devin Moore | 0e8347e | 2024-01-12 17:45:58 +0000 | [diff] [blame] | 133 | name: "framework_compatibility_matrix.202404.xml", |
| 134 | stem: "compatibility_matrix.202404.xml", |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 135 | srcs: [ |
Devin Moore | 0e8347e | 2024-01-12 17:45:58 +0000 | [diff] [blame] | 136 | "compatibility_matrix.202404.xml", |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 137 | ], |
| 138 | kernel_configs: [ |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 139 | "kernel_config_v_6.1", |
Will McVicker | 01c01c1 | 2023-11-30 18:13:07 -0800 | [diff] [blame] | 140 | "kernel_config_v_6.6", |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 141 | ], |
| 142 | } |
Devin Moore | e3a1202 | 2024-03-05 21:34:13 +0000 | [diff] [blame] | 143 | |
| 144 | vintf_compatibility_matrix { |
| 145 | name: "framework_compatibility_matrix.202504.xml", |
| 146 | stem: "compatibility_matrix.202504.xml", |
| 147 | srcs: ["compatibility_matrix.202504.xml"], |
| 148 | kernel_configs: [ |
Devin Moore | 9434f19 | 2024-12-17 17:52:31 +0000 | [diff] [blame] | 149 | "kernel_config_b_6.12", |
Devin Moore | e3a1202 | 2024-03-05 21:34:13 +0000 | [diff] [blame] | 150 | ], |
Bill Yang | b7995ac | 2024-09-05 09:22:09 +0000 | [diff] [blame] | 151 | } |
Devin Moore | a609d8d | 2025-01-13 18:45:06 +0000 | [diff] [blame] | 152 | |
| 153 | vintf_compatibility_matrix { |
| 154 | name: "framework_compatibility_matrix.202604.xml", |
| 155 | stem: "compatibility_matrix.202604.xml", |
| 156 | srcs: ["compatibility_matrix.202604.xml"], |
| 157 | kernel_configs: ["kernel_config_c_6.12"], |
| 158 | } |