]> granicus.if.org Git - llvm/commitdiff
gn build: Sort cxx_sources in libcxx build file
authorNico Weber <nicolasweber@gmx.de>
Sun, 7 Jul 2019 16:36:11 +0000 (16:36 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 7 Jul 2019 16:36:11 +0000 (16:36 +0000)
Since these are in a custom list, `gn format` doesn't automatically sort
them.

Now their order matches the CMake build.

No additions or deletions, this just sorts the files that are there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365277 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/libcxx/src/BUILD.gn

index 9909bb1e3730ed8ee77718b8661532670753e7d7..7ac58a418cad33911c6191923e31466872dae5ed 100644 (file)
@@ -114,50 +114,50 @@ config("cxx_config") {
 
 cxx_sources = [
   "algorithm.cpp",
-  "string.cpp",
-  "ios.cpp",
+  "any.cpp",
+  "bind.cpp",
+  "charconv.cpp",
+  "chrono.cpp",
   "condition_variable.cpp",
+  "debug.cpp",
+  "exception.cpp",
+  "functional.cpp",
+  "future.cpp",
   "hash.cpp",
-  "random.cpp",
+  "include/apple_availability.h",
+  "include/atomic_support.h",
+  "include/config_elast.h",
+  "include/refstring.h",
+  "ios.cpp",
+  "iostream.cpp",
+  "locale.cpp",
+  "memory.cpp",
+  "mutex.cpp",
   "new.cpp",
-  "functional.cpp",
-  "exception.cpp",
-  "support/runtime/exception_msvc.ipp",
-  "support/runtime/exception_libcxxabi.ipp",
+  "optional.cpp",
+  "random.cpp",
+  "regex.cpp",
+  "shared_mutex.cpp",
+  "stdexcept.cpp",
+  "string.cpp",
+  "strstream.cpp",
+  "support/runtime/exception_fallback.ipp",
   "support/runtime/exception_glibcxx.ipp",
-  "support/runtime/new_handler_fallback.ipp",
+  "support/runtime/exception_libcxxabi.ipp",
   "support/runtime/exception_libcxxrt.ipp",
-  "support/runtime/exception_pointer_unimplemented.ipp",
+  "support/runtime/exception_msvc.ipp",
   "support/runtime/exception_pointer_cxxabi.ipp",
-  "support/runtime/exception_pointer_msvc.ipp",
-  "support/runtime/exception_fallback.ipp",
   "support/runtime/exception_pointer_glibcxx.ipp",
-  "variant.cpp",
-  "shared_mutex.cpp",
-  "optional.cpp",
-  "strstream.cpp",
-  "include/apple_availability.h",
-  "include/refstring.h",
-  "include/config_elast.h",
-  "include/atomic_support.h",
-  "future.cpp",
+  "support/runtime/exception_pointer_msvc.ipp",
+  "support/runtime/exception_pointer_unimplemented.ipp",
+  "support/runtime/new_handler_fallback.ipp",
   "system_error.cpp",
-  "bind.cpp",
-  "iostream.cpp",
-  "stdexcept.cpp",
-  "valarray.cpp",
-  "chrono.cpp",
+  "thread.cpp",
   "typeinfo.cpp",
-  "locale.cpp",
-  "debug.cpp",
-  "charconv.cpp",
   "utility.cpp",
-  "regex.cpp",
-  "mutex.cpp",
-  "any.cpp",
-  "thread.cpp",
+  "valarray.cpp",
+  "variant.cpp",
   "vector.cpp",
-  "memory.cpp",
 ]
 if (target_os == "win") {
   cxx_sources += [