Title: [267605] trunk/Source/WebCore
- Revision
- 267605
- Author
- [email protected]
- Date
- 2020-09-25 16:18:33 -0700 (Fri, 25 Sep 2020)
Log Message
Use CMake 3.10 compatible list functions
https://bugs.webkit.org/show_bug.cgi?id=216996
Reviewed by Fujii Hironori.
POP_FRONT and PREPEND were added in CMake 3.15.
* WebCoreMacros.cmake: Use GET and REMOVE_AT instead of POP_FRONT.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (267604 => 267605)
--- trunk/Source/WebCore/ChangeLog 2020-09-25 23:02:59 UTC (rev 267604)
+++ trunk/Source/WebCore/ChangeLog 2020-09-25 23:18:33 UTC (rev 267605)
@@ -1,3 +1,14 @@
+2020-09-25 Lauro Moura <[email protected]>
+
+ Use CMake 3.10 compatible list functions
+ https://bugs.webkit.org/show_bug.cgi?id=216996
+
+ Reviewed by Fujii Hironori.
+
+ POP_FRONT and PREPEND were added in CMake 3.15.
+
+ * WebCoreMacros.cmake: Use GET and REMOVE_AT instead of POP_FRONT.
+
2020-09-25 Chris Dumez <[email protected]>
Drop AudioNode::setNodeType()
Modified: trunk/Source/WebCore/WebCoreMacros.cmake (267604 => 267605)
--- trunk/Source/WebCore/WebCoreMacros.cmake 2020-09-25 23:02:59 UTC (rev 267604)
+++ trunk/Source/WebCore/WebCoreMacros.cmake 2020-09-25 23:18:33 UTC (rev 267605)
@@ -213,7 +213,10 @@
function(GENERATE_DOM_NAMES _namespace _attrs)
- list(POP_FRONT ARGN _tags)
+ if (ARGN)
+ list(GET ARGN 0 _tags)
+ list(REMOVE_AT ARGN 0)
+ endif ()
set(NAMES_GENERATOR ${WEBCORE_DIR}/dom/make_names.pl)
set(_arguments --attrs ${_attrs})
set(_outputfiles ${WebCore_DERIVED_SOURCES_DIR}/${_namespace}Names.cpp ${WebCore_DERIVED_SOURCES_DIR}/${_namespace}Names.h)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes