Nikita Ioffe | a2af1e4 | 2024-02-14 18:13:47 +0000 | [diff] [blame] | 1 | // Copyright (C) 2024 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 | |
| 15 | package { |
| 16 | default_applicable_licenses: ["microdroid_kernel_prebuilts_license"], |
| 17 | } |
| 18 | |
| 19 | // See: http://go/android-license-faq |
| 20 | license { |
| 21 | name: "microdroid_kernel_prebuilts_license", |
| 22 | visibility: [":__subpackages__"], |
| 23 | license_kinds: [ |
| 24 | "SPDX-license-identifier-GPL-2.0-only", |
| 25 | ], |
| 26 | // large-scale-change unable to identify any license_text files |
| 27 | } |
| 28 | |
Inseob Kim | 812497f | 2024-07-25 17:08:28 +0900 | [diff] [blame] | 29 | filegroup { |
Nikita Ioffe | a2af1e4 | 2024-02-14 18:13:47 +0000 | [diff] [blame] | 30 | name: "microdroid_kernel_prebuilt-arm64", |
| 31 | // Below are properties that are conditionally set depending on value of build flags. |
Inseob Kim | 812497f | 2024-07-25 17:08:28 +0900 | [diff] [blame] | 32 | srcs: select(release_flag("RELEASE_AVF_MICRODROID_KERNEL_VERSION"), { |
Inseob Kim | 812497f | 2024-07-25 17:08:28 +0900 | [diff] [blame] | 33 | "android15_66": ["android15-6.6/arm64/kernel-6.6"], |
Nikita Ioffe | 9a9fea7 | 2024-12-13 13:36:56 +0000 | [diff] [blame] | 34 | "android16_612": ["android16-6.12/arm64/kernel-6.12"], |
Nikita Ioffe | e6028be | 2024-10-25 14:03:36 +0000 | [diff] [blame] | 35 | default: [], |
Inseob Kim | 812497f | 2024-07-25 17:08:28 +0900 | [diff] [blame] | 36 | }), |
Nikita Ioffe | a2af1e4 | 2024-02-14 18:13:47 +0000 | [diff] [blame] | 37 | } |
| 38 | |
Inseob Kim | 812497f | 2024-07-25 17:08:28 +0900 | [diff] [blame] | 39 | filegroup { |
Nikita Ioffe | a2af1e4 | 2024-02-14 18:13:47 +0000 | [diff] [blame] | 40 | name: "microdroid_kernel_prebuilt-x86_64", |
| 41 | // Below are properties that are conditionally set depending on value of build flags. |
Inseob Kim | 812497f | 2024-07-25 17:08:28 +0900 | [diff] [blame] | 42 | srcs: select(release_flag("RELEASE_AVF_MICRODROID_KERNEL_VERSION"), { |
Inseob Kim | 812497f | 2024-07-25 17:08:28 +0900 | [diff] [blame] | 43 | "android15_66": ["android15-6.6/x86_64/kernel-6.6"], |
Nikita Ioffe | 9a9fea7 | 2024-12-13 13:36:56 +0000 | [diff] [blame] | 44 | "android16_612": ["android16-6.12/x86_64/kernel-6.12"], |
Nikita Ioffe | e6028be | 2024-10-25 14:03:36 +0000 | [diff] [blame] | 45 | default: [], |
Inseob Kim | 812497f | 2024-07-25 17:08:28 +0900 | [diff] [blame] | 46 | }), |
Nikita Ioffe | a2af1e4 | 2024-02-14 18:13:47 +0000 | [diff] [blame] | 47 | } |
Nikita Ioffe | f49350e | 2024-11-01 16:11:48 +0000 | [diff] [blame] | 48 | |
| 49 | filegroup { |
| 50 | name: "microdroid_kernel_16k_prebuilt-arm64", |
| 51 | // Below are properties that are conditionally set depending on value of build flags. |
| 52 | srcs: select(release_flag("RELEASE_AVF_MICRODROID_KERNEL_VERSION"), { |
| 53 | "android15_66": ["android15-6.6/arm64/16k/kernel-6.6"], |
Nikita Ioffe | 9a9fea7 | 2024-12-13 13:36:56 +0000 | [diff] [blame] | 54 | "android16_612": ["android16-6.12/arm64/16k/kernel-6.12"], |
Nikita Ioffe | f49350e | 2024-11-01 16:11:48 +0000 | [diff] [blame] | 55 | default: [], |
| 56 | }), |
| 57 | } |