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

Unified Diff: pkg/front_end/test/subpackage_relationships_test.dart

Issue 2976543002: Reapply "Tweak public APIs and use them in patch_sdk, dart2js, and kernel-service."" (Closed)
Patch Set: fix Created 3 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: pkg/front_end/test/subpackage_relationships_test.dart
diff --git a/pkg/front_end/test/subpackage_relationships_test.dart b/pkg/front_end/test/subpackage_relationships_test.dart
index 211b12b9b9546b0ca715557246bb6cfd555fc7e7..6da56142f7cae3a193964aac50d1bcd5f91c6c98 100644
--- a/pkg/front_end/test/subpackage_relationships_test.dart
+++ b/pkg/front_end/test/subpackage_relationships_test.dart
@@ -41,10 +41,7 @@ final subpackageRules = {
'lib': new SubpackageRules(allowedDependencies: [
'lib/src',
'lib/src/base',
- 'lib/src/fasta',
- 'lib/src/fasta/dill',
- 'lib/src/fasta/kernel',
- 'lib/src/incremental'
+ 'lib/src/incremental',
]),
'lib/src': new SubpackageRules(allowedDependencies: [
'lib',
@@ -55,15 +52,13 @@ final subpackageRules = {
'lib/src/fasta/source',
'lib/src/incremental',
]),
- 'lib/src/base': new SubpackageRules(allowedDependencies: [
- 'lib',
- 'lib/src',
- 'lib/src/fasta',
- 'lib/src/incremental'
- ]),
+ 'lib/src/base': new SubpackageRules(
+ allowedDependencies: ['lib', 'lib/src/fasta', 'lib/src/incremental']),
'lib/src/codegen': new SubpackageRules(),
'lib/src/fasta': new SubpackageRules(allowedDependencies: [
'lib',
+ 'lib/src',
+ 'lib/src/base',
'lib/src/fasta/builder',
'lib/src/fasta/dill',
'lib/src/fasta/kernel',
@@ -121,6 +116,7 @@ final subpackageRules = {
'lib/src/scanner',
]),
'lib/src/fasta/testing': new SubpackageRules(allowedDependencies: [
+ 'lib',
'lib/src/fasta',
'lib/src/base',
'lib/src/fasta/kernel',
@@ -152,6 +148,7 @@ final subpackageRules = {
]),
'lib/src/testing': new SubpackageRules(allowedDependencies: [
'lib',
+ 'lib/src/fasta/testing',
]),
};

Powered by Google App Engine
This is Rietveld 408576698