brintos

brintos / llvm-project-archived public Read only

0
0
Text · 834 B · 33ffc58 Raw
20 lines · plain
1# Since this can't be at the toplevel, you either need to pass2# `--dotfile=llvm/utils/gn/.gn --root=.` to the `gn gen` command3# or use llvm/utils/gn/gn.py which calls gn with these two flags added.4 5buildconfig = "//llvm/utils/gn/build/BUILDCONFIG.gn"6 7# Disallow all calls to exec_script. We should be very conservative about8# allowing things here.9exec_script_allowlist = []10 11# Execute action() targets using Python 3.12script_executable = "python3"13 14# The normal GN setup is to have BUILD.gn files in-tree and a root BUILD.gn15# file.  Since LLVM's GN build is unofficial, set secondary_source to tell GN16# that e.g. llvm/lib/Demangle/BUILD.gn is found at17# llvm/utils/gn/secondary/llvm/lib/Demangle/BUILD.gn and that the root BUILD.gn18# file is at llvm/utils/gn/secondary/BUILD.gn19secondary_source = "//llvm/utils/gn/secondary/"20