# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/android/rules.gni")
# The output jar for this target is copied and checked-in to minimize the number
# of edges in the build graph. This is a class that rarely changes.
java_library("custom_d8_java") {
sources = [ "java/src/org/chromium/build/CustomD8.java" ]
# Avoid using java_prebuilt() to ensure all uses go through the checked-in
# version.
input_jars_paths = [ "d8/cipd/lib/r8.jar" ]
}
# The output jar for this target is copied and checked-in to minimize the number
# of edges in the build graph. This is a class that rarely changes.
java_library("custom_r8_java") {
sources = [ "java/src/org/chromium/build/CustomR8.java" ]
# Avoid using java_prebuilt() to ensure all uses go through the checked-in
# version.
input_jars_paths = [ "cipd/lib/r8.jar" ]
}
# Use the non-d8 one since this is currently used only by unused_resources.
java_prebuilt("r8_java") {
jar_path = "cipd/lib/r8.jar"
}