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

Side by Side Diff: pkg/analysis_server/lib/src/server/driver.dart

Issue 2264683002: Revert: Always enable --finer-grained-invalidation, ignore the flag. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 | « no previous file | no next file » | 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 library driver; 5 library driver;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:math'; 9 import 'dart:math';
10 10
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 } 379 }
380 380
381 AnalysisServerOptions analysisServerOptions = new AnalysisServerOptions(); 381 AnalysisServerOptions analysisServerOptions = new AnalysisServerOptions();
382 analysisServerOptions.enableIncrementalResolutionApi = 382 analysisServerOptions.enableIncrementalResolutionApi =
383 results[ENABLE_INCREMENTAL_RESOLUTION_API]; 383 results[ENABLE_INCREMENTAL_RESOLUTION_API];
384 analysisServerOptions.enableIncrementalResolutionValidation = 384 analysisServerOptions.enableIncrementalResolutionValidation =
385 results[INCREMENTAL_RESOLUTION_VALIDATION]; 385 results[INCREMENTAL_RESOLUTION_VALIDATION];
386 analysisServerOptions.enablePubSummaryManager = 386 analysisServerOptions.enablePubSummaryManager =
387 results[ENABLE_PUB_SUMMARY_MANAGER]; 387 results[ENABLE_PUB_SUMMARY_MANAGER];
388 analysisServerOptions.finerGrainedInvalidation = 388 analysisServerOptions.finerGrainedInvalidation =
389 true /*results[FINER_GRAINED_INVALIDATION]*/; 389 results[FINER_GRAINED_INVALIDATION];
390 analysisServerOptions.noErrorNotification = results[NO_ERROR_NOTIFICATION]; 390 analysisServerOptions.noErrorNotification = results[NO_ERROR_NOTIFICATION];
391 analysisServerOptions.noIndex = results[NO_INDEX]; 391 analysisServerOptions.noIndex = results[NO_INDEX];
392 analysisServerOptions.useAnalysisHighlight2 = 392 analysisServerOptions.useAnalysisHighlight2 =
393 results[USE_ANALISYS_HIGHLIGHT2]; 393 results[USE_ANALISYS_HIGHLIGHT2];
394 analysisServerOptions.fileReadMode = results[FILE_READ_MODE]; 394 analysisServerOptions.fileReadMode = results[FILE_READ_MODE];
395 395
396 _initIncrementalLogger(results[INCREMENTAL_RESOLUTION_LOG]); 396 _initIncrementalLogger(results[INCREMENTAL_RESOLUTION_LOG]);
397 397
398 // 398 //
399 // Process all of the plugins so that extensions are registered. 399 // Process all of the plugins so that extensions are registered.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 */ 637 */
638 static void _rollLogFiles(String path, int numOld) { 638 static void _rollLogFiles(String path, int numOld) {
639 for (int i = numOld - 1; i >= 0; i--) { 639 for (int i = numOld - 1; i >= 0; i--) {
640 try { 640 try {
641 String oldPath = i == 0 ? path : '$path.$i'; 641 String oldPath = i == 0 ? path : '$path.$i';
642 new File(oldPath).renameSync('$path.${i+1}'); 642 new File(oldPath).renameSync('$path.${i+1}');
643 } catch (e) {} 643 } catch (e) {}
644 } 644 }
645 } 645 }
646 } 646 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698