blob: 0a0dd0ee441b53553a1b285843d5a69c55f51f7c [file] [log] [blame]
# Copyright 2016 The Chromium Authors. All rights reserved.
# 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")
# Upstream guava introduced versions with -android suffix starting with version
# 22 to remove incompatible code with android. Thus we keep two jars, one for
# the full guava and one that supports android. Please keep the versions in
# sync with one another.
android_java_prebuilt("guava_android_java") {
testonly = true
jar_path = "lib/guava-android.jar"
# Avoids dependency cycle.
no_build_hooks = true
# Depend on this to replace excluded ListenableFuture.class
deps = [
"//third_party/android_deps:com_google_guava_listenablefuture_java",
]
# Avoid class conflict in com_google_guava_listenablefuture.
jar_excluded_patterns = [ "*/ListenableFuture.class" ]
}