forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
28 lines (22 loc) · 1.02 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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_failureaccess_java",
"//third_party/android_deps:com_google_guava_listenablefuture_java",
"//third_party/android_deps:com_google_j2objc_j2objc_annotations_java",
]
# Avoid class conflict in com_google_guava_listenablefuture.
jar_excluded_patterns = [ "*/ListenableFuture.class" ]
}