This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Prepare to move new folders into third_party/
by adding a .gitignore
.
#46729
Merged
matanlurey
merged 5 commits into
flutter:main
from
matanlurey:engine-buildmoot-thirdPartyGitIgnore
Oct 10, 2023
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Ignore everything by default, as these come from gclient/DEPS. | ||
# We'll explicitly include the folders we want to track. | ||
* | ||
|
||
# Include the .gitignore file itself and .clang-tidy. | ||
!.gitignore | ||
!.clang-tidy | ||
!README.md | ||
|
||
# Allow custom README.flutter files in each folder. | ||
**/README.flutter | ||
|
||
# Include folders that have hand-written code (not DEPS). | ||
!accessibility/ | ||
!canvaskit/ | ||
!ninja/ | ||
!spring_animation/ | ||
!test_shaders/ | ||
!tonic/ | ||
!txt/ | ||
!web_locale_keymap/ | ||
!web_test_fonts/ | ||
!web_unicode/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# `flutter/third_party` | ||
|
||
This directory contains third-party code that is a combination of: | ||
|
||
- Code that is vendored into the Flutter repository, from an external source. | ||
For example, we might have `third_party/glfw`, which contains the GLFW | ||
library, vendored from an external repository. | ||
|
||
> 💡 **TIP**: See [`DEPS`](../DEPS) for where these sources are declared. | ||
|
||
- Code that originates from another repository, but is copied (sometimes with | ||
alterations) into the Flutter repository. For an example, see | ||
[`third_party/spring_animation`](spring_animation/README.md). | ||
|
||
- Code that is licensed separately from the rest of the Flutter repository. | ||
For example, see [`third_party/txt`](txt/). | ||
|
||
When adding a new _externally_ sourced third-party library, update `.gitignore`: | ||
|
||
```diff | ||
# Ignores all third_party/ directories except for the ones we want to track. | ||
|
||
+ !{folder_name}/ | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.