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

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

Issue 1142043005: Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix type conversion errors on win64 for some msvs 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 | « third_party/mojo/src/mojo/public/dart/.gitignore ('k') | third_party/mojo/src/mojo/public/dart/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/public/dart/BUILD.gn
diff --git a/third_party/mojo/src/mojo/public/dart/BUILD.gn b/third_party/mojo/src/mojo/public/dart/BUILD.gn
index 711eee392465d54e3b4f26995d4ec63d37e0e709..7305582dd8ed3b5d745f3f82c428f5970ddd50a3 100644
--- a/third_party/mojo/src/mojo/public/dart/BUILD.gn
+++ b/third_party/mojo/src/mojo/public/dart/BUILD.gn
@@ -2,32 +2,46 @@ import("../mojo_sdk.gni")
import("rules.gni")
dart_mojo_sdk_sources = [
- "application.dart",
- "bindings.dart",
- "core.dart",
- "src/application_connection.dart",
- "src/application.dart",
- "src/buffer.dart",
- "src/codec.dart",
- "src/data_pipe.dart",
- "src/drain_data.dart",
- "src/event_stream.dart",
- "src/handle.dart",
- "src/message.dart",
- "src/message_pipe.dart",
- "src/proxy.dart",
- "src/struct.dart",
- "src/stub.dart",
- "src/types.dart",
+ "lib/application.dart",
+ "lib/bindings.dart",
+ "lib/core.dart",
+ "lib/src/application_connection.dart",
+ "lib/src/application.dart",
+ "lib/src/buffer.dart",
+ "lib/src/codec.dart",
+ "lib/src/control_message.dart",
+ "lib/src/data_pipe.dart",
+ "lib/src/drain_data.dart",
+ "lib/src/event_stream.dart",
+ "lib/src/handle.dart",
+ "lib/src/message.dart",
+ "lib/src/message_pipe.dart",
+ "lib/src/proxy.dart",
+ "lib/src/struct.dart",
+ "lib/src/stub.dart",
+ "lib/src/types.dart",
]
-dart_package("dart") {
- # This base dir ensures that Dart's Mojo SDK can be imported with, e.g.,
- # import 'package:mojo/public/dart/core.dart' even when the Mojo SDK lives
- # somewhere else in the source tree.
- base_dir = rebase_path("../../$mojo_root", ".", ".")
- sources = dart_mojo_sdk_sources
+dartzip_package("dart") {
+ sources = dart_mojo_sdk_sources + [
+ "pubspec.yaml",
+ "README.md",
+ ]
+ uses_pub = true
+ package_name_override = "mojo"
deps = [
"../interfaces/application",
+ "../interfaces/bindings",
+ ]
+}
+
+dart_pkg("mojo") {
+ sources = dart_mojo_sdk_sources + [
+ "pubspec.yaml",
+ "README.md",
+ ]
+ deps = [
+ "../interfaces/application",
+ "../interfaces/bindings",
]
}
« no previous file with comments | « third_party/mojo/src/mojo/public/dart/.gitignore ('k') | third_party/mojo/src/mojo/public/dart/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698