Title: [187668] trunk/Source/WebCore
Revision
187668
Author
[email protected]
Date
2015-07-31 12:25:58 -0700 (Fri, 31 Jul 2015)

Log Message

Only generate "themeWin*" UserAgentStyleSheet constants for Windows builds
https://bugs.webkit.org/show_bug.cgi?id=147378

Patch by Joseph Pecoraro <[email protected]> on 2015-07-31
Reviewed by Alex Christensen.

* DerivedSources.make:
Only include windows user agent style sheets for Windows OSes.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (187667 => 187668)


--- trunk/Source/WebCore/ChangeLog	2015-07-31 18:41:04 UTC (rev 187667)
+++ trunk/Source/WebCore/ChangeLog	2015-07-31 19:25:58 UTC (rev 187668)
@@ -1,3 +1,13 @@
+2015-07-31  Joseph Pecoraro  <[email protected]>
+
+        Only generate "themeWin*" UserAgentStyleSheet constants for Windows builds
+        https://bugs.webkit.org/show_bug.cgi?id=147378
+
+        Reviewed by Alex Christensen.
+
+        * DerivedSources.make:
+        Only include windows user agent style sheets for Windows OSes.
+
 2015-07-31  Alex Christensen  <[email protected]>
 
         Prepare for debug CMake builds on Windows.

Modified: trunk/Source/WebCore/DerivedSources.make (187667 => 187668)


--- trunk/Source/WebCore/DerivedSources.make	2015-07-31 18:41:04 UTC (rev 187667)
+++ trunk/Source/WebCore/DerivedSources.make	2015-07-31 19:25:58 UTC (rev 187668)
@@ -954,7 +954,7 @@
 
 # user agent style sheets
 
-USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html.css $(WebCore)/css/quirks.css $(WebCore)/css/themeWin.css $(WebCore)/css/themeWinQuirks.css $(WebCore)/css/plugIns.css
+USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html.css $(WebCore)/css/quirks.css $(WebCore)/css/plugIns.css
 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
 
 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
@@ -977,6 +977,10 @@
 	USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/Modules/plugins/QuickTimePluginReplacement.css
 endif
 
+ifeq ($(OS), Windows*)
+    USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/themeWin.css $(WebCore)/css/themeWinQuirks.css
+endif
+
 UserAgentStyleSheets.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS) $(PLATFORM_FEATURE_DEFINES)
 	$(PERL) -I$(WebCore)/bindings/scripts $< --defines "$(FEATURE_DEFINES)" $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to