RESOLVED FIXED 157997
[cmake] Deduplicate make-js-file-arrays usage and make it work on Windows.
https://bugs.webkit.org/show_bug.cgi?id=157997
Summary [cmake] Deduplicate make-js-file-arrays usage and make it work on Windows.
Konstantin Tokarev
Reported 2016-05-23 14:26:05 PDT
On Windows setting PYTHONPATH variable requires separate command.
Attachments
Patch (5.33 KB, patch)
2016-05-23 14:28 PDT, Konstantin Tokarev
no flags
Konstantin Tokarev
Comment 1 2016-05-23 14:28:48 PDT
Alex Christensen
Comment 2 2016-05-23 15:28:40 PDT
Comment on attachment 279584 [details] Patch WebCore_USER_AGENT_SCRIPTS and WebCore_SDP_PROCESSOR_SCRIPTS aren't used on Windows. What does this enable?
Alex Christensen
Comment 3 2016-05-23 15:29:56 PDT
Comment on attachment 279584 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=279584&action=review > Source/cmake/WebKitMacros.cmake:354 > +macro(MAKE_JS_FILE_ARRAYS _output_cpp _output_h _scripts _scripts_dependencies) This macro is only used in WebCore/CMakeLists.txt, so there's no reason to share it with other CMakeLists.txt here.
Konstantin Tokarev
Comment 4 2016-05-24 01:13:01 PDT
(In reply to comment #2) > Comment on attachment 279584 [details] > Patch > > WebCore_USER_AGENT_SCRIPTS and WebCore_SDP_PROCESSOR_SCRIPTS aren't used on > Windows. What does this enable? I'm using them in downstream port, and I think this is need for sake of completeness. Similar stuff like WebCore_USER_AGENT_STYLE_SHEETS works anywhere because perl supports -I arguments and python doesn't. It will also be useful if someone decides to restore Windows support in WebKitGTK, or if you later decide to embed user scripts in Windows port instead of loading them from external file.
Alex Christensen
Comment 5 2016-05-25 22:09:27 PDT
Comment on attachment 279584 [details] Patch All right. I guess this doesn't hurt anything.
WebKit Commit Bot
Comment 6 2016-05-25 22:30:34 PDT
Comment on attachment 279584 [details] Patch Clearing flags on attachment: 279584 Committed r201413: <http://trac.webkit.org/changeset/201413>
WebKit Commit Bot
Comment 7 2016-05-25 22:30:38 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.