blob: 2f6fc20fc7ddcbf6adcb3b733b26e5c8b8e016b1 [file] [log] [blame]
Bob Badour77c910d2021-06-07 22:20:50 -07001//
2// Copyright (C) 2021 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16package {
17 default_applicable_licenses: ["packages_modules_Virtualization_license"],
18}
19
20// Added automatically by a large-scale-change
21// See: http://go/android-license-faq
22license {
23 name: "packages_modules_Virtualization_license",
24 visibility: [":__subpackages__"],
25 license_kinds: [
26 "legacy_unencumbered",
27 ],
28 // large-scale-change unable to identify any license_text files
29}
Nikita Ioffe3973d382023-08-31 17:53:25 +010030
31soong_config_module_type {
32 name: "avf_flag_aware_rust_defaults",
33 module_type: "rust_defaults",
34 config_namespace: "ANDROID",
35 bool_variables: [
Alan Stokes7f27c0d2023-09-07 16:22:58 +010036 "release_avf_enable_dice_changes",
Shikha Panwar95084df2023-07-22 11:47:45 +000037 "release_avf_enable_llpvm_changes",
Nikita Ioffe3973d382023-08-31 17:53:25 +010038 "release_avf_enable_multi_tenant_microdroid_vm",
Alice Wange9ac2db2023-09-08 15:13:13 +000039 "release_avf_enable_remote_attestation",
Nikita Ioffe631717e2023-09-05 13:38:07 +010040 "release_avf_enable_vendor_modules",
Nikita Ioffe3973d382023-08-31 17:53:25 +010041 ],
42 properties: [
43 "cfgs",
44 ],
45}
46
47avf_flag_aware_rust_defaults {
48 name: "avf_build_flags_rust",
49 soong_config_variables: {
Alan Stokes7f27c0d2023-09-07 16:22:58 +010050 release_avf_enable_dice_changes: {
51 cfgs: ["dice_changes"],
52 },
Shikha Panwar95084df2023-07-22 11:47:45 +000053 release_avf_enable_llpvm_changes: {
54 cfgs: ["llpvm_changes"],
55 },
Nikita Ioffe3973d382023-08-31 17:53:25 +010056 release_avf_enable_multi_tenant_microdroid_vm: {
Alan Stokes27f3ef02023-09-29 15:09:35 +010057 cfgs: ["multi_tenant"],
Nikita Ioffe3973d382023-08-31 17:53:25 +010058 },
Alice Wange9ac2db2023-09-08 15:13:13 +000059 release_avf_enable_remote_attestation: {
60 cfgs: ["remote_attestation"],
61 },
Nikita Ioffe631717e2023-09-05 13:38:07 +010062 release_avf_enable_vendor_modules: {
63 cfgs: ["vendor_modules"],
64 },
Nikita Ioffe3973d382023-08-31 17:53:25 +010065 },
66}