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

Unified Diff: pkg/polymer/lib/component_build.dart

Issue 50313004: Revert "Remove @deprecated features." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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/observe/lib/src/observable_map.dart ('k') | pkg/unittest/lib/src/iterable_matchers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/component_build.dart
diff --git a/pkg/polymer/lib/component_build.dart b/pkg/polymer/lib/component_build.dart
new file mode 100644
index 0000000000000000000000000000000000000000..cdd08201c3a12204124d6fc1e029032026a60c5a
--- /dev/null
+++ b/pkg/polymer/lib/component_build.dart
@@ -0,0 +1,23 @@
+// Copyright (c) 2012, 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.
+
+/** This library is deprecated. Please use `builder.dart` instead. */
+@deprecated
+library build_utils;
+
+import 'dart:async';
+import 'package:meta/meta.dart';
+
+import 'builder.dart' as builder;
+
+/**
+ * This function is deprecated. Please use `build` from `builder.dart`
+ * instead.
+ */
+@deprecated
+Future build(List<String> arguments, List<String> entryPoints,
+ {bool printTime: true, bool shouldPrint: true}) {
+ return builder.build(
+ entryPoints: entryPoints, options: builder.parseOptions(arguments));
+}
« no previous file with comments | « pkg/observe/lib/src/observable_map.dart ('k') | pkg/unittest/lib/src/iterable_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698