RESOLVED FIXED 174557
[CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
https://bugs.webkit.org/show_bug.cgi?id=174557
Summary [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
Michael Catanzaro
Reported 2017-07-15 20:40:16 PDT
In bug #174545, Konstantin points out: "FWIW, raising requirement to 3.1 would allow us to use target_sources command, that can enable us to make target-specific setup in PlatformXXX.cmake files (now all such code has to be in shared CMakeLists.txt files)" We should do it.
Attachments
Patch (8.14 KB, patch)
2017-07-16 12:28 PDT, Konstantin Tokarev
no flags
Archive of layout-test-results from ews115 for mac-elcapitan (1.80 MB, application/zip)
2017-07-16 13:47 PDT, Build Bot
no flags
Patch (8.28 KB, patch)
2017-07-16 13:47 PDT, Konstantin Tokarev
no flags
Archive of layout-test-results from ews121 for ios-simulator-wk2 (1001.03 KB, application/zip)
2017-07-16 16:14 PDT, Build Bot
no flags
Michael Catanzaro
Comment 1 2017-07-15 20:42:55 PDT
I'm not going to work on this one now, but I figured I might as well file the bug now, so we don't forget to do it. It will be a nice cleanup. We can split more backend files to secondary cmake files at the same time, to avoid e.g. having a list of the same files to compile in both PlatformGTK.cmake and PlatformWPE.cmake.
Konstantin Tokarev
Comment 2 2017-07-16 12:28:00 PDT
Build Bot
Comment 3 2017-07-16 13:47:04 PDT
Comment on attachment 315617 [details] Patch Attachment 315617 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/4131971 New failing tests: security/contentSecurityPolicy/video-with-data-url-allowed-by-media-src-star.html
Build Bot
Comment 4 2017-07-16 13:47:06 PDT
Created attachment 315622 [details] Archive of layout-test-results from ews115 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Konstantin Tokarev
Comment 5 2017-07-16 13:47:14 PDT
Build Bot
Comment 6 2017-07-16 16:14:51 PDT
Comment on attachment 315623 [details] Patch Attachment 315623 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/4132526 New failing tests: imported/w3c/IndexedDB-private-browsing/idbfactory_open12.html http/tests/cache/disk-cache/speculative-validation/cacheable-redirect.html
Build Bot
Comment 7 2017-07-16 16:14:52 PDT
Created attachment 315631 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
Michael Catanzaro
Comment 8 2017-07-16 20:03:50 PDT
Comment on attachment 315623 [details] Patch Is this just step one? What is the advantage of doing this?
Konstantin Tokarev
Comment 9 2017-07-17 00:59:53 PDT
Advantage is that commands that operate on targets can now be used in PlatformXXX.cmake files
WebKit Commit Bot
Comment 10 2017-07-17 08:16:57 PDT
Comment on attachment 315623 [details] Patch Clearing flags on attachment: 315623 Committed r219560: <http://trac.webkit.org/changeset/219560>
WebKit Commit Bot
Comment 11 2017-07-17 08:16:59 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.