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

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

Issue 1259873002: Dart: Runs dartanalyzer for the dart_pkg build rule. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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
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_entrypoints = [
5 "lib/application.dart", 5 "lib/application.dart",
6 "lib/bindings.dart", 6 "lib/bindings.dart",
7 "lib/core.dart", 7 "lib/core.dart",
8 ]
9
10 dart_mojo_sdk_sources = [
8 "lib/src/application_connection.dart", 11 "lib/src/application_connection.dart",
9 "lib/src/application.dart", 12 "lib/src/application.dart",
10 "lib/src/buffer.dart", 13 "lib/src/buffer.dart",
11 "lib/src/codec.dart", 14 "lib/src/codec.dart",
12 "lib/src/control_message.dart", 15 "lib/src/control_message.dart",
13 "lib/src/data_pipe.dart", 16 "lib/src/data_pipe.dart",
14 "lib/src/drain_data.dart", 17 "lib/src/drain_data.dart",
15 "lib/src/event_stream.dart", 18 "lib/src/event_stream.dart",
16 "lib/src/handle.dart", 19 "lib/src/handle.dart",
17 "lib/src/message.dart", 20 "lib/src/message.dart",
18 "lib/src/message_pipe.dart", 21 "lib/src/message_pipe.dart",
19 "lib/src/proxy.dart", 22 "lib/src/proxy.dart",
20 "lib/src/struct.dart", 23 "lib/src/struct.dart",
21 "lib/src/stub.dart", 24 "lib/src/stub.dart",
22 "lib/src/union.dart", 25 "lib/src/union.dart",
23 "lib/src/types.dart", 26 "lib/src/types.dart",
24 ] 27 ]
25 28
26 dartzip_package("dart") { 29 dartzip_package("dart") {
27 sources = dart_mojo_sdk_sources + [ 30 sources = dart_mojo_sdk_entrypoints + dart_mojo_sdk_sources + [
28 "pubspec.yaml", 31 "pubspec.yaml",
29 "CHANGELOG.md", 32 "CHANGELOG.md",
30 "README.md", 33 "README.md",
31 ] 34 ]
32 uses_pub = true 35 uses_pub = true
33 package_name_override = "mojo" 36 package_name_override = "mojo"
34 deps = [ 37 deps = [
35 "../interfaces/application", 38 "../interfaces/application",
36 "../interfaces/bindings", 39 "../interfaces/bindings",
37 "../interfaces/network", 40 "../interfaces/network",
38 ] 41 ]
39 } 42 }
40 43
41 dart_pkg("mojo") { 44 dart_pkg("mojo") {
45 entrypoints = dart_mojo_sdk_entrypoints
42 sources = dart_mojo_sdk_sources + [ 46 sources = dart_mojo_sdk_sources + [
43 "pubspec.yaml", 47 "pubspec.yaml",
44 "CHANGELOG.md", 48 "CHANGELOG.md",
45 "README.md", 49 "README.md",
46 ] 50 ]
47 51
48 sdk_ext_directory = "sdk_ext" 52 sdk_ext_directory = "sdk_ext"
49 sdk_ext_mappings = [ "dart:mojo.internal,internal.dart" ] 53 sdk_ext_mappings = [ "dart:mojo.internal,internal.dart" ]
50 54
51 # List of mojom targets that the mojo pkg exports 55 # List of mojom targets that the mojo pkg exports
52 deps = [ 56 deps = [
53 "../interfaces", 57 "../interfaces",
54 ] 58 ]
55 } 59 }
OLDNEW
« no previous file with comments | « mojo/dart/testing/lib/validation_test_input_parser.dart ('k') | mojo/public/dart/lib/src/control_message.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698