mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This updates the Skwasm library to conform to the style of the rest of the engine. This includes: * Moving the location of the skwasm library into `engine/src/flutter/skwasm` instead of `engine/src/flutter/lib/web_ui/skwasm`, since that was altogether too nested and weird. * Changed all the file extensions to `.cc` instead of `.cpp` * Changed all local include paths to be from the `engine/src/flutter` directory rather than relying on the source file's location. * Changed ordering of include paths. * Removed instances of `using namespace` * Changed local variable names and argument names to use snake_case * Changed class functions to use UpperCamelCase * Changed private member variables to use trailing_ underscore instead of _leading. * Removed some uses of `auto`
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
DEPSfor 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}/