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

Side by Side Diff: pkg/compiler/lib/src/apiimpl.dart

Issue 1750393002: Add --use-new-source-info option (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | pkg/compiler/lib/src/commandline_options.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 leg_apiimpl; 5 library leg_apiimpl;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'package:package_config/packages.dart'; 10 import 'package:package_config/packages.dart';
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 deferredMapUri: extractUriOption(options, '--deferred-map='), 119 deferredMapUri: extractUriOption(options, '--deferred-map='),
120 dumpInfo: hasOption(options, Flags.dumpInfo), 120 dumpInfo: hasOption(options, Flags.dumpInfo),
121 buildId: extractStringOption( 121 buildId: extractStringOption(
122 options, '--build-id=', 122 options, '--build-id=',
123 "build number could not be determined"), 123 "build number could not be determined"),
124 useContentSecurityPolicy: 124 useContentSecurityPolicy:
125 hasOption(options, Flags.useContentSecurityPolicy), 125 hasOption(options, Flags.useContentSecurityPolicy),
126 useStartupEmitter: hasOption(options, Flags.fastStartup), 126 useStartupEmitter: hasOption(options, Flags.fastStartup),
127 enableConditionalDirectives: 127 enableConditionalDirectives:
128 hasOption(options, Flags.conditionalDirectives), 128 hasOption(options, Flags.conditionalDirectives),
129 useNewSourceInfo: hasOption(options, Flags.useNewSourceInfo),
129 hasIncrementalSupport: 130 hasIncrementalSupport:
130 forceIncrementalSupport || 131 forceIncrementalSupport ||
131 hasOption(options, Flags.incrementalSupport), 132 hasOption(options, Flags.incrementalSupport),
132 diagnosticOptions: new DiagnosticOptions( 133 diagnosticOptions: new DiagnosticOptions(
133 suppressWarnings: hasOption(options, Flags.suppressWarnings), 134 suppressWarnings: hasOption(options, Flags.suppressWarnings),
134 fatalWarnings: hasOption(options, Flags.fatalWarnings), 135 fatalWarnings: hasOption(options, Flags.fatalWarnings),
135 suppressHints: hasOption(options, Flags.suppressHints), 136 suppressHints: hasOption(options, Flags.suppressHints),
136 terseDiagnostics: hasOption(options, Flags.terse), 137 terseDiagnostics: hasOption(options, Flags.terse),
137 shownPackageWarnings: extractOptionalCsvOption( 138 shownPackageWarnings: extractOptionalCsvOption(
138 options, Flags.showPackageWarnings)), 139 options, Flags.showPackageWarnings)),
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 Uri lookupLibraryUri(String libraryName) { 617 Uri lookupLibraryUri(String libraryName) {
617 assert(invariant(NO_LOCATION_SPANNABLE, 618 assert(invariant(NO_LOCATION_SPANNABLE,
618 sdkLibraries != null, message: "setupSdk() has not been run")); 619 sdkLibraries != null, message: "setupSdk() has not been run"));
619 return sdkLibraries[libraryName]; 620 return sdkLibraries[libraryName];
620 } 621 }
621 622
622 Uri resolvePatchUri(String libraryName) { 623 Uri resolvePatchUri(String libraryName) {
623 return backend.resolvePatchUri(libraryName, platformConfigUri); 624 return backend.resolvePatchUri(libraryName, platformConfigUri);
624 } 625 }
625 } 626 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/commandline_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698