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 | |
Yifan Hong | 0cd10dd | 2018-10-12 13:08:52 -0700 | [diff] [blame] | 24 | vintf_compatibility_matrix { |
Steven Moreland | 951fce0 | 2020-03-25 14:59:05 -0700 | [diff] [blame] | 25 | name: "framework_compatibility_matrix.5.xml", |
| 26 | stem: "compatibility_matrix.5.xml", |
Yifan Hong | 5ec2206 | 2019-04-23 12:05:27 -0700 | [diff] [blame] | 27 | srcs: [ |
Steven Moreland | 951fce0 | 2020-03-25 14:59:05 -0700 | [diff] [blame] | 28 | "compatibility_matrix.5.xml", |
Yifan Hong | 5ec2206 | 2019-04-23 12:05:27 -0700 | [diff] [blame] | 29 | ], |
| 30 | kernel_configs: [ |
Yifan Hong | 98b9495 | 2020-03-19 15:53:08 -0700 | [diff] [blame] | 31 | "kernel_config_r_4.14", |
| 32 | "kernel_config_r_4.19", |
| 33 | "kernel_config_r_5.4", |
Steven Moreland | 8a8f0d7 | 2020-03-25 15:14:21 -0700 | [diff] [blame] | 34 | ], |
Yifan Hong | 5ec2206 | 2019-04-23 12:05:27 -0700 | [diff] [blame] | 35 | } |
Steven Moreland | 46aa366 | 2020-03-25 15:16:45 -0700 | [diff] [blame] | 36 | |
| 37 | vintf_compatibility_matrix { |
Steven Moreland | be6a797 | 2021-05-20 23:51:38 +0000 | [diff] [blame] | 38 | name: "framework_compatibility_matrix.6.xml", |
| 39 | stem: "compatibility_matrix.6.xml", |
| 40 | srcs: [ |
| 41 | "compatibility_matrix.6.xml", |
| 42 | ], |
| 43 | kernel_configs: [ |
| 44 | "kernel_config_s_4.19", |
| 45 | "kernel_config_s_5.4", |
| 46 | "kernel_config_s_5.10", |
| 47 | ], |
| 48 | } |
| 49 | |
| 50 | vintf_compatibility_matrix { |
Steven Moreland | d901ed0 | 2022-04-23 00:10:33 +0000 | [diff] [blame] | 51 | name: "framework_compatibility_matrix.7.xml", |
| 52 | stem: "compatibility_matrix.7.xml", |
| 53 | srcs: [ |
| 54 | "compatibility_matrix.7.xml", |
| 55 | ], |
| 56 | kernel_configs: [ |
Yifan Hong | 2e1716a | 2022-04-25 11:34:52 -0700 | [diff] [blame] | 57 | "kernel_config_t_5.10", |
| 58 | "kernel_config_t_5.15", |
Steven Moreland | d901ed0 | 2022-04-23 00:10:33 +0000 | [diff] [blame] | 59 | ], |
| 60 | } |
| 61 | |
| 62 | vintf_compatibility_matrix { |
Devin Moore | d89a33b | 2023-01-25 22:09:40 +0000 | [diff] [blame] | 63 | name: "framework_compatibility_matrix.8.xml", |
| 64 | stem: "compatibility_matrix.8.xml", |
Steven Moreland | 46aa366 | 2020-03-25 15:16:45 -0700 | [diff] [blame] | 65 | srcs: [ |
Devin Moore | d89a33b | 2023-01-25 22:09:40 +0000 | [diff] [blame] | 66 | "compatibility_matrix.8.xml", |
Steven Moreland | 46aa366 | 2020-03-25 15:16:45 -0700 | [diff] [blame] | 67 | ], |
| 68 | kernel_configs: [ |
Yifan Hong | 80aa7b7 | 2023-04-11 11:17:33 -0700 | [diff] [blame] | 69 | "kernel_config_u_5.15", |
| 70 | "kernel_config_u_6.1", |
Steven Moreland | 46aa366 | 2020-03-25 15:16:45 -0700 | [diff] [blame] | 71 | ], |
| 72 | } |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 73 | |
| 74 | vintf_compatibility_matrix { |
Devin Moore | 0e8347e | 2024-01-12 17:45:58 +0000 | [diff] [blame] | 75 | name: "framework_compatibility_matrix.202404.xml", |
| 76 | stem: "compatibility_matrix.202404.xml", |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 77 | srcs: [ |
Devin Moore | 0e8347e | 2024-01-12 17:45:58 +0000 | [diff] [blame] | 78 | "compatibility_matrix.202404.xml", |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 79 | ], |
| 80 | kernel_configs: [ |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 81 | "kernel_config_v_6.1", |
Will McVicker | 01c01c1 | 2023-11-30 18:13:07 -0800 | [diff] [blame] | 82 | "kernel_config_v_6.6", |
Yifan Hong | ffcf238 | 2023-04-12 13:45:59 -0700 | [diff] [blame] | 83 | ], |
| 84 | } |
Devin Moore | e3a1202 | 2024-03-05 21:34:13 +0000 | [diff] [blame] | 85 | |
| 86 | vintf_compatibility_matrix { |
| 87 | name: "framework_compatibility_matrix.202504.xml", |
| 88 | stem: "compatibility_matrix.202504.xml", |
| 89 | srcs: ["compatibility_matrix.202504.xml"], |
| 90 | kernel_configs: [ |
| 91 | "kernel_config_w_6.next", |
| 92 | ], |
| 93 | |
| 94 | } |
yangbill | eb5b983 | 2024-05-24 10:44:52 +0000 | [diff] [blame] | 95 | |
| 96 | // Phony target that installs all system compatibility matrix files |
| 97 | SYSTEM_MATRIX_DEPS = [ |
| 98 | "framework_compatibility_matrix.5.xml", |
| 99 | "framework_compatibility_matrix.6.xml", |
| 100 | "framework_compatibility_matrix.7.xml", |
| 101 | "framework_compatibility_matrix.8.xml", |
| 102 | "framework_compatibility_matrix.202404.xml", |
| 103 | "framework_compatibility_matrix.device.xml", |
| 104 | ] |
| 105 | |
| 106 | phony { |
| 107 | name: "system_compatibility_matrix.xml", |
| 108 | required: SYSTEM_MATRIX_DEPS, |
| 109 | product_variables: { |
| 110 | release_aidl_use_unfrozen: { |
| 111 | required: [ |
| 112 | "framework_compatibility_matrix.202504.xml", |
| 113 | ], |
| 114 | }, |
| 115 | }, |
| 116 | } |