From: Nico Weber Date: Sun, 7 Jul 2019 16:36:11 +0000 (+0000) Subject: gn build: Sort cxx_sources in libcxx build file X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c24a089765f0502e95b50ce46946859ed05af104;p=llvm gn build: Sort cxx_sources in libcxx build file 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 --- diff --git a/utils/gn/secondary/libcxx/src/BUILD.gn b/utils/gn/secondary/libcxx/src/BUILD.gn index 9909bb1e373..7ac58a418ca 100644 --- a/utils/gn/secondary/libcxx/src/BUILD.gn +++ b/utils/gn/secondary/libcxx/src/BUILD.gn @@ -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 += [