blob: 9288a359f275b7f304685fae54b7ec5ff0e58674 [file] [log] [blame]
// Copyright (c) 2017, 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;
/** Compilation mode. */
@Keep
public enum CompilationMode {
/** Preserves debugging information during compilation, eg, line-numbers and locals. */
DEBUG,
/** Strips debugging information that cannot affect stack traces. */
RELEASE;
public boolean isDebug() {
return this == DEBUG;
}
public boolean isRelease() {
return this == RELEASE;
}
}