xref: /aosp_15_r20/external/cronet/build/android/stacktrace/BUILD.gn (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2017 The Chromium Authors
2# 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
7java_library("java_deobfuscate_java") {
8  sources = [ "java/org/chromium/build/FlushingReTrace.java" ]
9
10  # Avoid using java_prebuilt() to ensure all uses go through the checked-in
11  # wrapper script.
12  input_jars_paths = [ "//third_party/r8/lib/r8.jar" ]
13}
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") {
18  data = [
19    "java_deobfuscate.py",
20    "java_deobfuscate_java.jar",
21    "//third_party/r8/lib/r8.jar",
22  ]
23  deps = [ "//third_party/jdk:java_data" ]
24}
25