Unreviewed followup to r243169 to fix test failures.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Mar 2019 19:57:24 +0000 (19:57 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Mar 2019 19:57:24 +0000 (19:57 +0000)
* DerivedSources.make: Add HAVE_OS_DARK_MODE_SUPPORT to FEATURE_AND_PLATFORM_DEFINES.

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

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

index 3164248..07a48a7 100644 (file)
@@ -1,3 +1,9 @@
+2019-03-20  Timothy Hatcher  <timothy@apple.com>
+
+        Unreviewed followup to r243169 to fix test failures.
+
+        * DerivedSources.make: Add HAVE_OS_DARK_MODE_SUPPORT to FEATURE_AND_PLATFORM_DEFINES.
+
 2019-03-20  Keith Rollin  <krollin@apple.com>
 
         Update the location for XProtect.meta.plist file
index 78cac39..83d1b03 100644 (file)
@@ -1168,6 +1168,10 @@ else
 FEATURE_AND_PLATFORM_DEFINES = $(FEATURE_DEFINES)
 endif
 
+ifeq ($(HAVE_OS_DARK_MODE_SUPPORT), 1)
+FEATURE_AND_PLATFORM_DEFINES += HAVE_OS_DARK_MODE_SUPPORT
+endif
+
 ifeq ($(PLATFORM_FEATURE_DEFINES),)
 ifeq ($(OS), Windows_NT)
 PLATFORM_FEATURE_DEFINES = $(WEBKIT_LIBRARIES)/tools/vsprops/FeatureDefines.props