class ApkFacetConfiguration implements FacetConfiguration {

  @NotNull
  public Collection<String> getDebugSymbolFolderPaths(@NotNull List<Abi> abis) {
    if (NATIVE_LIBRARIES.isEmpty() || abis.isEmpty()) {
      return Collections.emptyList();
    }
    Set<String> paths = new HashSet<>();
    for (Abi abi : abis) {
      for (NativeLibrary library : NATIVE_LIBRARIES) {
        DebuggableSharedObjectFile sharedObjectFile = library.debuggableSharedObjectFilesByAbi.get(abi);
        if (sharedObjectFile != null) {
          File path = toSystemDependentPath(sharedObjectFile.path);
          if (path.exists()) {
            paths.add(path.getParent());
          }
        }
      }
    }

    if (paths.isEmpty()) {
      return Collections.emptyList();
    }
    return paths;
  }

}