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

Side by Side Diff: mojo/public/dart/BUILD.gn

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://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 unified diff | Download patch
« no previous file with comments | « mojo/dart/testing/validation_test_input_parser.dart ('k') | mojo/public/dart/README.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import("../mojo_sdk.gni") 1 import("../mojo_sdk.gni")
2 import("rules.gni") 2 import("rules.gni")
3 3
4 dart_mojo_sdk_sources = [ 4 dart_mojo_sdk_sources = [
5 "application.dart", 5 "lib/application.dart",
6 "bindings.dart", 6 "lib/bindings.dart",
7 "core.dart", 7 "lib/core.dart",
8 "src/application_connection.dart", 8 "lib/src/application_connection.dart",
9 "src/application.dart", 9 "lib/src/application.dart",
10 "src/buffer.dart", 10 "lib/src/buffer.dart",
11 "src/codec.dart", 11 "lib/src/codec.dart",
12 "src/control_message.dart", 12 "lib/src/control_message.dart",
13 "src/data_pipe.dart", 13 "lib/src/data_pipe.dart",
14 "src/drain_data.dart", 14 "lib/src/drain_data.dart",
15 "src/event_stream.dart", 15 "lib/src/event_stream.dart",
16 "src/handle.dart", 16 "lib/src/handle.dart",
17 "src/message.dart", 17 "lib/src/message.dart",
18 "src/message_pipe.dart", 18 "lib/src/message_pipe.dart",
19 "src/proxy.dart", 19 "lib/src/proxy.dart",
20 "src/struct.dart", 20 "lib/src/struct.dart",
21 "src/stub.dart", 21 "lib/src/stub.dart",
22 "src/types.dart", 22 "lib/src/types.dart",
23 ] 23 ]
24 24
25 dart_package("dart") { 25 dartzip_package("dart") {
26 # This base dir ensures that Dart's Mojo SDK can be imported with, e.g., 26 sources = dart_mojo_sdk_sources + [
27 # import 'package:mojo/public/dart/core.dart' even when the Mojo SDK lives 27 "pubspec.yaml",
28 # somewhere else in the source tree. 28 "README.md",
29 base_dir = rebase_path("../../$mojo_root", ".", ".") 29 ]
30 sources = dart_mojo_sdk_sources 30 uses_pub = true
31 package_name_override = "mojo"
31 deps = [ 32 deps = [
32 "../interfaces/application", 33 "../interfaces/application",
33 "../interfaces/bindings", 34 "../interfaces/bindings",
35 ]
36 }
37
38 dart_pkg("mojo") {
39 sources = dart_mojo_sdk_sources + [
40 "pubspec.yaml",
41 "README.md",
42 ]
43 deps = [
44 "../interfaces/application",
45 "../interfaces/bindings",
34 ] 46 ]
35 } 47 }
OLDNEW
« no previous file with comments | « mojo/dart/testing/validation_test_input_parser.dart ('k') | mojo/public/dart/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698