Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: mojo/public/third_party/dart-pkg/README.md

Issue 1346773002: Stop running pub get at gclient sync time and fix build bugs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/third_party/dart-pkg/README.md
diff --git a/mojo/public/third_party/dart-pkg/README.md b/mojo/public/third_party/dart-pkg/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..a6fa73209335433c5ae6c45a3101a0d7cc4486ba
--- /dev/null
+++ b/mojo/public/third_party/dart-pkg/README.md
@@ -0,0 +1,12 @@
+# Dart Package Dependencies
+
+## Dependening on a new Dart package
+
+1. Edit `DEPS` and add your package revision to `vars`
+2. Edit `DEPS` and add your package to `deps` checking out to `/mojo/public/third_party/dart-pkg/package`
+3. Edit `/mojo/public/third_party/dart-pkg/BUILD.gn` and add a `dart_pkg` rule for the package.
+
+## Updating the version of an existing Dart package
+
+1. Edit `DEPS` and update the package revision in `vars`
+2. Edit any related `pubspec.yaml` files and adjust version constraints accordingly

Powered by Google App Engine
This is Rietveld 408576698