| Index: sky/engine/platform/BUILD.gn
|
| diff --git a/sky/engine/platform/BUILD.gn b/sky/engine/platform/BUILD.gn
|
| index c0bae3bef2613e9d6ec681377a2e036c48a38dae..3deeddddc4f8af6c59447deb32f88d89cb488e08 100644
|
| --- a/sky/engine/platform/BUILD.gn
|
| +++ b/sky/engine/platform/BUILD.gn
|
| @@ -89,41 +89,92 @@ source_set("platform") {
|
| visibility += [ "//sky/*" ]
|
|
|
| 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",
|
| - "Cursor.h",
|
| "DateComponents.cpp",
|
| "DateComponents.h",
|
| "Decimal.cpp",
|
| "Decimal.h",
|
| "EventDispatchForbiddenScope.h",
|
| - "exported/linux/WebFontInfo.cpp",
|
| - "exported/linux/WebFontRenderStyle.cpp",
|
| + "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",
|
| + "MIMETypeRegistry.cpp",
|
| + "MIMETypeRegistry.h",
|
| + "NotImplemented.cpp",
|
| + "NotImplemented.h",
|
| + "ParsingUtilities.h",
|
| + "Partitions.cpp",
|
| + "Partitions.h",
|
| + "PlatformExport.h",
|
| + "PlatformScreen.cpp",
|
| + "PlatformScreen.h",
|
| + "PlatformThreadData.cpp",
|
| + "PlatformThreadData.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",
|
| + "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/Platform.cpp",
|
| "exported/ServiceProvider.cpp",
|
| "exported/WebArrayBuffer.cpp",
|
| - "exported/WebCommon.cpp",
|
| "exported/WebCString.cpp",
|
| - "exported/WebCursorInfo.cpp",
|
| + "exported/WebCommon.cpp",
|
| "exported/WebData.cpp",
|
| "exported/WebHTTPBody.cpp",
|
| "exported/WebHTTPLoadInfo.cpp",
|
| @@ -138,11 +189,11 @@ source_set("platform") {
|
| "exported/WebURLResponsePrivate.h",
|
| "exported/WrappedResourceRequest.h",
|
| "exported/WrappedResourceResponse.h",
|
| + "exported/linux/WebFontInfo.cpp",
|
| + "exported/linux/WebFontRenderStyle.cpp",
|
| "fetcher/MojoFetcher.cpp",
|
| "fetcher/MojoFetcher.h",
|
| - "FloatConversion.h",
|
| "fonts/AlternateFontFamily.h",
|
| - "fonts/android/FontCacheAndroid.cpp",
|
| "fonts/Character.cpp",
|
| "fonts/Character.h",
|
| "fonts/CustomFontData.h",
|
| @@ -186,13 +237,26 @@ source_set("platform") {
|
| "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/TextRenderingMode.h",
|
| + "fonts/TypesettingFeatures.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/HarfBuzzFace.cpp",
|
| "fonts/harfbuzz/HarfBuzzFace.h",
|
| "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",
|
| @@ -200,22 +264,10 @@ source_set("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",
|
| @@ -270,6 +322,55 @@ source_set("platform") {
|
| "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",
|
| + "graphics/GradientGeneratedImage.h",
|
| + "graphics/GraphicsContext.cpp",
|
| + "graphics/GraphicsContext.h",
|
| + "graphics/GraphicsContextState.cpp",
|
| + "graphics/GraphicsContextState.h",
|
| + "graphics/GraphicsContextStateSaver.h",
|
| + "graphics/GraphicsTypes.cpp",
|
| + "graphics/GraphicsTypes.h",
|
| + "graphics/GraphicsTypes3D.h",
|
| + "graphics/Image.cpp",
|
| + "graphics/Image.h",
|
| + "graphics/ImageBuffer.cpp",
|
| + "graphics/ImageBuffer.h",
|
| + "graphics/ImageBufferClient.h",
|
| + "graphics/ImageBufferSurface.cpp",
|
| + "graphics/ImageBufferSurface.h",
|
| + "graphics/ImageDecodingStore.cpp",
|
| + "graphics/ImageDecodingStore.h",
|
| + "graphics/ImageFilter.cpp",
|
| + "graphics/ImageFilter.h",
|
| + "graphics/ImageFrameGenerator.cpp",
|
| + "graphics/ImageFrameGenerator.h",
|
| + "graphics/ImageObserver.cpp",
|
| + "graphics/ImageObserver.h",
|
| + "graphics/ImageOrientation.cpp",
|
| + "graphics/ImageOrientation.h",
|
| + "graphics/ImageSource.cpp",
|
| + "graphics/ImageSource.h",
|
| + "graphics/Path.cpp",
|
| + "graphics/Path.h",
|
| + "graphics/PathTraversalState.cpp",
|
| + "graphics/PathTraversalState.h",
|
| + "graphics/Pattern.cpp",
|
| + "graphics/Pattern.h",
|
| + "graphics/RegionTracker.cpp",
|
| + "graphics/RegionTracker.h",
|
| + "graphics/StrokeData.cpp",
|
| + "graphics/StrokeData.h",
|
| + "graphics/ThreadSafeDataTransport.cpp",
|
| + "graphics/ThreadSafeDataTransport.h",
|
| + "graphics/UnacceleratedImageBufferSurface.cpp",
|
| + "graphics/UnacceleratedImageBufferSurface.h",
|
| "graphics/filters/DistantLightSource.cpp",
|
| "graphics/filters/DistantLightSource.h",
|
| "graphics/filters/FEBlend.cpp",
|
| @@ -326,10 +427,6 @@ source_set("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",
|
| @@ -338,60 +435,18 @@ source_set("platform") {
|
| "graphics/gpu/WebGLImageBufferSurface.h",
|
| "graphics/gpu/WebGLImageConversion.cpp",
|
| "graphics/gpu/WebGLImageConversion.h",
|
| - "graphics/Gradient.cpp",
|
| - "graphics/Gradient.h",
|
| - "graphics/GradientGeneratedImage.cpp",
|
| - "graphics/GradientGeneratedImage.h",
|
| - "graphics/GraphicsContext.cpp",
|
| - "graphics/GraphicsContext.h",
|
| - "graphics/GraphicsContextState.cpp",
|
| - "graphics/GraphicsContextState.h",
|
| - "graphics/GraphicsContextStateSaver.h",
|
| - "graphics/GraphicsTypes.cpp",
|
| - "graphics/GraphicsTypes.h",
|
| - "graphics/GraphicsTypes3D.h",
|
| - "graphics/Image.cpp",
|
| - "graphics/Image.h",
|
| - "graphics/ImageBuffer.cpp",
|
| - "graphics/ImageBuffer.h",
|
| - "graphics/ImageBufferClient.h",
|
| - "graphics/ImageBufferSurface.cpp",
|
| - "graphics/ImageBufferSurface.h",
|
| - "graphics/ImageDecodingStore.cpp",
|
| - "graphics/ImageDecodingStore.h",
|
| - "graphics/ImageFilter.cpp",
|
| - "graphics/ImageFilter.h",
|
| - "graphics/ImageFrameGenerator.cpp",
|
| - "graphics/ImageFrameGenerator.h",
|
| - "graphics/ImageObserver.cpp",
|
| - "graphics/ImageObserver.h",
|
| - "graphics/ImageOrientation.cpp",
|
| - "graphics/ImageOrientation.h",
|
| - "graphics/ImageSource.cpp",
|
| - "graphics/ImageSource.h",
|
| - "graphics/Path.cpp",
|
| - "graphics/Path.h",
|
| - "graphics/PathTraversalState.cpp",
|
| - "graphics/PathTraversalState.h",
|
| - "graphics/Pattern.cpp",
|
| - "graphics/Pattern.h",
|
| - "graphics/RegionTracker.cpp",
|
| - "graphics/RegionTracker.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/skia/SkSizeHash.h",
|
| - "graphics/StrokeData.cpp",
|
| - "graphics/StrokeData.h",
|
| - "graphics/ThreadSafeDataTransport.cpp",
|
| - "graphics/ThreadSafeDataTransport.h",
|
| - "graphics/UnacceleratedImageBufferSurface.cpp",
|
| - "graphics/UnacceleratedImageBufferSurface.h",
|
| "heap/Handle.h",
|
| - "HostWindow.h",
|
| + "image-decoders/ImageDecoder.cpp",
|
| + "image-decoders/ImageDecoder.h",
|
| + "image-decoders/ImageFrame.cpp",
|
| + "image-decoders/ImageFrame.h",
|
| "image-decoders/bmp/BMPImageDecoder.cpp",
|
| "image-decoders/bmp/BMPImageDecoder.h",
|
| "image-decoders/bmp/BMPImageReader.cpp",
|
| @@ -402,10 +457,6 @@ source_set("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",
|
| @@ -414,29 +465,6 @@ source_set("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",
|
| - "MIMETypeRegistry.cpp",
|
| - "MIMETypeRegistry.h",
|
| "network/FormData.cpp",
|
| "network/FormData.h",
|
| "network/FormDataBuilder.cpp",
|
| @@ -460,28 +488,6 @@ source_set("platform") {
|
| "network/ResourceRequest.h",
|
| "network/ResourceResponse.cpp",
|
| "network/ResourceResponse.h",
|
| - "NotImplemented.cpp",
|
| - "NotImplemented.h",
|
| - "ParsingUtilities.h",
|
| - "Partitions.cpp",
|
| - "Partitions.h",
|
| - "PlatformExport.h",
|
| - "PlatformScreen.cpp",
|
| - "PlatformScreen.h",
|
| - "PlatformThreadData.cpp",
|
| - "PlatformThreadData.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",
|
| "text/BidiCharacterRun.cpp",
|
| "text/BidiCharacterRun.h",
|
| "text/BidiContext.cpp",
|
| @@ -530,11 +536,6 @@ source_set("platform") {
|
| "text/UnicodeRange.h",
|
| "text/UnicodeUtilities.cpp",
|
| "text/UnicodeUtilities.h",
|
| - "ThreadTimers.cpp",
|
| - "ThreadTimers.h",
|
| - "Timer.cpp",
|
| - "Timer.h",
|
| - "TraceEvent.h",
|
| "transforms/AffineTransform.cpp",
|
| "transforms/AffineTransform.h",
|
| "transforms/IdentityTransformOperation.h",
|
| @@ -552,26 +553,22 @@ source_set("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/TransformationMatrix.cpp",
|
| + "transforms/TransformationMatrix.h",
|
| "transforms/TranslateTransformOperation.cpp",
|
| "transforms/TranslateTransformOperation.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/SecurityPolicy.cpp",
|
| "weborigin/SecurityPolicy.h",
|
| - "WebThread.cpp",
|
| - "Widget.cpp",
|
| - "Widget.h",
|
| - "WindowsKeyboardCodes.h",
|
| ]
|
|
|
| # Add in the generated files.
|
| @@ -678,11 +675,11 @@ test("platform_unittests") {
|
| "mac/ScrollElasticityControllerTest.mm",
|
| "network/HTTPParsersTest.cpp",
|
| "testing/RunAllTests.cpp",
|
| - "transforms/TransformOperationsTest.cpp",
|
| - "transforms/TransformationMatrixTest.cpp",
|
| "text/BidiResolverTest.cpp",
|
| "text/SegmentedStringTest.cpp",
|
| "text/UnicodeUtilitiesTest.cpp",
|
| + "transforms/TransformOperationsTest.cpp",
|
| + "transforms/TransformationMatrixTest.cpp",
|
| "weborigin/KURLTest.cpp",
|
| "weborigin/SecurityPolicyTest.cpp",
|
| ]
|
|
|