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

Unified Diff: tools/patch_sdk.dart

Issue 3003743002: Move tools to tool folder. (Closed)
Patch Set: Fix two problems that show up elsewhere. 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 side-by-side diff with in-line comments
Download patch
Index: tools/patch_sdk.dart
diff --git a/tools/patch_sdk.dart b/tools/patch_sdk.dart
index 97e2e12c8c95400bf74a578d9094bbbba212099f..0f7b10aed65317312621a5bbded00daff2a50a08 100644
--- a/tools/patch_sdk.dart
+++ b/tools/patch_sdk.dart
@@ -17,11 +17,12 @@ import 'package:analyzer/src/generated/sdk.dart';
import 'package:path/path.dart' as path;
import 'package:front_end/front_end.dart';
+
import 'package:front_end/src/base/processed_options.dart';
import 'package:front_end/src/kernel_generator_impl.dart';
import 'package:front_end/src/fasta/util/relativize.dart' show relativizeUri;
-import 'package:front_end/src/fasta/fasta.dart' as fasta show getDependencies;
+import 'package:front_end/src/fasta/get_dependencies.dart' show getDependencies;
import 'package:front_end/src/fasta/kernel/utils.dart' show writeProgramToFile;
import 'package:kernel/target/targets.dart';
@@ -206,7 +207,7 @@ Future _main(List<String> argv) async {
platformForDeps = outDirUri.resolve('../patched_sdk/platform.dill');
sdkDir = outDirUri.resolve('../patched_sdk/');
}
- deps.addAll(await fasta.getDependencies(Platform.script,
+ deps.addAll(await getDependencies(Platform.script,
sdk: sdkDir, packages: packages, platform: platformForDeps));
await writeDepsFile(platformFinalLocation,
Uri.base.resolveUri(new Uri.file("$outDir.d")), deps);

Powered by Google App Engine
This is Rietveld 408576698