Changeset 152426 in webkit
- Timestamp:
- Jul 5, 2013 3:17:27 PM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r152418 r152426 1 2013-07-05 Brent Fulgham <bfulgham@apple.com> 2 3 [Windows] Identify OS-level at build-time. 4 https://bugs.webkit.org/show_bug.cgi?id=118428 5 6 Reviewed by Anders Carlsson. 7 8 * WTF.vcxproj/WTFGenerated.make: Check for Legible Output featurs 9 and set build environment as appropriate. 10 * wtf/Platform.h: Activate Legible Output features if present. 11 1 12 2013-07-05 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> 2 13 -
trunk/Source/WTF/WTF.vcxproj/WTFGenerated.make
r149220 r152426 1 all: 1 all: WTFHeaderDetection.h 2 2 touch "%ConfigurationBuildDir%\buildfailed" 3 3 bash build-generated-files.sh "%ConfigurationBuildDir%" "$(WEBKIT_LIBRARIES)" "$(DEBUGSUFFIX)" … … 11 11 clean: 12 12 -del "%ConfigurationBuildDir%\buildfailed" 13 -del "%ConfigurationBuildDir%\include\private\wtf\WTFHeaderDetection.h" 13 14 copy-files.cmd clean 15 16 # Header detection 17 WTFHeaderDetection.h: WTFGenerated.make 18 -mkdir "%ConfigurationBuildDir%\include\private\wtf 19 <<testOSXLevel.cmd 20 IF EXIST "%ConfigurationBuildDir%\include\private\wtf\$@" exit 21 echo "" > "%ConfigurationBuildDir%\include\private\wtf\$@" 22 IF EXIST "$(WEBKIT_LIBRARIES)/include/AVFoundationCF/AVCFPlayerItemLegibleOutput.h" (echo #define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 1090 > "%ConfigurationBuildDir%\include\private\wtf\$@") 23 << -
trunk/Source/WTF/wtf/Platform.h
r152035 r152426 626 626 #define HAVE_ALIGNED_MALLOC 1 627 627 #define HAVE_ISDEBUGGERPRESENT 1 628 629 #include <WTF/WTFHeaderDetection.h> 630 628 631 #endif 629 632 … … 961 964 #endif 962 965 963 #if PLATFORM(MAC) && !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080966 #if (PLATFORM(MAC) || (OS(WINDOWS) && USE(CG))) && !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 964 967 #define HAVE_AVFOUNDATION_MEDIA_SELECTION_GROUP 1 965 968 #endif 966 969 967 #if PLATFORM(MAC) && !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090970 #if (PLATFORM(MAC) || (OS(WINDOWS) && USE(CG))) && !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 968 971 #define HAVE_AVFOUNDATION_LEGIBLE_OUTPUT_SUPPORT 1 969 972 #endif -
trunk/Source/WebCore/ChangeLog
r152425 r152426 1 2013-07-05 Brent Fulgham <bfulgham@apple.com> 2 3 [Windows] Identify OS-level at build-time. 4 https://bugs.webkit.org/show_bug.cgi?id=118428 5 6 Reviewed by Anders Carlsson. 7 8 * DerivedSources.make: Activate legible output features if present. 9 * WebCorePrefix.h: Activate MSVC 2010 workarounds for CGFloat if 10 building with VS2010. 11 * config.h: Activate legible output features if present. 12 1 13 2013-07-05 Tim Horton <timothy_horton@apple.com> 2 14 -
trunk/Source/WebCore/DerivedSources.make
r152404 r152426 1118 1118 1119 1119 WebCoreHeaderDetection.h : DerivedSources.make 1120 if [ -f "$(WEBKIT_LIBRARIES)/include/AVFoundationCF/AVCF Base.h" ]||[ -f "$(WEBKITLIBRARIESDIR)/include/AVFoundationCF/AVCFBase.h" ]; then echo "#define HAVE_AVCF1" > $@; else echo > $@; fi1120 if [ -f "$(WEBKIT_LIBRARIES)/include/AVFoundationCF/AVCFPlayerItemLegibleOutput.h" ]||[ -f "$(WEBKITLIBRARIESDIR)/include/AVFoundationCF/AVCFPlayerItemLegibleOutput.h" ]; then echo "#define HAVE_AVCF_LEGIBLE_OUTPUT 1" > $@; else echo > $@; fi 1121 1121 1122 1122 endif # Windows_NT -
trunk/Source/WebCore/WebCorePrefix.h
r152386 r152426 139 139 140 140 #if defined(_MSC_VER) && _MSC_VER <= 1600 141 142 #include <WebCore/WebCoreHeaderDetection.h> 143 144 #if HAVE(AVCF_LEGIBLE_OUTPUT) 141 145 // These must be defined before including CGFloat.h 142 146 // This can be removed once we move to VS2012 or newer … … 145 149 146 150 #define isnan _isnan 151 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 152 #include <CoreGraphics/CGFloat.h> 153 #endif 147 154 #include <CoreGraphics/CoreGraphics.h> 148 155 #undef isnan 156 #endif 149 157 #endif 150 158 -
trunk/Source/WebCore/config.h
r151610 r152426 137 137 // FIXME: Move this to JavaScriptCore/wtf/Platform.h, which is where we define WTF_USE_AVFOUNDATION on the Mac. 138 138 // https://bugs.webkit.org/show_bug.cgi?id=67334 139 #if PLATFORM(WIN) && HAVE(AVCF)139 #if PLATFORM(WIN) 140 140 #define WTF_USE_AVFOUNDATION 1 141 142 #if HAVE(AVCF_LEGIBLE_OUTPUT) 143 #define HAVE_AVFOUNDATION_MEDIA_SELECTION_GROUP 1 144 #define HAVE_AVFOUNDATION_LEGIBLE_OUTPUT_SUPPORT 1 141 145 #endif 142 146 147 #endif 148
Note: See TracChangeset
for help on using the changeset viewer.