Title: [244095] trunk/Source/WebKit
Revision
244095
Author
[email protected]
Date
2019-04-09 14:42:32 -0700 (Tue, 09 Apr 2019)

Log Message

Unreviewed, fix webkitpy failure after r244085.

Use a list instead of a set for header includes so that the order is
maintained.

* Scripts/webkit/messages.py:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (244094 => 244095)


--- trunk/Source/WebKit/ChangeLog	2019-04-09 20:17:50 UTC (rev 244094)
+++ trunk/Source/WebKit/ChangeLog	2019-04-09 21:42:32 UTC (rev 244095)
@@ -1,3 +1,12 @@
+2019-04-09  Chris Dumez  <[email protected]>
+
+        Unreviewed, fix webkitpy failure after r244085.
+
+        Use a list instead of a set for header includes so that the order is
+        maintained.
+
+        * Scripts/webkit/messages.py:
+
 2019-04-09  Andy Estes  <[email protected]>
 
         [Apple Pay] Add release logging to PaymentCoordinator

Modified: trunk/Source/WebKit/Scripts/webkit/messages.py (244094 => 244095)


--- trunk/Source/WebKit/Scripts/webkit/messages.py	2019-04-09 20:17:50 UTC (rev 244094)
+++ trunk/Source/WebKit/Scripts/webkit/messages.py	2019-04-09 21:42:32 UTC (rev 244095)
@@ -244,15 +244,15 @@
 
     forward_declarations = '\n'.join([forward_declarations_for_namespace(namespace, types) for (namespace, types) in sorted(types_by_namespace.items())])
 
-    header_includes = set()
+    header_includes = []
     for header in sorted(headers):
         if header in header_conditions and not None in header_conditions[header]:
             header_include = '#if %s\n' % ' || '.join(set(header_conditions[header]))
             header_include += '#include %s\n' % header
             header_include += '#endif\n'
-            header_includes.add(header_include)
+            header_includes.append(header_include)
         else:
-            header_includes.add('#include %s\n' % header)
+            header_includes.append('#include %s\n' % header)
 
     return (forward_declarations, header_includes)
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to