blob: 1edb86b47bcb94d477916adf3ac3754b39a6e86f [file] [log] [blame]
Lorenz Brun605efbe2021-09-28 14:01:01 +02001def _build_efi_transition_impl(settings, attr):
2 """
Leopold79c13a22023-01-04 23:15:13 +01003 Transition that enables building for an EFI environment. Currently only supports C code.
Lorenz Brun605efbe2021-09-28 14:01:01 +02004 """
5 return {
Leopoldbc93c2b2023-01-14 13:12:23 +01006 "//command_line_option:platforms": "//build/platforms:efi_amd64"
Lorenz Brun605efbe2021-09-28 14:01:01 +02007 }
8
9build_efi_transition = transition(
10 implementation = _build_efi_transition_impl,
11 inputs = [],
12 outputs = [
Leopoldbc93c2b2023-01-14 13:12:23 +010013 "//command_line_option:platforms",
Lorenz Brun605efbe2021-09-28 14:01:01 +020014 ],
15)