OSDN Git Service

gn build: Run `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`
[android-x86/external-llvm.git] / utils / gn / .gn
1 # Since this can't be at the toplevel, you either need to pass
2 # `--dotfile=llvm/utils/gn/.gn --root=.` to the `gn gen` command
3 # or use llvm/utils/gn/gn.py which calls gn with these two flags added.
4
5 buildconfig = "//llvm/utils/gn/build/BUILDCONFIG.gn"
6
7 # Disallow all calls to exec_script. We should be very conservative about
8 # whitelisting things here.
9 exec_script_whitelist = []
10
11 # The normal GN setup is to have BUILD.gn files in-tree and a root BUILD.gn
12 # file.  Since LLVM's GN build is unofficial, set secondary_source to tell GN
13 # that e.g. llvm/lib/Demangle/BUILD.gn is found at
14 # llvm/utils/gn/secondary/llvm/lib/Demangle/BUILD.gn and that the root BUILD.gn
15 # file is at llvm/utils/gn/secondary/BUILD.gn
16 secondary_source = "//llvm/utils/gn/secondary/"