Index: sky/engine/platform/BUILD.gn |
diff --git a/sky/engine/platform/BUILD.gn b/sky/engine/platform/BUILD.gn |
index 583cdb0a95e93128a49e45d1353102fa4bff5827..261912b387091764d170113b5d514a51a492aae7 100644 |
--- a/sky/engine/platform/BUILD.gn |
+++ b/sky/engine/platform/BUILD.gn |
@@ -84,10 +84,24 @@ component("platform") { |
output_name = "sky_platform" |
sources = [ |
+ "animation/AnimationUtilities.h", |
+ "animation/AnimationValue.h", |
+ "animation/KeyframeValueList.cpp", |
+ "animation/KeyframeValueList.h", |
+ "animation/TimingFunction.cpp", |
+ "animation/TimingFunction.h", |
+ "animation/UnitBezier.h", |
+ "AsyncMethodRunner.h", |
"CalculationValue.h", |
"CheckedInt.h", |
+ "clipboard/ClipboardMimeTypes.cpp", |
+ "clipboard/ClipboardMimeTypes.h", |
+ "clipboard/ClipboardUtilities.cpp", |
+ "clipboard/ClipboardUtilities.h", |
+ "clipboard/ClipboardUtilitiesPosix.cpp", |
"Clock.cpp", |
"Clock.h", |
+ "ColorSuggestion.h", |
"ContentType.cpp", |
"ContentType.h", |
"Cursor.cpp", |
@@ -99,95 +113,16 @@ component("platform") { |
"EventDispatchForbiddenScope.h", |
"EventTracer.cpp", |
"EventTracer.h", |
- "FloatConversion.h", |
- "HostWindow.h", |
- "JSONValues.cpp", |
- "JSONValues.h", |
- "KeyboardCodes.h", |
- "Language.cpp", |
- "Language.h", |
- "LayoutTestSupport.cpp", |
- "LayoutTestSupport.h", |
- "LayoutUnit.h", |
- "Length.cpp", |
- "Length.h", |
- "LengthBox.cpp", |
- "LengthBox.h", |
- "LengthFunctions.cpp", |
- "LengthFunctions.h", |
- "LengthPoint.h", |
- "LengthSize.h", |
- "LifecycleContext.h", |
- "LifecycleNotifier.h", |
- "LifecycleObserver.h", |
- "Logging.cpp", |
- "Logging.h", |
- "MIMETypeFromURL.cpp", |
- "MIMETypeFromURL.h", |
- "MIMETypeRegistry.cpp", |
- "MIMETypeRegistry.h", |
- "NotImplemented.cpp", |
- "NotImplemented.h", |
- "ParsingUtilities.h", |
- "Partitions.cpp", |
- "Partitions.h", |
- "PlatformEvent.h", |
- "PlatformGestureEvent.h", |
- "PlatformKeyboardEvent.cpp", |
- "PlatformKeyboardEvent.h", |
- "PlatformMouseEvent.h", |
- "PlatformScreen.cpp", |
- "PlatformScreen.h", |
- "PlatformThreadData.cpp", |
- "PlatformThreadData.h", |
- "PlatformTouchEvent.h", |
- "PlatformTouchPoint.h", |
- "PlatformWheelEvent.h", |
- "PurgeableVector.cpp", |
- "PurgeableVector.h", |
- "RefCountedSupplement.h", |
- "ScriptForbiddenScope.cpp", |
- "ScriptForbiddenScope.h", |
- "SharedBuffer.cpp", |
- "SharedBuffer.h", |
- "SharedBufferChunkReader.cpp", |
- "SharedBufferChunkReader.h", |
- "SharedTimer.cpp", |
- "SharedTimer.h", |
- "Supplementable.h", |
- "ThreadTimers.cpp", |
- "ThreadTimers.h", |
- "Timer.cpp", |
- "Timer.h", |
- "TraceEvent.h", |
- "TracedValue.cpp", |
- "TracedValue.h", |
- "UserGestureIndicator.cpp", |
- "UserGestureIndicator.h", |
- "WebThread.cpp", |
- "Widget.cpp", |
- "Widget.h", |
- "WindowsKeyboardCodes.h", |
- "animation/AnimationUtilities.h", |
- "animation/AnimationValue.h", |
- "animation/KeyframeValueList.cpp", |
- "animation/KeyframeValueList.h", |
- "animation/TimingFunction.cpp", |
- "animation/TimingFunction.h", |
- "animation/UnitBezier.h", |
- "clipboard/ClipboardMimeTypes.cpp", |
- "clipboard/ClipboardMimeTypes.h", |
- "clipboard/ClipboardUtilities.cpp", |
- "clipboard/ClipboardUtilities.h", |
- "clipboard/ClipboardUtilitiesPosix.cpp", |
+ "exported/linux/WebFontInfo.cpp", |
+ "exported/linux/WebFontRenderStyle.cpp", |
"exported/Platform.cpp", |
"exported/ServiceProvider.cpp", |
"exported/WebActiveGestureAnimation.cpp", |
"exported/WebActiveGestureAnimation.h", |
"exported/WebArrayBuffer.cpp", |
- "exported/WebCString.cpp", |
"exported/WebCommon.cpp", |
"exported/WebConvertableToTraceFormat.cpp", |
+ "exported/WebCString.cpp", |
"exported/WebCursorInfo.cpp", |
"exported/WebData.cpp", |
"exported/WebFilterKeyframe.cpp", |
@@ -209,13 +144,13 @@ component("platform") { |
"exported/WebURLResponsePrivate.h", |
"exported/WrappedResourceRequest.h", |
"exported/WrappedResourceResponse.h", |
- "exported/linux/WebFontInfo.cpp", |
- "exported/linux/WebFontRenderStyle.cpp", |
"fetcher/DataPipeDrainer.cpp", |
"fetcher/DataPipeDrainer.h", |
"fetcher/MojoFetcher.cpp", |
"fetcher/MojoFetcher.h", |
+ "FloatConversion.h", |
"fonts/AlternateFontFamily.h", |
+ "fonts/android/FontCacheAndroid.cpp", |
"fonts/Character.cpp", |
"fonts/Character.h", |
"fonts/CustomFontData.h", |
@@ -233,6 +168,7 @@ component("platform") { |
"fonts/FontDataCache.cpp", |
"fonts/FontDataCache.h", |
"fonts/FontDescription.cpp", |
+ "fonts/FontDescription.h", |
"fonts/FontFaceCreationParams.h", |
"fonts/FontFallbackList.cpp", |
"fonts/FontFallbackList.h", |
@@ -240,29 +176,24 @@ component("platform") { |
"fonts/FontFamily.h", |
"fonts/FontFeatureSettings.cpp", |
"fonts/FontFeatureSettings.h", |
+ "fonts/FontMetrics.h", |
+ "fonts/FontOrientation.h", |
"fonts/FontPlatformData.cpp", |
"fonts/FontPlatformData.h", |
"fonts/FontPlatformFeatures.h", |
"fonts/FontRenderStyle.h", |
+ "fonts/FontSelector.h", |
+ "fonts/FontSmoothingMode.h", |
+ "fonts/FontTraits.h", |
+ "fonts/FontWidthVariant.h", |
"fonts/GenericFontFamilySettings.cpp", |
"fonts/GenericFontFamilySettings.h", |
+ "fonts/Glyph.h", |
"fonts/GlyphBuffer.h", |
"fonts/GlyphMetricsMap.h", |
"fonts/GlyphPage.h", |
"fonts/GlyphPageTreeNode.cpp", |
"fonts/GlyphPageTreeNode.h", |
- "fonts/Latin1TextIterator.h", |
- "fonts/SegmentedFontData.cpp", |
- "fonts/SegmentedFontData.h", |
- "fonts/SimpleFontData.cpp", |
- "fonts/SimpleFontData.h", |
- "fonts/TextBlob.h", |
- "fonts/VDMXParser.cpp", |
- "fonts/VDMXParser.h", |
- "fonts/WidthCache.h", |
- "fonts/WidthIterator.cpp", |
- "fonts/WidthIterator.h", |
- "fonts/android/FontCacheAndroid.cpp", |
"fonts/harfbuzz/FontHarfBuzz.cpp", |
"fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp", |
"fonts/harfbuzz/FontPlatformDataHarfBuzz.h", |
@@ -272,6 +203,7 @@ component("platform") { |
"fonts/harfbuzz/HarfBuzzFaceSkia.cpp", |
"fonts/harfbuzz/HarfBuzzShaper.cpp", |
"fonts/harfbuzz/HarfBuzzShaper.h", |
+ "fonts/Latin1TextIterator.h", |
"fonts/linux/FontCacheLinux.cpp", |
"fonts/linux/FontPlatformDataLinux.cpp", |
"fonts/opentype/OpenTypeSanitizer.cpp", |
@@ -279,10 +211,23 @@ component("platform") { |
"fonts/opentype/OpenTypeTypes.h", |
"fonts/opentype/OpenTypeVerticalData.cpp", |
"fonts/opentype/OpenTypeVerticalData.h", |
+ "fonts/SegmentedFontData.cpp", |
+ "fonts/SegmentedFontData.h", |
+ "fonts/SimpleFontData.cpp", |
+ "fonts/SimpleFontData.h", |
"fonts/skia/FontCacheSkia.cpp", |
"fonts/skia/FontCustomPlatformDataSkia.cpp", |
"fonts/skia/FontPlatformDataSkia.cpp", |
"fonts/skia/SimpleFontDataSkia.cpp", |
+ "fonts/TextBlob.h", |
+ "fonts/TextRenderingMode.h", |
+ "fonts/TypesettingFeatures.h", |
+ "fonts/VDMXParser.cpp", |
+ "fonts/VDMXParser.h", |
+ "fonts/WidthCache.h", |
+ "fonts/WidthIterator.cpp", |
+ "fonts/WidthIterator.h", |
+ "geometry/FloatBox.h", |
"geometry/FloatBoxExtent.h", |
"geometry/FloatPoint.cpp", |
"geometry/FloatPoint.h", |
@@ -314,6 +259,32 @@ component("platform") { |
"geometry/RoundedRect.h", |
"geometry/TransformState.cpp", |
"geometry/TransformState.h", |
+ "graphics/BitmapImage.cpp", |
+ "graphics/BitmapImage.h", |
+ "graphics/Canvas2DImageBufferSurface.h", |
+ "graphics/Canvas2DLayerBridge.cpp", |
+ "graphics/Canvas2DLayerBridge.h", |
+ "graphics/Canvas2DLayerManager.cpp", |
+ "graphics/Canvas2DLayerManager.h", |
+ "graphics/Color.cpp", |
+ "graphics/Color.h", |
+ "graphics/ColorSpace.cpp", |
+ "graphics/ColorSpace.h", |
+ "graphics/CompositingReasons.cpp", |
+ "graphics/CompositingReasons.h", |
+ "graphics/CrossfadeGeneratedImage.cpp", |
+ "graphics/CrossfadeGeneratedImage.h", |
+ "graphics/DashArray.h", |
+ "graphics/DecodingImageGenerator.cpp", |
+ "graphics/DecodingImageGenerator.h", |
+ "graphics/DeferredImageDecoder.cpp", |
+ "graphics/DeferredImageDecoder.h", |
+ "graphics/DisplayList.cpp", |
+ "graphics/DisplayList.h", |
+ "graphics/DrawLooperBuilder.cpp", |
+ "graphics/DrawLooperBuilder.h", |
+ "graphics/filters/DistantLightSource.cpp", |
+ "graphics/filters/DistantLightSource.h", |
"graphics/filters/FEBlend.cpp", |
"graphics/filters/FEBlend.h", |
"graphics/filters/FEColorMatrix.cpp", |
@@ -357,8 +328,6 @@ component("platform") { |
"graphics/filters/FilterOperations.h", |
"graphics/filters/LightSource.cpp", |
"graphics/filters/LightSource.h", |
- "graphics/filters/DistantLightSource.cpp", |
- "graphics/filters/DistantLightSource.h", |
"graphics/filters/ParallelJobs.h", |
"graphics/filters/PointLightSource.cpp", |
"graphics/filters/PointLightSource.h", |
@@ -372,6 +341,10 @@ component("platform") { |
"graphics/filters/SourceGraphic.h", |
"graphics/filters/SpotLightSource.cpp", |
"graphics/filters/SpotLightSource.h", |
+ "graphics/FrameData.cpp", |
+ "graphics/FrameData.h", |
+ "graphics/GeneratedImage.cpp", |
+ "graphics/GeneratedImage.h", |
"graphics/gpu/DrawingBuffer.cpp", |
"graphics/gpu/DrawingBuffer.h", |
"graphics/gpu/Extensions3DUtil.cpp", |
@@ -380,40 +353,6 @@ component("platform") { |
"graphics/gpu/WebGLImageBufferSurface.h", |
"graphics/gpu/WebGLImageConversion.cpp", |
"graphics/gpu/WebGLImageConversion.h", |
- "graphics/skia/GaneshUtils.cpp", |
- "graphics/skia/GaneshUtils.h", |
- "graphics/skia/NativeImageSkia.cpp", |
- "graphics/skia/NativeImageSkia.h", |
- "graphics/skia/SkSizeHash.h", |
- "graphics/skia/SkiaUtils.cpp", |
- "graphics/skia/SkiaUtils.h", |
- "graphics/BitmapImage.cpp", |
- "graphics/BitmapImage.h", |
- "graphics/Canvas2DImageBufferSurface.h", |
- "graphics/Canvas2DLayerBridge.cpp", |
- "graphics/Canvas2DLayerBridge.h", |
- "graphics/Canvas2DLayerManager.cpp", |
- "graphics/Canvas2DLayerManager.h", |
- "graphics/Color.cpp", |
- "graphics/Color.h", |
- "graphics/ColorSpace.cpp", |
- "graphics/ColorSpace.h", |
- "graphics/CompositingReasons.h", |
- "graphics/CompositingReasons.cpp", |
- "graphics/CrossfadeGeneratedImage.cpp", |
- "graphics/CrossfadeGeneratedImage.h", |
- "graphics/DecodingImageGenerator.cpp", |
- "graphics/DecodingImageGenerator.h", |
- "graphics/DeferredImageDecoder.cpp", |
- "graphics/DeferredImageDecoder.h", |
- "graphics/DisplayList.cpp", |
- "graphics/DisplayList.h", |
- "graphics/DrawLooperBuilder.cpp", |
- "graphics/DrawLooperBuilder.h", |
- "graphics/FrameData.cpp", |
- "graphics/FrameData.h", |
- "graphics/GeneratedImage.cpp", |
- "graphics/GeneratedImage.h", |
"graphics/Gradient.cpp", |
"graphics/Gradient.h", |
"graphics/GradientGeneratedImage.cpp", |
@@ -429,9 +368,9 @@ component("platform") { |
"graphics/GraphicsContextStateSaver.h", |
"graphics/GraphicsLayer.cpp", |
"graphics/GraphicsLayer.h", |
+ "graphics/GraphicsLayerClient.h", |
"graphics/GraphicsLayerDebugInfo.cpp", |
"graphics/GraphicsLayerDebugInfo.h", |
- "graphics/GraphicsLayerClient.h", |
"graphics/GraphicsLayerFactory.h", |
"graphics/GraphicsTypes.cpp", |
"graphics/GraphicsTypes.h", |
@@ -455,6 +394,7 @@ component("platform") { |
"graphics/ImageOrientation.h", |
"graphics/ImageSource.cpp", |
"graphics/ImageSource.h", |
+ "graphics/InterceptingCanvas.h", |
"graphics/LoggingCanvas.cpp", |
"graphics/LoggingCanvas.h", |
"graphics/OpaqueRectTrackingContentLayerDelegate.cpp", |
@@ -471,16 +411,20 @@ component("platform") { |
"graphics/RegionTracker.h", |
"graphics/ReplayingCanvas.cpp", |
"graphics/ReplayingCanvas.h", |
+ "graphics/skia/GaneshUtils.cpp", |
+ "graphics/skia/GaneshUtils.h", |
+ "graphics/skia/NativeImageSkia.cpp", |
+ "graphics/skia/NativeImageSkia.h", |
+ "graphics/skia/SkiaUtils.cpp", |
+ "graphics/skia/SkiaUtils.h", |
+ "graphics/skia/SkSizeHash.h", |
"graphics/StrokeData.cpp", |
"graphics/StrokeData.h", |
"graphics/ThreadSafeDataTransport.cpp", |
"graphics/ThreadSafeDataTransport.h", |
"graphics/UnacceleratedImageBufferSurface.cpp", |
"graphics/UnacceleratedImageBufferSurface.h", |
- "image-decoders/ImageDecoder.cpp", |
- "image-decoders/ImageDecoder.h", |
- "image-decoders/ImageFrame.cpp", |
- "image-decoders/ImageFrame.h", |
+ "HostWindow.h", |
"image-decoders/bmp/BMPImageDecoder.cpp", |
"image-decoders/bmp/BMPImageDecoder.h", |
"image-decoders/bmp/BMPImageReader.cpp", |
@@ -491,6 +435,10 @@ component("platform") { |
"image-decoders/gif/GIFImageReader.h", |
"image-decoders/ico/ICOImageDecoder.cpp", |
"image-decoders/ico/ICOImageDecoder.h", |
+ "image-decoders/ImageDecoder.cpp", |
+ "image-decoders/ImageDecoder.h", |
+ "image-decoders/ImageFrame.cpp", |
+ "image-decoders/ImageFrame.h", |
"image-decoders/jpeg/JPEGImageDecoder.cpp", |
"image-decoders/jpeg/JPEGImageDecoder.h", |
"image-decoders/png/PNGImageDecoder.cpp", |
@@ -499,6 +447,35 @@ component("platform") { |
"image-encoders/skia/JPEGImageEncoder.h", |
"image-encoders/skia/PNGImageEncoder.cpp", |
"image-encoders/skia/PNGImageEncoder.h", |
+ "JSONValues.cpp", |
+ "JSONValues.h", |
+ "KeyboardCodes.h", |
+ "Language.cpp", |
+ "Language.h", |
+ "LayoutTestSupport.cpp", |
+ "LayoutTestSupport.h", |
+ "LayoutUnit.h", |
+ "Length.cpp", |
+ "Length.h", |
+ "LengthBox.cpp", |
+ "LengthBox.h", |
+ "LengthFunctions.cpp", |
+ "LengthFunctions.h", |
+ "LengthPoint.h", |
+ "LengthSize.h", |
+ "LifecycleContext.h", |
+ "LifecycleNotifier.h", |
+ "LifecycleObserver.h", |
+ "Logging.cpp", |
+ "Logging.h", |
+ "MIMETypeFromURL.cpp", |
+ "MIMETypeFromURL.h", |
+ "MIMETypeRegistry.cpp", |
+ "MIMETypeRegistry.h", |
+ "network/FormData.cpp", |
+ "network/FormData.h", |
+ "network/FormDataBuilder.cpp", |
+ "network/FormDataBuilder.h", |
"network/HTTPHeaderMap.cpp", |
"network/HTTPHeaderMap.h", |
"network/HTTPParsers.cpp", |
@@ -511,23 +488,52 @@ component("platform") { |
"network/ProxyServer.h", |
"network/ResourceError.cpp", |
"network/ResourceError.h", |
- "network/FormData.cpp", |
- "network/FormData.h", |
- "network/FormDataBuilder.cpp", |
- "network/FormDataBuilder.h", |
+ "network/ResourceLoadInfo.h", |
+ "network/ResourceLoadPriority.h", |
+ "network/ResourceLoadTiming.h", |
"network/ResourceRequest.cpp", |
"network/ResourceRequest.h", |
"network/ResourceResponse.cpp", |
"network/ResourceResponse.h", |
+ "NotImplemented.cpp", |
+ "NotImplemented.h", |
+ "ParsingUtilities.h", |
+ "Partitions.cpp", |
+ "Partitions.h", |
+ "PlatformEvent.h", |
+ "PlatformExport.h", |
+ "PlatformGestureEvent.h", |
+ "PlatformKeyboardEvent.cpp", |
+ "PlatformKeyboardEvent.h", |
+ "PlatformMouseEvent.h", |
+ "PlatformScreen.cpp", |
+ "PlatformScreen.h", |
+ "PlatformThreadData.cpp", |
+ "PlatformThreadData.h", |
+ "PlatformTouchEvent.h", |
+ "PlatformTouchPoint.h", |
+ "PlatformWheelEvent.h", |
+ "PurgeableVector.cpp", |
+ "PurgeableVector.h", |
+ "RefCountedSupplement.h", |
+ "ScriptForbiddenScope.cpp", |
+ "ScriptForbiddenScope.h", |
"scroll/ProgrammaticScrollAnimator.cpp", |
"scroll/ProgrammaticScrollAnimator.h", |
- "scroll/ScrollAnimator.cpp", |
- "scroll/ScrollAnimator.h", |
- "scroll/ScrollTypes.h", |
"scroll/ScrollableArea.cpp", |
"scroll/ScrollableArea.h", |
+ "scroll/ScrollAnimator.cpp", |
+ "scroll/ScrollAnimator.h", |
"scroll/Scrollbar.cpp", |
"scroll/Scrollbar.h", |
+ "scroll/ScrollTypes.h", |
+ "SharedBuffer.cpp", |
+ "SharedBuffer.h", |
+ "SharedBufferChunkReader.cpp", |
+ "SharedBufferChunkReader.h", |
+ "SharedTimer.cpp", |
+ "SharedTimer.h", |
+ "Supplementable.h", |
"text/BidiCharacterRun.cpp", |
"text/BidiCharacterRun.h", |
"text/BidiContext.cpp", |
@@ -564,6 +570,7 @@ component("platform") { |
"text/TextCheckerClient.h", |
"text/TextChecking.h", |
"text/TextDecoration.h", |
+ "text/TextDirection.h", |
"text/TextPath.h", |
"text/TextRun.cpp", |
"text/TextRun.h", |
@@ -575,11 +582,18 @@ component("platform") { |
"text/UnicodeRange.h", |
"text/UnicodeUtilities.cpp", |
"text/UnicodeUtilities.h", |
+ "ThreadTimers.cpp", |
+ "ThreadTimers.h", |
+ "Timer.cpp", |
+ "Timer.h", |
+ "TracedValue.cpp", |
+ "TracedValue.h", |
+ "TraceEvent.h", |
"transforms/AffineTransform.cpp", |
"transforms/AffineTransform.h", |
"transforms/IdentityTransformOperation.h", |
- "transforms/InterpolatedTransformOperation.h", |
"transforms/InterpolatedTransformOperation.cpp", |
+ "transforms/InterpolatedTransformOperation.h", |
"transforms/Matrix3DTransformOperation.cpp", |
"transforms/Matrix3DTransformOperation.h", |
"transforms/MatrixTransformOperation.cpp", |
@@ -592,22 +606,30 @@ component("platform") { |
"transforms/ScaleTransformOperation.h", |
"transforms/SkewTransformOperation.cpp", |
"transforms/SkewTransformOperation.h", |
+ "transforms/TransformationMatrix.cpp", |
+ "transforms/TransformationMatrix.h", |
+ "transforms/TransformOperation.h", |
"transforms/TransformOperations.cpp", |
+ "transforms/TransformOperations.h", |
"transforms/TranslateTransformOperation.cpp", |
"transforms/TranslateTransformOperation.h", |
- "transforms/TransformationMatrix.cpp", |
- "transforms/TransformationMatrix.h", |
+ "UserGestureIndicator.cpp", |
+ "UserGestureIndicator.h", |
+ "weborigin/KnownPorts.cpp", |
+ "weborigin/KnownPorts.h", |
"weborigin/KURL.cpp", |
"weborigin/KURL.h", |
"weborigin/KURLHash.h", |
- "weborigin/KnownPorts.cpp", |
- "weborigin/KnownPorts.h", |
"weborigin/Referrer.h", |
"weborigin/ReferrerPolicy.h", |
"weborigin/SchemeRegistry.cpp", |
"weborigin/SchemeRegistry.h", |
"weborigin/SecurityPolicy.cpp", |
"weborigin/SecurityPolicy.h", |
+ "WebThread.cpp", |
+ "Widget.cpp", |
+ "Widget.h", |
+ "WindowsKeyboardCodes.h", |
] |
# Add in the generated files. |