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

Unified Diff: pkg/compiler/samples/darttags/darttags.dart

Issue 1401513002: Revert "Introduce the "Embedded" category." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/dart2js.dart ('k') | pkg/compiler/samples/jsonify/jsonify.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/samples/darttags/darttags.dart
diff --git a/pkg/compiler/samples/darttags/darttags.dart b/pkg/compiler/samples/darttags/darttags.dart
index 2000b9be8438d04f46b00b6ea2b96e7e3acc059a..0653a09d6b78e722bb4a01784bb7a19cf23bef28 100644
--- a/pkg/compiler/samples/darttags/darttags.dart
+++ b/pkg/compiler/samples/darttags/darttags.dart
@@ -33,7 +33,7 @@ import 'dart:io';
import 'dart:mirrors';
import 'package:sdk_library_metadata/libraries.dart'
- show libraries, LibraryInfo;
+ show LIBRARIES, LibraryInfo;
import 'package:compiler/src/mirrors/analyze.dart'
show analyze;
@@ -51,7 +51,7 @@ const DART2JS_MIRROR = 'package:compiler/src/mirrors/dart2js_mirrors.dart';
const SDK_ROOT = '../../../../sdk/';
bool isPublicDart2jsLibrary(String name) {
- return !name.startsWith('_') && libraries[name].isDart2jsLibrary;
+ return !name.startsWith('_') && LIBRARIES[name].isDart2jsLibrary;
}
var handler;
@@ -82,7 +82,7 @@ main(List<String> arguments) {
}
// Get the names of public dart2js libraries.
- Iterable<String> names = libraries.keys.where(isPublicDart2jsLibrary);
+ Iterable<String> names = LIBRARIES.keys.where(isPublicDart2jsLibrary);
// Prepend "dart:" to the names.
uris.addAll(names.map((String name) => Uri.parse('dart:$name')));
« no previous file with comments | « pkg/compiler/lib/src/dart2js.dart ('k') | pkg/compiler/samples/jsonify/jsonify.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698