diff options
Diffstat (limited to 'Source/WebCore/DerivedSources.make')
-rw-r--r-- | Source/WebCore/DerivedSources.make | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/WebCore/DerivedSources.make b/Source/WebCore/DerivedSources.make index ef2dc2f..3ead1c7 100644 --- a/Source/WebCore/DerivedSources.make +++ b/Source/WebCore/DerivedSources.make @@ -127,6 +127,7 @@ DOM_CLASSES = \ Console \ Coordinates \ Counter \ + Crypto \ CustomEvent \ DataGridColumn \ DataGridColumnList \ @@ -569,6 +570,7 @@ all : \ MathMLNames.cpp \ XPathGrammar.cpp \ tokenizer.cpp \ + HeaderDetection.h \ # # -------- @@ -932,3 +934,19 @@ DOM%.h : %.idl $(DOM_BINDINGS_SCRIPTS) bindings/objc/PublicDOMInterfaces.h endif # MACOS # ------------------------ + +# header detection + +ifeq ($(OS),MACOS) + +HeaderDetection.h : DerivedSources.make /System/Library/CoreServices/SystemVersion.plist + rm -f $@ + echo "/* This is a generated file. Do not edit. */" > $@ + if [ -f $(SDKROOT)/System/Library/Frameworks/AppKit.framework/PrivateHeaders/NSScrollerImpPair_Private.h ]; then echo "#define USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER 1" >> $@; else echo >> $@; fi + +else + +HeaderDetection.h : + echo > $@ + +endif |