NEW 114348
Replace ENABLE_CSS_* preprocessor statements in IDL files with Conditional attribute
https://bugs.webkit.org/show_bug.cgi?id=114348
Summary Replace ENABLE_CSS_* preprocessor statements in IDL files with Conditional at...
Patrick R. Gansterer
Reported 2013-04-10 03:50:26 PDT
Replace ENABLE_CSS_* preprocessor statements in IDL files with Conditional attribute
Attachments
Patch (3.89 KB, patch)
2013-04-10 03:52 PDT, Patrick R. Gansterer
ggaren: review-
buildbot: commit-queue-
Patrick R. Gansterer
Comment 1 2013-04-10 03:52:46 PDT
Build Bot
Comment 2 2013-04-10 04:45:55 PDT
Build Bot
Comment 3 2013-04-10 05:04:18 PDT
Geoffrey Garen
Comment 4 2013-04-10 08:45:39 PDT
I believe the problem here is that DOM*.h is public API, and ENABLE(XXX) macros don't work in public API: ERROR: '/Volumes/Data/EWS/WebKit/WebKitBuild/Release/WebKit.framework/Versions/A/Headers/DOMCSSRule.h:45' included forbidden macro 'ENABLE' => '#if ENABLE(CSS3_CONDITIONAL_RULES)' ERROR: '/Volumes/Data/EWS/WebKit/WebKitBuild/Release/WebKit.framework/Versions/A/Headers/DOMCSSRule.h:48' included forbidden macro 'ENABLE' => '#if ENABLE(CSS_DEVICE_ADAPTATION)' ERROR: '/Volumes/Data/EWS/WebKit/WebKitBuild/Release/WebKit.framework/Versions/A/Headers/DOMCSSRule.h:51' included forbidden macro 'ENABLE' => '#if ENABLE(CSS_REGIONS)' ERROR: '/Volumes/Data/EWS/WebKit/WebKitBuild/Release/WebKit.framework/Versions/A/Headers/DOMCSSRule.h:54' included forbidden macro 'ENABLE' => '#if ENABLE(CSS_SHADERS)' Command /bin/sh failed with exit code 1 ** BUILD FAILED ** The following build commands failed: PhaseScriptExecution "Check For Inappropriate Macros in External Headers" /Volumes/Data/EWS/WebKit/WebKitBuild/WebKit.build/Release/WebKit.build/Script-A55DEAA516703F9F003DB841.sh
Note You need to log in before you can comment on or make changes to this bug.