Bob Badour | 77c910d | 2021-06-07 22:20:50 -0700 | [diff] [blame] | 1 | // |
| 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 | |
| 16 | package { |
| 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 |
| 22 | license { |
| 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 Ioffe | 3973d38 | 2023-08-31 17:53:25 +0100 | [diff] [blame] | 30 | |
| 31 | soong_config_module_type { |
| 32 | name: "avf_flag_aware_rust_defaults", |
| 33 | module_type: "rust_defaults", |
| 34 | config_namespace: "ANDROID", |
| 35 | bool_variables: [ |
Alan Stokes | 7f27c0d | 2023-09-07 16:22:58 +0100 | [diff] [blame] | 36 | "release_avf_enable_dice_changes", |
Shikha Panwar | 95084df | 2023-07-22 11:47:45 +0000 | [diff] [blame] | 37 | "release_avf_enable_llpvm_changes", |
Nikita Ioffe | 3973d38 | 2023-08-31 17:53:25 +0100 | [diff] [blame] | 38 | "release_avf_enable_multi_tenant_microdroid_vm", |
Nikita Ioffe | 631717e | 2023-09-05 13:38:07 +0100 | [diff] [blame] | 39 | "release_avf_enable_vendor_modules", |
Nikita Ioffe | 3973d38 | 2023-08-31 17:53:25 +0100 | [diff] [blame] | 40 | ], |
| 41 | properties: [ |
| 42 | "cfgs", |
| 43 | ], |
| 44 | } |
| 45 | |
| 46 | avf_flag_aware_rust_defaults { |
| 47 | name: "avf_build_flags_rust", |
| 48 | soong_config_variables: { |
Alan Stokes | 7f27c0d | 2023-09-07 16:22:58 +0100 | [diff] [blame] | 49 | release_avf_enable_dice_changes: { |
| 50 | cfgs: ["dice_changes"], |
| 51 | }, |
Shikha Panwar | 95084df | 2023-07-22 11:47:45 +0000 | [diff] [blame] | 52 | release_avf_enable_llpvm_changes: { |
| 53 | cfgs: ["llpvm_changes"], |
| 54 | }, |
Nikita Ioffe | 3973d38 | 2023-08-31 17:53:25 +0100 | [diff] [blame] | 55 | release_avf_enable_multi_tenant_microdroid_vm: { |
| 56 | cfgs: ["payload_not_root"], |
| 57 | }, |
Nikita Ioffe | 631717e | 2023-09-05 13:38:07 +0100 | [diff] [blame] | 58 | release_avf_enable_vendor_modules: { |
| 59 | cfgs: ["vendor_modules"], |
| 60 | }, |
Nikita Ioffe | 3973d38 | 2023-08-31 17:53:25 +0100 | [diff] [blame] | 61 | }, |
| 62 | } |