Meta: Update the build rules for AK

The `gn` build did not generate the CMake configuration file for the
backtrace module. Update the rules to configure the generated macros
mirroring the CMake build.
This commit is contained in:
Saleem Abdulrasool 2024-09-24 20:05:35 -07:00 committed by Andrew Kaster
commit 050ffddff3
Notes: github-actions[bot] 2024-09-25 18:42:03 +00:00
2 changed files with 21 additions and 2 deletions

View file

@ -84,7 +84,7 @@ def main():
try:
var, val = var.split(None, 1)
in_line = '#define %s %s' % (var, val) # val ends in \n.
except _:
except ValueError:
var = var.rstrip()
in_line = '#define %s\n' % var
if not values[var]: