blob: ce7fc1067e506e6a631cdaf9978371407e02ef30 [file] [log] [blame]
// Copyright (c) 2023, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8;
import com.android.tools.r8.keepanno.annotations.KeepForApi;
/**
* Base interface for android resources (resource table, manifest, res folder files)
*
* <p>Android resources are provided to R8 to allow for combined code and resource shrinking. This
* allows us to reason about resources, and transitively other resources and code throughout the
* entire compilation pipeline.
*/
@KeepForApi
public interface AndroidResourceOutput extends Resource {
// The path, within the app, of the resource.
ResourcePath getPath();
ByteDataView getByteDataView();
}