blob: 930aade78629cc5afbd5aab8f0411d1bf1facc74 [file]
// Copyright (c) 2022, 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.profile.art;
import java.util.function.Consumer;
/** API for building an ART profile. */
// TODO(b/237043695): @Keep this when adding a public API for passing ART profiles to the compiler.
public interface ArtProfileBuilder {
ArtProfileBuilder addClassRule(Consumer<ArtProfileClassRuleBuilder> classRuleBuilderConsumer);
ArtProfileBuilder addMethodRule(Consumer<ArtProfileMethodRuleBuilder> methodRuleBuilderConsumer);
}