1*4d7e907cSAndroid Build Coastguard Worker// Copyright (C) 2018 The Android Open Source Project 2*4d7e907cSAndroid Build Coastguard Worker// 3*4d7e907cSAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*4d7e907cSAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*4d7e907cSAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*4d7e907cSAndroid Build Coastguard Worker// 7*4d7e907cSAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*4d7e907cSAndroid Build Coastguard Worker// 9*4d7e907cSAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*4d7e907cSAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*4d7e907cSAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*4d7e907cSAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*4d7e907cSAndroid Build Coastguard Worker// limitations under the License. 14*4d7e907cSAndroid Build Coastguard Worker 15*4d7e907cSAndroid Build Coastguard Workerpackage { 16*4d7e907cSAndroid Build Coastguard Worker // See: http://go/android-license-faq 17*4d7e907cSAndroid Build Coastguard Worker // A large-scale-change added 'default_applicable_licenses' to import 18*4d7e907cSAndroid Build Coastguard Worker // all of the 'license_kinds' from "hardware_interfaces_license" 19*4d7e907cSAndroid Build Coastguard Worker // to get the below license kinds: 20*4d7e907cSAndroid Build Coastguard Worker // SPDX-license-identifier-Apache-2.0 21*4d7e907cSAndroid Build Coastguard Worker default_applicable_licenses: ["hardware_interfaces_license"], 22*4d7e907cSAndroid Build Coastguard Worker} 23*4d7e907cSAndroid Build Coastguard Worker 24*4d7e907cSAndroid Build Coastguard Worker// Device framework compatibility matrix (common to all FCM versions) 25*4d7e907cSAndroid Build Coastguard Worker// Reference: https://source.android.com/docs/core/architecture/vintf/comp-matrices 26*4d7e907cSAndroid Build Coastguard Workervintf_compatibility_matrix { 27*4d7e907cSAndroid Build Coastguard Worker name: "framework_compatibility_matrix.device.xml", 28*4d7e907cSAndroid Build Coastguard Worker stem: "compatibility_matrix.device.xml", 29*4d7e907cSAndroid Build Coastguard Worker type: "device_fcm", 30*4d7e907cSAndroid Build Coastguard Worker} 31*4d7e907cSAndroid Build Coastguard Worker 32*4d7e907cSAndroid Build Coastguard Worker// Phony target that installs all system compatibility matrix files 33*4d7e907cSAndroid Build Coastguard WorkerSYSTEM_MATRIX_DEPS = [ 34*4d7e907cSAndroid Build Coastguard Worker "framework_compatibility_matrix.5.xml", 35*4d7e907cSAndroid Build Coastguard Worker "framework_compatibility_matrix.6.xml", 36*4d7e907cSAndroid Build Coastguard Worker "framework_compatibility_matrix.7.xml", 37*4d7e907cSAndroid Build Coastguard Worker "framework_compatibility_matrix.8.xml", 38*4d7e907cSAndroid Build Coastguard Worker "framework_compatibility_matrix.202404.xml", 39*4d7e907cSAndroid Build Coastguard Worker "framework_compatibility_matrix.device.xml", 40*4d7e907cSAndroid Build Coastguard Worker] 41*4d7e907cSAndroid Build Coastguard Worker 42*4d7e907cSAndroid Build Coastguard Workerphony { 43*4d7e907cSAndroid Build Coastguard Worker name: "system_compatibility_matrix.xml", 44*4d7e907cSAndroid Build Coastguard Worker required: SYSTEM_MATRIX_DEPS, 45*4d7e907cSAndroid Build Coastguard Worker product_variables: { 46*4d7e907cSAndroid Build Coastguard Worker release_aidl_use_unfrozen: { 47*4d7e907cSAndroid Build Coastguard Worker required: [ 48*4d7e907cSAndroid Build Coastguard Worker "framework_compatibility_matrix.202504.xml", 49*4d7e907cSAndroid Build Coastguard Worker ], 50*4d7e907cSAndroid Build Coastguard Worker }, 51*4d7e907cSAndroid Build Coastguard Worker }, 52*4d7e907cSAndroid Build Coastguard Worker} 53*4d7e907cSAndroid Build Coastguard Worker 54*4d7e907cSAndroid Build Coastguard Worker// Product Compatibility Matrix 55*4d7e907cSAndroid Build Coastguard Workervintf_compatibility_matrix { 56*4d7e907cSAndroid Build Coastguard Worker name: "product_compatibility_matrix.xml", 57*4d7e907cSAndroid Build Coastguard Worker stem: "compatibility_matrix.xml", 58*4d7e907cSAndroid Build Coastguard Worker product_specific: true, 59*4d7e907cSAndroid Build Coastguard Worker type: "product_fcm", 60*4d7e907cSAndroid Build Coastguard Worker} 61*4d7e907cSAndroid Build Coastguard Worker 62*4d7e907cSAndroid Build Coastguard Worker// Phony target that installs all framework compatibility matrix files (system + product) 63*4d7e907cSAndroid Build Coastguard WorkerFRAMEWORK_MATRIX_DEPS = SYSTEM_MATRIX_DEPS + ["product_compatibility_matrix.xml"] 64*4d7e907cSAndroid Build Coastguard Worker 65*4d7e907cSAndroid Build Coastguard Workerphony { 66*4d7e907cSAndroid Build Coastguard Worker name: "framework_compatibility_matrix.xml", 67*4d7e907cSAndroid Build Coastguard Worker required: FRAMEWORK_MATRIX_DEPS, 68*4d7e907cSAndroid Build Coastguard Worker product_variables: { 69*4d7e907cSAndroid Build Coastguard Worker release_aidl_use_unfrozen: { 70*4d7e907cSAndroid Build Coastguard Worker required: [ 71*4d7e907cSAndroid Build Coastguard Worker "framework_compatibility_matrix.202504.xml", 72*4d7e907cSAndroid Build Coastguard Worker ], 73*4d7e907cSAndroid Build Coastguard Worker }, 74*4d7e907cSAndroid Build Coastguard Worker }, 75*4d7e907cSAndroid Build Coastguard Worker} 76*4d7e907cSAndroid Build Coastguard Worker 77*4d7e907cSAndroid Build Coastguard Worker//////////////////////////////////////////// 78*4d7e907cSAndroid Build Coastguard Worker// AUTO GENERATED MODULES 79*4d7e907cSAndroid Build Coastguard Worker// DO NOT ADD MORE MODULES BELOW THIS LINE 80*4d7e907cSAndroid Build Coastguard Worker//////////////////////////////////////////// 81*4d7e907cSAndroid Build Coastguard Worker 82*4d7e907cSAndroid Build Coastguard Worker// System compatibility matrices 83*4d7e907cSAndroid Build Coastguard Workervintf_compatibility_matrix { 84*4d7e907cSAndroid Build Coastguard Worker name: "framework_compatibility_matrix.5.xml", 85*4d7e907cSAndroid Build Coastguard Worker stem: "compatibility_matrix.5.xml", 86*4d7e907cSAndroid Build Coastguard Worker srcs: [ 87*4d7e907cSAndroid Build Coastguard Worker "compatibility_matrix.5.xml", 88*4d7e907cSAndroid Build Coastguard Worker ], 89*4d7e907cSAndroid Build Coastguard Worker kernel_configs: [ 90*4d7e907cSAndroid Build Coastguard Worker "kernel_config_r_4.14", 91*4d7e907cSAndroid Build Coastguard Worker "kernel_config_r_4.19", 92*4d7e907cSAndroid Build Coastguard Worker "kernel_config_r_5.4", 93*4d7e907cSAndroid Build Coastguard Worker ], 94*4d7e907cSAndroid Build Coastguard Worker} 95*4d7e907cSAndroid Build Coastguard Worker 96*4d7e907cSAndroid Build Coastguard Workervintf_compatibility_matrix { 97*4d7e907cSAndroid Build Coastguard Worker name: "framework_compatibility_matrix.6.xml", 98*4d7e907cSAndroid Build Coastguard Worker stem: "compatibility_matrix.6.xml", 99*4d7e907cSAndroid Build Coastguard Worker srcs: [ 100*4d7e907cSAndroid Build Coastguard Worker "compatibility_matrix.6.xml", 101*4d7e907cSAndroid Build Coastguard Worker ], 102*4d7e907cSAndroid Build Coastguard Worker kernel_configs: [ 103*4d7e907cSAndroid Build Coastguard Worker "kernel_config_s_4.19", 104*4d7e907cSAndroid Build Coastguard Worker "kernel_config_s_5.4", 105*4d7e907cSAndroid Build Coastguard Worker "kernel_config_s_5.10", 106*4d7e907cSAndroid Build Coastguard Worker ], 107*4d7e907cSAndroid Build Coastguard Worker} 108*4d7e907cSAndroid Build Coastguard Worker 109*4d7e907cSAndroid Build Coastguard Workervintf_compatibility_matrix { 110*4d7e907cSAndroid Build Coastguard Worker name: "framework_compatibility_matrix.7.xml", 111*4d7e907cSAndroid Build Coastguard Worker stem: "compatibility_matrix.7.xml", 112*4d7e907cSAndroid Build Coastguard Worker srcs: [ 113*4d7e907cSAndroid Build Coastguard Worker "compatibility_matrix.7.xml", 114*4d7e907cSAndroid Build Coastguard Worker ], 115*4d7e907cSAndroid Build Coastguard Worker kernel_configs: [ 116*4d7e907cSAndroid Build Coastguard Worker "kernel_config_t_5.10", 117*4d7e907cSAndroid Build Coastguard Worker "kernel_config_t_5.15", 118*4d7e907cSAndroid Build Coastguard Worker ], 119*4d7e907cSAndroid Build Coastguard Worker} 120*4d7e907cSAndroid Build Coastguard Worker 121*4d7e907cSAndroid Build Coastguard Workervintf_compatibility_matrix { 122*4d7e907cSAndroid Build Coastguard Worker name: "framework_compatibility_matrix.8.xml", 123*4d7e907cSAndroid Build Coastguard Worker stem: "compatibility_matrix.8.xml", 124*4d7e907cSAndroid Build Coastguard Worker srcs: [ 125*4d7e907cSAndroid Build Coastguard Worker "compatibility_matrix.8.xml", 126*4d7e907cSAndroid Build Coastguard Worker ], 127*4d7e907cSAndroid Build Coastguard Worker kernel_configs: [ 128*4d7e907cSAndroid Build Coastguard Worker "kernel_config_u_5.15", 129*4d7e907cSAndroid Build Coastguard Worker "kernel_config_u_6.1", 130*4d7e907cSAndroid Build Coastguard Worker ], 131*4d7e907cSAndroid Build Coastguard Worker} 132*4d7e907cSAndroid Build Coastguard Worker 133*4d7e907cSAndroid Build Coastguard Workervintf_compatibility_matrix { 134*4d7e907cSAndroid Build Coastguard Worker name: "framework_compatibility_matrix.202404.xml", 135*4d7e907cSAndroid Build Coastguard Worker stem: "compatibility_matrix.202404.xml", 136*4d7e907cSAndroid Build Coastguard Worker srcs: [ 137*4d7e907cSAndroid Build Coastguard Worker "compatibility_matrix.202404.xml", 138*4d7e907cSAndroid Build Coastguard Worker ], 139*4d7e907cSAndroid Build Coastguard Worker kernel_configs: [ 140*4d7e907cSAndroid Build Coastguard Worker "kernel_config_v_6.1", 141*4d7e907cSAndroid Build Coastguard Worker "kernel_config_v_6.6", 142*4d7e907cSAndroid Build Coastguard Worker ], 143*4d7e907cSAndroid Build Coastguard Worker} 144*4d7e907cSAndroid Build Coastguard Worker 145*4d7e907cSAndroid Build Coastguard Workervintf_compatibility_matrix { 146*4d7e907cSAndroid Build Coastguard Worker name: "framework_compatibility_matrix.202504.xml", 147*4d7e907cSAndroid Build Coastguard Worker stem: "compatibility_matrix.202504.xml", 148*4d7e907cSAndroid Build Coastguard Worker srcs: ["compatibility_matrix.202504.xml"], 149*4d7e907cSAndroid Build Coastguard Worker kernel_configs: [ 150*4d7e907cSAndroid Build Coastguard Worker "kernel_config_w_6.12", 151*4d7e907cSAndroid Build Coastguard Worker ], 152*4d7e907cSAndroid Build Coastguard Worker} 153