Move imgui from buildroot to flutter third_party (flutter/engine#47031)
As part of eliminating the Flutter buildroot (#67373), we are moving all third-party dependencies from //third_party to //flutter/third_party. Once all third-party dependencies have been migrated, tooling and config will be moved and the buildroot will be eliminated altogether. Issue: https://github.com/flutter/flutter/issues/136284 No tests changed because there is no semantic change to this PR. This is simply relocating a dependency. ## 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]. - [X] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [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
This commit is contained in:
2
DEPS
2
DEPS
@@ -671,7 +671,7 @@ deps = {
|
||||
'src/third_party/pkg/vector_math':
|
||||
Var('dart_git') + '/external/github.com/google/vector_math.dart.git' + '@' + '0a5fd95449083d404df9768bc1b321b88a7d2eef', # 2.1.0
|
||||
|
||||
'src/third_party/imgui':
|
||||
'src/flutter/third_party/imgui':
|
||||
Var('github_git') + '/ocornut/imgui.git' + '@' + '3ea0fad204e994d669f79ed29dcaf61cd5cb571d',
|
||||
|
||||
'src/third_party/tinygltf':
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
source_root = "//third_party/imgui"
|
||||
source_root = "//flutter/third_party/imgui"
|
||||
|
||||
source_set("imgui") {
|
||||
public = [
|
||||
@@ -445,6 +445,7 @@
|
||||
../../../flutter/third_party/glfw/src/CMakeLists.txt
|
||||
../../../flutter/third_party/glfw/tests
|
||||
../../../flutter/third_party/gn
|
||||
../../../flutter/third_party/imgui
|
||||
../../../flutter/third_party/ninja
|
||||
../../../flutter/third_party/spring_animation/README.md
|
||||
../../../flutter/third_party/test_shaders
|
||||
@@ -2231,7 +2232,6 @@
|
||||
../../../third_party/icu/source/tools/toolutil/sources.txt
|
||||
../../../third_party/icu/source/tools/tzcode/Makefile.in
|
||||
../../../third_party/icu/source/tools/tzcode/readme.txt
|
||||
../../../third_party/imgui
|
||||
../../../third_party/inja/.clang-format
|
||||
../../../third_party/inja/.git
|
||||
../../../third_party/inja/.github
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Signature: 2da12666eedd83b571506f27f8445d99
|
||||
Signature: f161ef7a408768b3ded7494d69263d9b
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ impeller_component("playground") {
|
||||
"imgui:imgui_impeller_backend",
|
||||
"//flutter/fml",
|
||||
"//flutter/third_party/glfw",
|
||||
"//third_party/imgui:imgui_glfw",
|
||||
"//flutter/third_party/imgui:imgui_glfw",
|
||||
]
|
||||
|
||||
if (impeller_supports_rendering) {
|
||||
|
||||
@@ -19,7 +19,7 @@ impeller_shaders("imgui_shaders") {
|
||||
impeller_component("imgui_impeller_backend") {
|
||||
public_deps = [
|
||||
":imgui_shaders",
|
||||
"//third_party/imgui",
|
||||
"//flutter/third_party/imgui",
|
||||
]
|
||||
|
||||
deps = [ "//flutter/impeller/renderer" ]
|
||||
|
||||
@@ -32,6 +32,7 @@ final Set<String> skippedPaths = <String>{
|
||||
r'flutter/third_party/glfw/deps', // Only used by examples and tests; not linked in build.
|
||||
r'flutter/third_party/glfw/docs',
|
||||
r'flutter/third_party/gn',
|
||||
r'flutter/third_party/imgui',
|
||||
r'flutter/third_party/ninja', // build system
|
||||
r'flutter/third_party/test_shaders', // for tests only
|
||||
r'flutter/third_party/txt/third_party/fonts',
|
||||
@@ -112,7 +113,6 @@ final Set<String> skippedPaths = <String>{
|
||||
r'third_party/icu/source/data/brkitr/dictionaries/cjdict.txt', // explicitly handled by ICU license
|
||||
r'third_party/icu/source/data/brkitr/dictionaries/laodict.txt', // explicitly handled by ICU license
|
||||
r'third_party/icu/source/data/dtd',
|
||||
r'third_party/imgui',
|
||||
r'third_party/inja/doc', // documentation
|
||||
r'third_party/inja/third_party/amalgamate', // only used at build time
|
||||
r'third_party/inja/third_party/include/doctest', // seems to be a unit test library
|
||||
|
||||
Reference in New Issue
Block a user