mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
30 lines
1000 B
Plaintext
30 lines
1000 B
Plaintext
# 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
|
|
}
|
|
|
|
java_prebuilt("guava_java") {
|
|
# Since our build tooling depends on this target, we need it to not be
|
|
# "testonly = true", but production code must not depend on this as it results
|
|
# in size regressions. Thus we specify exact packages through visibility.
|
|
visibility = [
|
|
"//third_party/auto:*",
|
|
"//third_party/robolectric:*",
|
|
]
|
|
jar_path = "lib/guava.jar"
|
|
}
|