| # Copyright 2017 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_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/proguard/lib/proguard603.jar", |
| "//third_party/proguard/lib/retrace603.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.jar", |
| "//third_party/proguard/lib/proguard603.jar", |
| "//third_party/proguard/lib/retrace603.jar", |
| ] |
| deps = [ "//third_party/jdk:java_data" ] |
| } |