anchor.diff:          context);
     }
   
  -  final Link link = new Link(joinFile(target, ['${filePath}.js']).path);
  -  link.createSync('./${filePath}.precompiled.js');
  -
  -  _printSize(context, joinFile(target, ['${filePath}.precompiled.js']));
  +  _rename(joinFile(target, ['${filePath}.precompiled.js']).path,
  +          joinFile(target, ['${filePath}.js']).path, context);
  +
  +  _printSize(context, joinFile(target, ['${filePath}.js']));
   }
   
   void _changeMode({bool useTestMode: true}) {
  
positive.code:   } else {
      deleteEntity(getDir(path), context);
    }
  }
  
  void _copyFileWithNewName(File srcFile, Directory destDir, String destFileName,
  
negative.code: 
    // Compile the services entry-point.
    _dart2jsCompile(context, deployWeb, 'services_impl.dart', true);
  
    if (Platform.isWindows) {
      context.log(
          'TODO: manually patch ${destDir.path}/web/packages/shadow_dom/shadow_dom.debug.js tool/shadow_dom.patch');
    } else {
      _runCommandSync(
          context,
          'patch ${destDir.path}/web/packages/shadow_dom/shadow_dom.debug.js tool/shadow_dom.patch');
    }
  }
  
  // Creates a release build to be uploaded to Chrome Web Store.
  