[llvm] r365278 - gn build: Sort sync script output
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 7 09:40:29 PDT 2019
Author: nico
Date: Sun Jul 7 09:40:29 2019
New Revision: 365278
URL: http://llvm.org/viewvc/llvm-project?rev=365278&view=rev
Log:
gn build: Sort sync script output
Modified:
llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py
Modified: llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py?rev=365278&r1=365277&r2=365278&view=diff
==============================================================================
--- llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py (original)
+++ llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py Sun Jul 7 09:40:29 2019
@@ -51,10 +51,10 @@ def sync_source_lists():
changed = True
print(gn_file)
- add = cmake_cpp - gn_cpp
+ add = sorted(cmake_cpp - gn_cpp)
if add:
print('add:\n' + '\n'.join(' "%s",' % a for a in add))
- remove = gn_cpp - cmake_cpp
+ remove = sorted(gn_cpp - cmake_cpp)
if remove:
print('remove:\n' + '\n'.join(remove))
print()
More information about the llvm-commits
mailing list