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

Side by Side Diff: dart/frog/leg/frog_leg.dart

Issue 9808102: Unbreak SDK frogc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « dart/frog/leg/dart2js.dart ('k') | dart/frog/leg/source_file.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('frog_leg'); 5 #library('frog_leg');
6 6
7 #import('../../lib/uri/uri.dart'); 7 #import('../../lib/uri/uri.dart');
8 #import('../../utils/compiler/source_file.dart'); 8 #import('source_file.dart');
9 #import('../lang.dart', prefix: 'frog'); 9 #import('../lang.dart', prefix: 'frog');
10 #import('api.dart', prefix: 'api'); 10 #import('api.dart', prefix: 'api');
11 #import('io/io.dart', prefix: 'io'); 11 #import('io/io.dart', prefix: 'io');
12 12
13 String relativize(Uri base, Uri uri) { 13 String relativize(Uri base, Uri uri) {
14 if (base.scheme == 'file' && 14 if (base.scheme == 'file' &&
15 base.scheme == uri.scheme && 15 base.scheme == uri.scheme &&
16 base.userInfo == uri.userInfo && 16 base.userInfo == uri.userInfo &&
17 base.domain == uri.domain && 17 base.domain == uri.domain &&
18 base.port == uri.port && 18 base.port == uri.port &&
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 world.legCode = code; 91 world.legCode = code;
92 world.jsBytesWritten = code.length; 92 world.jsBytesWritten = code.length;
93 return true; 93 return true;
94 } 94 }
95 95
96 class AbortLeg { 96 class AbortLeg {
97 final message; 97 final message;
98 AbortLeg(this.message); 98 AbortLeg(this.message);
99 toString() => 'Aborted due to --throw-on-error: $message'; 99 toString() => 'Aborted due to --throw-on-error: $message';
100 } 100 }
OLDNEW
« no previous file with comments | « dart/frog/leg/dart2js.dart ('k') | dart/frog/leg/source_file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698