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

Unified Diff: mojo/dart/third_party/BUILD.gn

Issue 1157263003: Add vector_math and box2d as external Dart packages (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/dart/third_party/BUILD.gn
diff --git a/services/dart/test/echo/BUILD.gn b/mojo/dart/third_party/BUILD.gn
similarity index 52%
copy from services/dart/test/echo/BUILD.gn
copy to mojo/dart/third_party/BUILD.gn
index c484aa5dd85306253e5a62d22b6e6e4652dcd58c..8932e4c1588a62ef1046a0e14b131bf0dd17ab8d 100644
--- a/services/dart/test/echo/BUILD.gn
+++ b/mojo/dart/third_party/BUILD.gn
@@ -4,13 +4,17 @@
import("//mojo/public/dart/rules.gni")
-dartzip_packaged_application("echo") {
- output_name = "dart_echo"
- sources = [
- "main.dart",
- ]
+group("third_party") {
deps = [
- "//mojo/public/dart",
- "//services/dart/test:echo_service_interface",
+ ":box2d",
+ ":vector_math",
]
}
+
+dart_pkg("box2d") {
+ pkg_dir = "//third_party/dart-pkg/box2d"
+}
+
+dart_pkg("vector_math") {
+ pkg_dir = "//third_party/dart-pkg/vector_math"
+}

Powered by Google App Engine
This is Rietveld 408576698