blob: f82160ca81ed7e9be40033d878574d17cd29ddca [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")
java_prebuilt("byte_buddy_java") {
supports_android = true
testonly = true
enable_bytecode_checks = false
jar_path = "lib/byte-buddy.jar"
}
java_prebuilt("byte_buddy_agent_java") {
supports_android = true
testonly = true
enable_bytecode_checks = false
jar_path = "lib/byte-buddy-agent.jar"
}
# The current version of //third_party/byte_buddy relies on an older
# version of dx.
java_prebuilt("dx_25_0_2_java") {
supports_android = true
requires_android = true
no_build_hooks = true
testonly = true
jar_path = "android_sdk_build_tools_25_0_2/build-tools/25.0.2/lib/dx.jar"
}
android_java_prebuilt("byte_buddy_android_java") {
testonly = true
enable_bytecode_checks = false
deps = [
":dx_25_0_2_java",
]
proguard_configs = [ "//third_party/byte_buddy/proguard.flags" ]
jar_path = "lib/byte-buddy-android.jar"
}