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

Side by Side Diff: pkg/front_end/test/subpackage_relationships_test.dart

Issue 2993113003: Revert "Switch FE to use the libraries.json format." (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/front_end/test/src/incremental/mock_sdk.dart ('k') | pkg/front_end/tool/fasta_perf.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:io'; 6 import 'dart:io';
7 7
8 import 'package:front_end/compiler_options.dart'; 8 import 'package:front_end/compiler_options.dart';
9 import 'package:front_end/dependency_grapher.dart'; 9 import 'package:front_end/dependency_grapher.dart';
10 import 'package:path/path.dart' as pathos; 10 import 'package:path/path.dart' as pathos;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 'lib/src/fasta', 50 'lib/src/fasta',
51 "lib/src/fasta/dill", 51 "lib/src/fasta/dill",
52 "lib/src/fasta/kernel", 52 "lib/src/fasta/kernel",
53 'lib/src/fasta/source', 53 'lib/src/fasta/source',
54 'lib/src/incremental', 54 'lib/src/incremental',
55 ]), 55 ]),
56 'lib/src/base': new SubpackageRules(allowedDependencies: [ 56 'lib/src/base': new SubpackageRules(allowedDependencies: [
57 'lib', 57 'lib',
58 'lib/src', 58 'lib/src',
59 'lib/src/fasta', 59 'lib/src/fasta',
60 'lib/src/fasta/util',
61 'lib/src/incremental' 60 'lib/src/incremental'
62 ]), 61 ]),
63 'lib/src/codegen': new SubpackageRules(), 62 'lib/src/codegen': new SubpackageRules(),
64 'lib/src/fasta': new SubpackageRules(allowedDependencies: [ 63 'lib/src/fasta': new SubpackageRules(allowedDependencies: [
65 'lib', 64 'lib',
66 'lib/src', 65 'lib/src',
67 'lib/src/base', 66 'lib/src/base',
68 'lib/src/fasta/builder', 67 'lib/src/fasta/builder',
69 'lib/src/fasta/dill', 68 'lib/src/fasta/dill',
70 'lib/src/fasta/kernel', 69 'lib/src/fasta/kernel',
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 if (subpackageRules[subpackage].allowSubdirs) { 317 if (subpackageRules[subpackage].allowSubdirs) {
319 subpackageRules[subpackage].actuallyHasSubdirs = true; 318 subpackageRules[subpackage].actuallyHasSubdirs = true;
320 } else { 319 } else {
321 problem('Uri $src is in a subfolder of $subpackage, but that ' 320 problem('Uri $src is in a subfolder of $subpackage, but that '
322 'subpackage does not allow dart files in subdirectories.'); 321 'subpackage does not allow dart files in subdirectories.');
323 } 322 }
324 } 323 }
325 return subpackage; 324 return subpackage;
326 } 325 }
327 } 326 }
OLDNEW
« no previous file with comments | « pkg/front_end/test/src/incremental/mock_sdk.dart ('k') | pkg/front_end/tool/fasta_perf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698