From 91377328c6e69d0f14e59f77a57a0864e2d9ca10 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 24 Dec 2018 23:06:29 +0000 Subject: [PATCH] [gn build] Make NOSORT line actually work GN wants the NOSORT line to be the first line of a comment block, not the last line. I sent https://gn-review.googlesource.com/c/gn/+/3560 to support having it in the last line too, but since it will be a while until everyone has that change even if it's expected, use the form that works today. Differential Revision: https://reviews.llvm.org/D56065 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350060 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/gn/secondary/clang/lib/Headers/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/utils/gn/secondary/clang/lib/Headers/BUILD.gn index 6e9be8a8593..c2b89afb845 100644 --- a/utils/gn/secondary/clang/lib/Headers/BUILD.gn +++ b/utils/gn/secondary/clang/lib/Headers/BUILD.gn @@ -34,9 +34,9 @@ copy("Headers") { ":arm_headers", ] + # NOSORT # Tell `gn format` to not reorder the sources list: Its order matches CMake, # and the ordering is alphabetical but ignores leading underscores. - # NOSORT sources = [ "adxintrin.h", "altivec.h", -- 2.50.1