Index: pkg/analyzer/lib/source/embedder.dart |
diff --git a/pkg/analyzer/lib/source/embedder.dart b/pkg/analyzer/lib/source/embedder.dart |
index 0dd84c0784eb1fb21c9d6b2391e7eec1b4ce9a4d..94a72a8da2b70223be4283e76dae1acc01e14fb2 100644 |
--- a/pkg/analyzer/lib/source/embedder.dart |
+++ b/pkg/analyzer/lib/source/embedder.dart |
@@ -2,6 +2,7 @@ |
// 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. |
+@deprecated |
library analyzer.source.embedder; |
import 'dart:collection' show HashMap; |
@@ -25,9 +26,11 @@ const String _DART_COLON_PREFIX = 'dart:'; |
const String _EMBEDDED_LIB_MAP_KEY = 'embedded_libs'; |
/// Check if this map defines embedded libraries. |
+@deprecated |
bool definesEmbeddedLibs(Map map) => map[_EMBEDDED_LIB_MAP_KEY] != null; |
/// An SDK backed by URI mappings derived from an `_embedder.yaml` file. |
+@deprecated |
class EmbedderSdk extends AbstractDartSdk { |
final Map<String, String> _urlMappings = new HashMap<String, String>(); |