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

Unified Diff: third_party/dart-pkg/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
« no previous file with comments | « mojo/public/dart/rules.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/dart-pkg/BUILD.gn
diff --git a/services/dart/test/echo/BUILD.gn b/third_party/dart-pkg/BUILD.gn
similarity index 52%
copy from services/dart/test/echo/BUILD.gn
copy to third_party/dart-pkg/BUILD.gn
index c484aa5dd85306253e5a62d22b6e6e4652dcd58c..09d8e8d73e26d8b5ccaff1feafd91c85ad798de7 100644
--- a/services/dart/test/echo/BUILD.gn
+++ b/third_party/dart-pkg/BUILD.gn
@@ -4,13 +4,17 @@
import("//mojo/public/dart/rules.gni")
-dartzip_packaged_application("echo") {
- output_name = "dart_echo"
- sources = [
- "main.dart",
- ]
+group("dart-pkg") {
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"
+}
« no previous file with comments | « mojo/public/dart/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698