blob: 49985896dada514fb97d70cc2fcd00f1f33c17c8 [file] [log] [blame]
Yifan Hong0cd10dd2018-10-12 13:08:52 -07001// 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 Badourb224b362021-02-12 20:13:01 -080015package {
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
Yifan Hong0cd10dd2018-10-12 13:08:52 -070024vintf_compatibility_matrix {
Steven Moreland951fce02020-03-25 14:59:05 -070025 name: "framework_compatibility_matrix.5.xml",
26 stem: "compatibility_matrix.5.xml",
Yifan Hong5ec22062019-04-23 12:05:27 -070027 srcs: [
Steven Moreland951fce02020-03-25 14:59:05 -070028 "compatibility_matrix.5.xml",
Yifan Hong5ec22062019-04-23 12:05:27 -070029 ],
30 kernel_configs: [
Michael Bestas603fa772024-06-15 23:34:12 +030031 "kernel_config_p_4.4",
Michael Bestas6b5a74d2024-06-14 03:51:47 +030032 "kernel_config_q_4.9",
Yifan Hong98b94952020-03-19 15:53:08 -070033 "kernel_config_r_4.14",
34 "kernel_config_r_4.19",
35 "kernel_config_r_5.4",
Steven Moreland8a8f0d72020-03-25 15:14:21 -070036 ],
Yifan Hong5ec22062019-04-23 12:05:27 -070037}
Steven Moreland46aa3662020-03-25 15:16:45 -070038
39vintf_compatibility_matrix {
Steven Morelandbe6a7972021-05-20 23:51:38 +000040 name: "framework_compatibility_matrix.6.xml",
41 stem: "compatibility_matrix.6.xml",
42 srcs: [
43 "compatibility_matrix.6.xml",
44 ],
45 kernel_configs: [
46 "kernel_config_s_4.19",
47 "kernel_config_s_5.4",
48 "kernel_config_s_5.10",
49 ],
50}
51
52vintf_compatibility_matrix {
Steven Morelandd901ed02022-04-23 00:10:33 +000053 name: "framework_compatibility_matrix.7.xml",
54 stem: "compatibility_matrix.7.xml",
55 srcs: [
56 "compatibility_matrix.7.xml",
57 ],
58 kernel_configs: [
Yifan Hong2e1716a2022-04-25 11:34:52 -070059 "kernel_config_t_5.10",
60 "kernel_config_t_5.15",
Steven Morelandd901ed02022-04-23 00:10:33 +000061 ],
62}
63
64vintf_compatibility_matrix {
Devin Moored89a33b2023-01-25 22:09:40 +000065 name: "framework_compatibility_matrix.8.xml",
66 stem: "compatibility_matrix.8.xml",
Steven Moreland46aa3662020-03-25 15:16:45 -070067 srcs: [
Devin Moored89a33b2023-01-25 22:09:40 +000068 "compatibility_matrix.8.xml",
Steven Moreland46aa3662020-03-25 15:16:45 -070069 ],
70 kernel_configs: [
Yifan Hong80aa7b72023-04-11 11:17:33 -070071 "kernel_config_u_5.15",
72 "kernel_config_u_6.1",
Steven Moreland46aa3662020-03-25 15:16:45 -070073 ],
74}
Yifan Hongffcf2382023-04-12 13:45:59 -070075
76vintf_compatibility_matrix {
Devin Moore0e8347e2024-01-12 17:45:58 +000077 name: "framework_compatibility_matrix.202404.xml",
78 stem: "compatibility_matrix.202404.xml",
Yifan Hongffcf2382023-04-12 13:45:59 -070079 srcs: [
Devin Moore0e8347e2024-01-12 17:45:58 +000080 "compatibility_matrix.202404.xml",
Yifan Hongffcf2382023-04-12 13:45:59 -070081 ],
82 kernel_configs: [
Yifan Hongffcf2382023-04-12 13:45:59 -070083 "kernel_config_v_6.1",
Will McVicker01c01c12023-11-30 18:13:07 -080084 "kernel_config_v_6.6",
Yifan Hongffcf2382023-04-12 13:45:59 -070085 ],
86}
Devin Mooree3a12022024-03-05 21:34:13 +000087
88vintf_compatibility_matrix {
89 name: "framework_compatibility_matrix.202504.xml",
90 stem: "compatibility_matrix.202504.xml",
91 srcs: ["compatibility_matrix.202504.xml"],
92 kernel_configs: [
93 "kernel_config_w_6.next",
94 ],
95
96}
yangbilleb5b9832024-05-24 10:44:52 +000097
Bill Yangb7995ac2024-09-05 09:22:09 +000098// Device framework compatibility matrix (common to all FCM versions)
99// Reference: https://source.android.com/docs/core/architecture/vintf/comp-matrices
100vintf_compatibility_matrix {
101 name: "framework_compatibility_matrix.device.xml",
102 stem: "compatibility_matrix.device.xml",
103 type: "device_fcm",
104}
105
yangbilleb5b9832024-05-24 10:44:52 +0000106// Phony target that installs all system compatibility matrix files
107SYSTEM_MATRIX_DEPS = [
108 "framework_compatibility_matrix.5.xml",
109 "framework_compatibility_matrix.6.xml",
110 "framework_compatibility_matrix.7.xml",
111 "framework_compatibility_matrix.8.xml",
112 "framework_compatibility_matrix.202404.xml",
113 "framework_compatibility_matrix.device.xml",
114]
115
116phony {
117 name: "system_compatibility_matrix.xml",
118 required: SYSTEM_MATRIX_DEPS,
119 product_variables: {
120 release_aidl_use_unfrozen: {
121 required: [
122 "framework_compatibility_matrix.202504.xml",
123 ],
124 },
125 },
126}
Bill Yangb7995ac2024-09-05 09:22:09 +0000127
128// Product Compatibility Matrix
129vintf_compatibility_matrix {
130 name: "product_compatibility_matrix.xml",
131 stem: "compatibility_matrix.xml",
132 product_specific: true,
133 type: "product_fcm",
134}
135
136// Phony target that installs all framework compatibility matrix files (system + product)
137FRAMEWORK_MATRIX_DEPS = SYSTEM_MATRIX_DEPS + ["product_compatibility_matrix.xml"]
138
139phony {
140 name: "framework_compatibility_matrix.xml",
141 required: FRAMEWORK_MATRIX_DEPS,
142 product_variables: {
143 release_aidl_use_unfrozen: {
144 required: [
145 "framework_compatibility_matrix.202504.xml",
146 ],
147 },
148 },
149}