From 5c6fc5db0cb82402dff2c431638ac6828254eacc Mon Sep 17 00:00:00 2001 From: Michael Ludwig Date: Fri, 16 Aug 2024 16:29:13 -0400 Subject: [PATCH] Remove SkOSLibrary files from build and license scripts (flutter/engine#54583) These are no longer under the `src/ports` directory in Skia and are in `tools/`. But it appears that Flutter does not actually quire them. ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. - [x] I listed at least one issue that this PR fixes in the description above. - [ ] I added new tests to check the change I am making or feature I am adding, or the PR is [test-exempt]. See [testing the engine] for instructions on writing and running engine tests. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I signed the [CLA]. - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [test-exempt]: https://github.com/flutter/flutter/wiki/Tree-hygiene#tests [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style [testing the engine]: https://github.com/flutter/flutter/wiki/Testing-the-engine [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat --- engine/src/flutter/ci/licenses_golden/licenses_skia | 6 ------ engine/src/flutter/skia/BUILD.gn | 6 +----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/engine/src/flutter/ci/licenses_golden/licenses_skia b/engine/src/flutter/ci/licenses_golden/licenses_skia index 3b85552762..14fb085927 100644 --- a/engine/src/flutter/ci/licenses_golden/licenses_skia +++ b/engine/src/flutter/ci/licenses_golden/licenses_skia @@ -3309,9 +3309,6 @@ ORIGIN: ../../../flutter/third_party/skia/src/pdf/SkPDFBitmap.cpp + ../../../flu ORIGIN: ../../../flutter/third_party/skia/src/pdf/SkPDFBitmap.h + ../../../flutter/third_party/skia/LICENSE ORIGIN: ../../../flutter/third_party/skia/src/pdf/SkPDFMetadata.cpp + ../../../flutter/third_party/skia/LICENSE ORIGIN: ../../../flutter/third_party/skia/src/pdf/SkPDFMetadata.h + ../../../flutter/third_party/skia/LICENSE -ORIGIN: ../../../flutter/third_party/skia/src/ports/SkOSLibrary.h + ../../../flutter/third_party/skia/LICENSE -ORIGIN: ../../../flutter/third_party/skia/src/ports/SkOSLibrary_posix.cpp + ../../../flutter/third_party/skia/LICENSE -ORIGIN: ../../../flutter/third_party/skia/src/ports/SkOSLibrary_win.cpp + ../../../flutter/third_party/skia/LICENSE ORIGIN: ../../../flutter/third_party/skia/src/shaders/SkImageShader.cpp + ../../../flutter/third_party/skia/LICENSE ORIGIN: ../../../flutter/third_party/skia/src/shaders/SkImageShader.h + ../../../flutter/third_party/skia/LICENSE ORIGIN: ../../../flutter/third_party/skia/src/svg/SkSVGCanvas.cpp + ../../../flutter/third_party/skia/LICENSE @@ -3590,9 +3587,6 @@ FILE: ../../../flutter/third_party/skia/src/pdf/SkPDFBitmap.cpp FILE: ../../../flutter/third_party/skia/src/pdf/SkPDFBitmap.h FILE: ../../../flutter/third_party/skia/src/pdf/SkPDFMetadata.cpp FILE: ../../../flutter/third_party/skia/src/pdf/SkPDFMetadata.h -FILE: ../../../flutter/third_party/skia/src/ports/SkOSLibrary.h -FILE: ../../../flutter/third_party/skia/src/ports/SkOSLibrary_posix.cpp -FILE: ../../../flutter/third_party/skia/src/ports/SkOSLibrary_win.cpp FILE: ../../../flutter/third_party/skia/src/shaders/SkImageShader.cpp FILE: ../../../flutter/third_party/skia/src/shaders/SkImageShader.h FILE: ../../../flutter/third_party/skia/src/svg/SkSVGCanvas.cpp diff --git a/engine/src/flutter/skia/BUILD.gn b/engine/src/flutter/skia/BUILD.gn index e3cd3698f4..2218e00265 100644 --- a/engine/src/flutter/skia/BUILD.gn +++ b/engine/src/flutter/skia/BUILD.gn @@ -676,7 +676,6 @@ skia_component("skia") { sources += [ "$_skia_root/src/ports/SkDebug_win.cpp", "$_skia_root/src/ports/SkImageGeneratorWIC.cpp", - "$_skia_root/src/ports/SkOSLibrary_win.cpp", ] libs += [ "Ole32.lib", @@ -691,10 +690,7 @@ skia_component("skia") { ] } } else { - sources += [ - "$_skia_root/src/ports/SkOSFile_posix.cpp", - "$_skia_root/src/ports/SkOSLibrary_posix.cpp", - ] + sources += [ "$_skia_root/src/ports/SkOSFile_posix.cpp" ] libs += [ "dl" ] }