Matan Lurey be5446426c Prepare to move new folders into third_party/ by adding a .gitignore. (flutter/engine#46729)
As part of https://github.com/flutter/flutter/issues/67373, we'll be
adding, for example `third_party/glfw`.

This PR will by default ignore folders, except for ones that have
internal repo-sourced code (which are unlikely to change much, if at all
during this transition).

_/cc @Hixie, @chinmaygarde FYI only_.
2023-10-10 13:36:43 -07:00
..

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 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.

  • Code that is licensed separately from the rest of the Flutter repository. For example, see third_party/txt.

When adding a new externally sourced third-party library, update .gitignore:

# Ignores all third_party/ directories except for the ones we want to track.

+ !{folder_name}/