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

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

Issue 2828583003: remove dependencies to analyzer from lib/src/fasta (Closed)
Patch Set: add copyright Created 3 years, 8 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 968aa2418af69c9d3bd7ac153e8f8ee067fb3e80..d30020057b535bd180a532681361843d2a260182 100644
--- a/pkg/front_end/test/subpackage_relationships_test.dart
+++ b/pkg/front_end/test/subpackage_relationships_test.dart
@@ -32,25 +32,15 @@ final subpackageRules = {
'lib/src/base': new SubpackageRules(
mayImportAnalyzer: true, allowedDependencies: ['lib']),
'lib/src/codegen': new SubpackageRules(),
- 'lib/src/fasta':
- new SubpackageRules(mayImportAnalyzer: false, allowedDependencies: [
+ 'lib/src/fasta': new SubpackageRules(allowedDependencies: [
'lib/src/fasta/builder',
'lib/src/fasta/dill',
'lib/src/fasta/kernel',
'lib/src/fasta/parser',
'lib/src/fasta/scanner',
- 'lib/src/fasta/testing',
'lib/src/fasta/util',
'lib/src/scanner',
]),
- 'lib/src/fasta/analyzer':
- new SubpackageRules(mayImportAnalyzer: true, allowedDependencies: [
- 'lib/src/fasta',
- 'lib/src/fasta/builder',
- 'lib/src/fasta/dill',
- 'lib/src/fasta/kernel',
- 'lib/src/fasta/source',
- ]),
'lib/src/fasta/builder': new SubpackageRules(allowedDependencies: [
'lib/src/fasta',
'lib/src/fasta/parser',
@@ -95,13 +85,10 @@ final subpackageRules = {
'lib/src/fasta/type_inference',
'lib/src/fasta/util',
]),
- 'lib/src/fasta/testing':
- new SubpackageRules(mayImportAnalyzer: true, allowedDependencies: [
+ 'lib/src/fasta/testing': new SubpackageRules(allowedDependencies: [
'lib/src/fasta',
'lib/src/base',
- 'lib/src/fasta/dill',
'lib/src/fasta/kernel',
- 'lib/src/fasta/analyzer',
'lib/src/fasta/scanner',
]),
'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [

Powered by Google App Engine
This is Rietveld 408576698