| # Copyright 2017 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") |
| |
| java_library("java_deobfuscate_java") { |
| sources = [ "java/org/chromium/build/FlushingReTrace.java" ] |
| |
| # Avoid using java_prebuilt() to ensure all uses go through the checked-in |
| # wrapper script. |
| input_jars_paths = [ "//third_party/r8/cipd/lib/r8.jar" ] |
| } |
| |
| # Use the checked-in copy of the wrapper script & .jar rather than the built |
| # one to simplify usage of the tool. |
| group("java_deobfuscate") { |
| data = [ |
| "java_deobfuscate.py", |
| "java_deobfuscate_java.jar", |
| "//third_party/r8/cipd/lib/r8.jar", |
| ] |
| deps = [ "//third_party/jdk:java_data" ] |
| } |