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

Side by Side Diff: pkg/analyzer/lib/source/pub_package_map_provider.dart

Issue 2382033003: Revert "Remove unused option in server API" (Closed)
Patch Set: Created 4 years, 2 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/analysis_server/tool/spec/spec_input.html ('k') | pkg/analyzer_cli/lib/src/driver.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 @deprecated
6 library analyzer.source.pub_package_map_provider; 5 library analyzer.source.pub_package_map_provider;
7 6
8 import 'dart:collection'; 7 import 'dart:collection';
9 import 'dart:convert'; 8 import 'dart:convert';
10 import 'dart:core'; 9 import 'dart:core';
11 import 'dart:io' as io; 10 import 'dart:io' as io;
12 11
13 import 'package:analyzer/file_system/file_system.dart'; 12 import 'package:analyzer/file_system/file_system.dart';
14 import 'package:analyzer/source/package_map_provider.dart'; 13 import 'package:analyzer/source/package_map_provider.dart';
15 import 'package:analyzer/src/dart/sdk/sdk.dart'; 14 import 'package:analyzer/src/dart/sdk/sdk.dart';
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 String workingDirectory = folder.path; 175 String workingDirectory = folder.path;
177 int subprocessId = AnalysisEngine.instance.instrumentationService 176 int subprocessId = AnalysisEngine.instance.instrumentationService
178 .logSubprocessStart(executablePath, arguments, workingDirectory); 177 .logSubprocessStart(executablePath, arguments, workingDirectory);
179 io.ProcessResult result = io.Process 178 io.ProcessResult result = io.Process
180 .runSync(executablePath, arguments, workingDirectory: workingDirectory); 179 .runSync(executablePath, arguments, workingDirectory: workingDirectory);
181 AnalysisEngine.instance.instrumentationService.logSubprocessResult( 180 AnalysisEngine.instance.instrumentationService.logSubprocessResult(
182 subprocessId, result.exitCode, result.stdout, result.stderr); 181 subprocessId, result.exitCode, result.stdout, result.stderr);
183 return result; 182 return result;
184 } 183 }
185 } 184 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/tool/spec/spec_input.html ('k') | pkg/analyzer_cli/lib/src/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698