summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/android/stacktrace/BUILD.gn
blob: ce13a15b4b6491f453effb25fe7214675fa8fbdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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" ]
}