blob: cb46e38aebecd09e96b571e55ba8f95e0ffb014e [file] [log] [blame]
Nikita Ioffea2af1e42024-02-14 18:13:47 +00001// 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
15package {
16 default_applicable_licenses: ["microdroid_kernel_prebuilts_license"],
17}
18
19// See: http://go/android-license-faq
20license {
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 Kim812497f2024-07-25 17:08:28 +090029filegroup {
Nikita Ioffea2af1e42024-02-14 18:13:47 +000030 name: "microdroid_kernel_prebuilt-arm64",
31 // Below are properties that are conditionally set depending on value of build flags.
Inseob Kim812497f2024-07-25 17:08:28 +090032 srcs: select(release_flag("RELEASE_AVF_MICRODROID_KERNEL_VERSION"), {
Inseob Kim812497f2024-07-25 17:08:28 +090033 "android15_66": ["android15-6.6/arm64/kernel-6.6"],
Nikita Ioffe9a9fea72024-12-13 13:36:56 +000034 "android16_612": ["android16-6.12/arm64/kernel-6.12"],
Nikita Ioffee6028be2024-10-25 14:03:36 +000035 default: [],
Inseob Kim812497f2024-07-25 17:08:28 +090036 }),
Nikita Ioffea2af1e42024-02-14 18:13:47 +000037}
38
Inseob Kim812497f2024-07-25 17:08:28 +090039filegroup {
Nikita Ioffea2af1e42024-02-14 18:13:47 +000040 name: "microdroid_kernel_prebuilt-x86_64",
41 // Below are properties that are conditionally set depending on value of build flags.
Inseob Kim812497f2024-07-25 17:08:28 +090042 srcs: select(release_flag("RELEASE_AVF_MICRODROID_KERNEL_VERSION"), {
Inseob Kim812497f2024-07-25 17:08:28 +090043 "android15_66": ["android15-6.6/x86_64/kernel-6.6"],
Nikita Ioffe9a9fea72024-12-13 13:36:56 +000044 "android16_612": ["android16-6.12/x86_64/kernel-6.12"],
Nikita Ioffee6028be2024-10-25 14:03:36 +000045 default: [],
Inseob Kim812497f2024-07-25 17:08:28 +090046 }),
Nikita Ioffea2af1e42024-02-14 18:13:47 +000047}
Nikita Ioffef49350e2024-11-01 16:11:48 +000048
49filegroup {
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 Ioffe9a9fea72024-12-13 13:36:56 +000054 "android16_612": ["android16-6.12/arm64/16k/kernel-6.12"],
Nikita Ioffef49350e2024-11-01 16:11:48 +000055 default: [],
56 }),
57}