blob: 6c77157731e91ee8030dd445ce515629e6dce55b [file] [log] [blame]
# Since this can't be at the toplevel, you either need to pass
# `--dotfile=llvm/utils/gn/.gn --root=.` to the `gn gen` command
# or use llvm/utils/gn/ which calls gn with these two flags added.
buildconfig = "//llvm/utils/gn/build/"
# Disallow all calls to exec_script. We should be very conservative about
# whitelisting things here.
exec_script_whitelist = []
# The normal GN setup is to have files in-tree and a root
# file. Since LLVM's GN build is unofficial, set secondary_source to tell GN
# that e.g. llvm/lib/Demangle/ is found at
# llvm/utils/gn/secondary/llvm/lib/Demangle/ and that the root
# file is at llvm/utils/gn/secondary/
secondary_source = "//llvm/utils/gn/secondary/"