Given a *.messages.in file like this: Bar(WebCore::IntRect rect) #if ENABLE(ESOTERIC_FEATURE) Foo(WebCore::IntRect rect) #endif messages.py would include the WebCore argument coders only #if ENABLE(ESOTERIC_FEATURE). This breaks the build on platforms without that defined. It also breaks for this case: #if ENABLE(FOO) Foo(WebCore::IntRect rect) #endif #if ENABLE(BAR) Bar(WebCore::IntRect rect) #endif Where we would get the include only #if ENABLE(FOO). This should be #if ENABLE(FOO) || ENABLE(BAR) instead.
Created attachment 96595 [details] Proposed patch
Comment on attachment 96595 [details] Proposed patch Self r- due to missing unit test. Didn't notice we have those for messages.py. :)
Created attachment 96604 [details] Proposed patch v2
Comment on attachment 96604 [details] Proposed patch v2 Clearing flags on attachment: 96604 Committed r88462: <http://trac.webkit.org/changeset/88462>
All reviewed patches have been landed. Closing bug.