blob: 4a76273179ac749feb42a74ebcdc1651835a7778 [file] [log] [blame]
// Copyright (c) 2018, 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;
/** Enumeration of the possible output formats of compilation. */
@KeepForApi
public enum OutputMode {
/** Produce DEX files using standard indexed-multidex for programs larger that a single file. */
DexIndexed,
/**
* Produce a DEX file for each Java class-file input. This mode combines synthetic classes with
* their primary class.
*/
DexFilePerClassFile,
/**
* Produce a DEX file for each program class. This mode does not combine synthetic classes with
* their primary class.
*/
DexFilePerClass,
/** Produce Java class files. */
ClassFile
}