[Webkit-unassigned] [Bug 62211] New: [CMAKE] Remove "${FEATURE_DEFINES}" definition when building .css files
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 7 07:13:43 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62211
Summary: [CMAKE] Remove "${FEATURE_DEFINES}" definition when
building .css files
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: gyuyoung.kim at samsung.com
html.css file is using ENABLE_XXX macros for each feature. However, the html.css file doesn't recognize the macro. I have tried to find the reason.
Though I can't find correct solution, I think I find the reason at least.
CMakeLists.txt of WebCore is using "${FEATURE_DEFINES}" when building *.css files as below,
In Source/WebCore/CMakeList.txt
2099: COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts ${WEBCORE_DIR}/css/make-css-file-arrays.pl --defines "${FEATURE_DEFINES}" --preprocessor "${CODE_GENERATOR_PREPROCE SSOR}" ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheets.h ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheetsData.cpp ${WebCore_USER_AGENT_STYLE_SHEETS}
According to my debugging, the "${FEATURE_DEFINES}" prints below message with ";"
ENABLE_AS_IMAGE;ENABLE_CHANNEL_MESSAGING;ENABLE_DATABASE;ENABLE_DATALIST;ENABLE_DOM_STORAGE;ENABLE_EVENTSOURCE;ENABLE_FAST_MALLOC;ENABLE_FAST_MOBILE_SCROLLING;ENABLE_FILTERS;ENABLE_FTPDIR;ENABLE_GLIB_SUPPORT;ENABLE_ICONDATABASE;ENABLE_INSPECTOR;ENABLE_JAVASCRIPT_DEBUGGER;ENABLE_JIT;ENABLE_MATHML;ENABLE_OFFLINE_WEB_APPLICATIONS;ENABLE_SHARED_WORKERS;ENABLE_SVG;ENABLE_SVG_ANIMATION;ENABLE_SVG_FONTS;ENABLE_SVG_FOREIGN_OBJECT;ENABLE_SVG_USE;ENABLE_VIDEO;ENABLE_WORKERS;ENABLE_XPATH;ENABLE_XSLT
It seems the semicolon makes problems. When I remove the semicolon, there were no problems. So, for now, I make a patch for this problem.
However, I don't know which solution is correct yet. If anyone know correct solution, please let me know.
If we need to use the "{FEATURE_DEFINES}", we should replace ";" with space.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list