anchor.diff:              // transformation of libraries in other packages.
               continue;  // Library in different package: cannot be transformed.
             }
  +          // Compute `libraryToAssetMap`.
             for (Asset input in inputs) {
               if (_isFileAsset(input)) {
  -              if (_assetPath(input).endsWith(targetPath)) {
  +              if (_assetPath(input).endsWith(_posixNormalizePath(targetPath))) {
                   // NB: This test would yield an incorrect result in the
                   // case where multiple paths in the package have a shared
                   // suffix (e.g., we have both '/path/one/ending/like/this'
  
positive.code: /// `null` is returned.
  String _fullNameToPackage(String fullName) {
    if (fullName == null) return null;
    RegExp packagePrefix = new RegExp(r'^[^/|]*\|');
    Match match = packagePrefix.firstMatch(fullName);
    if (match == null) return null;
    return fullName.substring(0, match.end - 1);
  }
  
  /// Performs the transformation which eliminates all imports of
  
negative.code:     for (String entryPoint in entryPoints) {
        L: {
          for (Asset input in inputs) {
            if (input.id.path.endsWith(_posixNormalizePath(entryPoint))) {
              aggregateTransform.logger.info("Registering entry point: $input");
              entryPointMap[entryPoint] = input;
              break L;
  