anchor.diff:          "platform_strong.dill file.";
     }
     logger.notice("Using $flutterPlatformDirectory as platform directory.");
  -  List<File> dotPackagesFiles = new List<File>.from(allFlutterFiles.where((f) =>
  -      (f.uri.toString().contains("/examples/") ||
  -          f.uri.toString().contains("/packages/")) &&
  -      f.uri.toString().endsWith("/.packages")));
  +  List<File> packageConfigFiles = new List<File>.from(allFlutterFiles.where(
  +      (f) =>
  +          (f.uri.toString().contains("/examples/") ||
  +              f.uri.toString().contains("/packages/")) &&
  +          f.uri.toString().endsWith("/.dart_tool/package_config.json")));
   
     List<String> allCompilationErrors = [];
     final Directory systemTempDir = Directory.systemTemp;
     List<_QueueEntry> queue = [];
     int totalFiles = 0;
  -  for (int i = 0; i < dotPackagesFiles.length; i++) {
  -    File dotPackage = dotPackagesFiles[i];
  +  for (int i = 0; i < packageConfigFiles.length; i++) {
  +    File packageConfig = packageConfigFiles[i];
       Directory testDir =
  -        new Directory.fromUri(dotPackage.parent.uri.resolve("test/"));
  +        new Directory.fromUri(packageConfig.parent.uri.resolve("../test/"));
       if (!testDir.existsSync()) continue;
       if (testDir.toString().contains("packages/flutter_web_plugins/test/")) {
         // TODO(jensj): Figure out which tests are web-tests, and compile those
  
positive.code:         files,
          tempDir,
          flutterPlatformDirectory,
          dotPackage,
          testDir,
          flutterDirectory,
          logger,
  
negative.code:     }
      for (List<File> files in [weak, strong]) {
        if (files.isEmpty) continue;
        queue.add(new _QueueEntry(files, packageConfig, testDir));
        totalFiles += files.length;
      }
    }
  