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

Unified 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, 5 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/public/dart/BUILD.gn
diff --git a/mojo/public/dart/BUILD.gn b/mojo/public/dart/BUILD.gn
index fb145558ef8551c43cdb07f9c90d5a83f1ca9926..c069627b8587a0dbdfe5aa160120499e8bc18bc8 100644
--- a/mojo/public/dart/BUILD.gn
+++ b/mojo/public/dart/BUILD.gn
@@ -1,10 +1,13 @@
import("../mojo_sdk.gni")
import("rules.gni")
-dart_mojo_sdk_sources = [
+dart_mojo_sdk_entrypoints = [
"lib/application.dart",
"lib/bindings.dart",
"lib/core.dart",
+]
+
+dart_mojo_sdk_sources = [
"lib/src/application_connection.dart",
"lib/src/application.dart",
"lib/src/buffer.dart",
@@ -24,7 +27,7 @@ dart_mojo_sdk_sources = [
]
dartzip_package("dart") {
- sources = dart_mojo_sdk_sources + [
+ sources = dart_mojo_sdk_entrypoints + dart_mojo_sdk_sources + [
"pubspec.yaml",
"CHANGELOG.md",
"README.md",
@@ -39,6 +42,7 @@ dartzip_package("dart") {
}
dart_pkg("mojo") {
+ entrypoints = dart_mojo_sdk_entrypoints
sources = dart_mojo_sdk_sources + [
"pubspec.yaml",
"CHANGELOG.md",
« 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