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

Unified Diff: web_components/lib/build/mirrors_remover.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.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 | « web_components/lib/build/messages.dart ('k') | web_components/lib/build/script_compactor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: web_components/lib/build/mirrors_remover.dart
diff --git a/web_components/lib/build/mirrors_remover.dart b/web_components/lib/build/mirrors_remover.dart
deleted file mode 100644
index 62dedaaca4b5288c570267cb749f33d178e83e1f..0000000000000000000000000000000000000000
--- a/web_components/lib/build/mirrors_remover.dart
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-library web_components.build.mirrors_remover;
-
-import 'dart:async';
-import 'package:barback/barback.dart';
-
-/// Removes `mirror_initializer.dart` and replaces it with
-/// `static_initializer.dart`.
-class MirrorsRemoverTransformer extends Transformer {
- MirrorsRemoverTransformer();
- MirrorsRemoverTransformer.asPlugin(BarbackSettings settings);
-
- bool isPrimary(AssetId id) => id.path == 'lib/src/init.dart';
-
- @override
- Future apply(Transform transform) async {
- String source = await transform.primaryInput.readAsString();
- source =
- source.replaceAll('mirror_initializer.dart', 'static_initializer.dart');
- transform
- .addOutput(new Asset.fromString(transform.primaryInput.id, source));
- }
-}
« no previous file with comments | « web_components/lib/build/messages.dart ('k') | web_components/lib/build/script_compactor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698