1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24

build / android / stacktrace / BUILD.gn [blame]

# 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" ]
}