Lorenz Brun | 605efbe | 2021-09-28 14:01:01 +0200 | [diff] [blame] | 1 | def _build_efi_transition_impl(settings, attr): |
| 2 | """ |
Leopold | 79c13a2 | 2023-01-04 23:15:13 +0100 | [diff] [blame] | 3 | Transition that enables building for an EFI environment. Currently only supports C code. |
Lorenz Brun | 605efbe | 2021-09-28 14:01:01 +0200 | [diff] [blame] | 4 | """ |
| 5 | return { |
Leopold | bc93c2b | 2023-01-14 13:12:23 +0100 | [diff] [blame^] | 6 | "//command_line_option:platforms": "//build/platforms:efi_amd64" |
Lorenz Brun | 605efbe | 2021-09-28 14:01:01 +0200 | [diff] [blame] | 7 | } |
| 8 | |
| 9 | build_efi_transition = transition( |
| 10 | implementation = _build_efi_transition_impl, |
| 11 | inputs = [], |
| 12 | outputs = [ |
Leopold | bc93c2b | 2023-01-14 13:12:23 +0100 | [diff] [blame^] | 13 | "//command_line_option:platforms", |
Lorenz Brun | 605efbe | 2021-09-28 14:01:01 +0200 | [diff] [blame] | 14 | ], |
| 15 | ) |