Only generate "themeWin*" UserAgentStyleSheet constants for Windows builds
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Jul 2015 19:25:58 +0000 (19:25 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Jul 2015 19:25:58 +0000 (19:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=147378

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-07-31
Reviewed by Alex Christensen.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187668 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make

index d53390d..e3afcfb 100644 (file)
@@ -1,3 +1,13 @@
+2015-07-31  Joseph Pecoraro  <pecoraro@apple.com>
+
+        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  <achristensen@webkit.org>
 
         Prepare for debug CMake builds on Windows.
index fa72e27..6877a66 100644 (file)
@@ -954,7 +954,7 @@ XPathGrammar.cpp : xml/XPathGrammar.y $(PROJECT_FILE)
 
 # 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 @@ ifeq ($(OS),MACOS)
        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)