blob: b93663eafc1fbc3236346805f6428e427b6eb56f [file] [log] [blame]
Christoffer Adamsen77ab5612025-01-17 10:52:16 +01001// Copyright (c) 2025, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4package com.android.tools.r8.utils;
5
6import com.android.tools.r8.ProgramResource;
7import com.android.tools.r8.ResourceException;
8import com.android.tools.r8.shaking.FilteredClassPath;
9import java.nio.file.Path;
10import java.util.Collection;
11import java.util.Collections;
12
13public class ArchiveDataResourceProvider extends ArchiveResourceProvider {
14
15 public ArchiveDataResourceProvider(Path archive) {
16 super(FilteredClassPath.unfiltered(archive), false);
17 }
18
19 @Override
20 public Collection<ProgramResource> getProgramResources() throws ResourceException {
21 return Collections.emptyList();
22 }
23}