RESOLVED FIXED 55658
Allow to use PLATFORM(...) defines in *.messages.in and ifdef related headers
https://bugs.webkit.org/show_bug.cgi?id=55658
Summary Allow to use PLATFORM(...) defines in *.messages.in and ifdef related headers
Oleg Romashin (:romaxa)
Reported 2011-03-03 01:53:56 PST
Attempt to compile Qt port with ENABLE_PLUGIN_PROCESS failed with message: -I../include/WebKit2 -I/usr/src/3rdparty/sqlite/ -I/usr/X11R6/include -I. -I../../../WebKit/Source/WebKit2 -I. -o obj/debug/WebDatabaseManagerMessageReceiver.o generated/WebDatabaseManagerMessageReceiver.cpp generated/PluginProcessProxyMessageReceiver.cpp:34:22: error: MachPort.h: No such file or directory Attempt to ifdef #if PLATFORM(MAC) DidCreateWebProcessConnection(CoreIPC::MachPort connectionIdentifier) #endif in PluginProcessProxy.messages.in does fix the problem, because messages.py ignore those ifdefs
Attachments
Sorry for my python, but this seems to work fine and fix the problem (3.24 KB, patch)
2011-03-03 01:56 PST, Oleg Romashin (:romaxa)
no flags
One more try, No array hacks, fixed style (3.35 KB, patch)
2011-03-03 16:20 PST, Oleg Romashin (:romaxa)
no flags
Fixed style (finally make style script working in my environment) (3.34 KB, patch)
2011-03-03 17:21 PST, Oleg Romashin (:romaxa)
no flags
Fixed minor bug, and updated unittest (6.45 KB, patch)
2011-03-16 20:36 PDT, Oleg Romashin (:romaxa)
no flags
Fixed build problem (6.77 KB, patch)
2011-03-16 22:03 PDT, Oleg Romashin (:romaxa)
no flags
Oleg Romashin (:romaxa)
Comment 1 2011-03-03 01:56:20 PST
Created attachment 84536 [details] Sorry for my python, but this seems to work fine and fix the problem
WebKit Review Bot
Comment 2 2011-03-03 01:58:17 PST
Attachment 84536 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/Scripts/webkit2/messages.py:452: missing whitespace after ':' [pep8/E231] [5] Source/WebKit2/Scripts/webkit2/messages.py:463: multiple statements on one line (semicolon) [pep8/E702] [5] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 3 2011-03-03 02:08:45 PST
Build Bot
Comment 4 2011-03-03 09:30:00 PST
Oleg Romashin (:romaxa)
Comment 5 2011-03-03 16:20:08 PST
Created attachment 84648 [details] One more try, No array hacks, fixed style
WebKit Review Bot
Comment 6 2011-03-03 16:23:08 PST
Attachment 84648 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/Scripts/webkit2/messages.py:452: whitespace after '{' [pep8/E201] [5] Source/WebKit2/Scripts/webkit2/messages.py:463: multiple statements on one line (semicolon) [pep8/E702] [5] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Oleg Romashin (:romaxa)
Comment 7 2011-03-03 17:21:23 PST
Created attachment 84660 [details] Fixed style (finally make style script working in my environment)
Oleg Romashin (:romaxa)
Comment 8 2011-03-07 17:45:52 PST
Any chance to get this patch reviewed?
Oleg Romashin (:romaxa)
Comment 9 2011-03-16 20:36:18 PDT
Created attachment 86024 [details] Fixed minor bug, and updated unittest
Early Warning System Bot
Comment 10 2011-03-16 20:49:30 PDT
Build Bot
Comment 11 2011-03-16 21:18:54 PDT
Oleg Romashin (:romaxa)
Comment 12 2011-03-16 22:03:28 PDT
Created attachment 86027 [details] Fixed build problem Fixed another problem, when messageX ifdefed causing headerX, and messageY non-ifdefed causing headerX, then we should not put headerX into ifdef condition
Oleg Romashin (:romaxa)
Comment 13 2011-03-16 22:22:25 PDT
Comment on attachment 86027 [details] Fixed build problem yep, this compiles now fine
WebKit Commit Bot
Comment 14 2011-03-17 10:01:04 PDT
The commit-queue encountered the following flaky tests while processing attachment 86027 [details]: http/tests/cache/history-only-cached-subresource-loads.html bug 56567 (author: joepeck@webkit.org) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 15 2011-03-17 10:03:22 PDT
Comment on attachment 86027 [details] Fixed build problem Clearing flags on attachment: 86027 Committed r81362: <http://trac.webkit.org/changeset/81362>
WebKit Commit Bot
Comment 16 2011-03-17 10:03:28 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.