blob: f8168ab4ef25c884a2272279c74ae1665fa75de0 [file] [log] [blame]
Avi Drissman73a09d12022-09-08 20:33:381# Copyright 2017 The Chromium Authors
agrievea350dbdb2017-07-05 15:27:172# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/android/rules.gni")
6
Andrew Grieve17a59652020-03-19 18:14:537java_library("java_deobfuscate_java") {
Nico Weber20057f02020-01-13 18:27:388 sources = [ "java/org/chromium/build/FlushingReTrace.java" ]
Andrew Grieve17a59652020-03-19 18:14:539
10 # Avoid using java_prebuilt() to ensure all uses go through the checked-in
11 # wrapper script.
Brian Ryner4fdb1b52024-08-26 19:38:0212 input_jars_paths = [ "//third_party/r8/cipd/lib/r8.jar" ]
Andrew Grieve17a59652020-03-19 18:14:5313}
14
15# Use the checked-in copy of the wrapper script & .jar rather than the built
16# one to simplify usage of the tool.
17group("java_deobfuscate") {
agrievea350dbdb2017-07-05 15:27:1718 data = [
Andrew Grieve17a59652020-03-19 18:14:5319 "java_deobfuscate.py",
Sam Maier1c365ca2022-07-18 18:13:3120 "java_deobfuscate_java.jar",
Brian Ryner4fdb1b52024-08-26 19:38:0221 "//third_party/r8/cipd/lib/r8.jar",
agrievea350dbdb2017-07-05 15:27:1722 ]
Andrew Grieveb1391fc2020-04-28 19:52:4623 deps = [ "//third_party/jdk:java_data" ]
agrievea350dbdb2017-07-05 15:27:1724}