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

Side by Side Diff: pkg/compiler/samples/jsonify/jsonify.dart

Issue 1212513002: sdk files reorganization to make dart2js a proper package (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: renamed Created 5 years, 5 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 import 'dart:io'; 5 import 'dart:io';
6 import 'dart:convert'; 6 import 'dart:convert';
7 7
8 import 'dart:mirrors'; 8 import 'dart:mirrors';
9 9
10 import 'package:_internal/libraries.dart' 10 import 'package:sdk_library_metadata/libraries.dart'
11 show LIBRARIES, LibraryInfo; 11 show LIBRARIES, LibraryInfo;
12 12
13 import '../../lib/src/mirrors/analyze.dart' 13 import '../../lib/src/mirrors/analyze.dart'
14 show analyze; 14 show analyze;
15 import '../../lib/src/mirrors/dart2js_mirrors.dart' 15 import '../../lib/src/mirrors/dart2js_mirrors.dart'
16 show BackDoor; 16 show BackDoor;
17 17
18 import '../../lib/src/filenames.dart'; 18 import '../../lib/src/filenames.dart';
19 import '../../lib/src/io/source_file.dart'; 19 import '../../lib/src/io/source_file.dart';
20 import '../../lib/src/source_file_provider.dart'; 20 import '../../lib/src/source_file_provider.dart';
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // This file is generated by jsonify.dart. 97 // This file is generated by jsonify.dart.
98 98
99 library dart.sdk_sources; 99 library dart.sdk_sources;
100 100
101 const Map<String, String> SDK_SOURCES = const <String, String>'''); 101 const Map<String, String> SDK_SOURCES = const <String, String>''');
102 output.writeStringSync(JSON.encode(map).replaceAll(r'$', r'\$')); 102 output.writeStringSync(JSON.encode(map).replaceAll(r'$', r'\$'));
103 output.writeStringSync(';\n'); 103 output.writeStringSync(';\n');
104 } 104 }
105 output.closeSync(); 105 output.closeSync();
106 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698