naiveproxy/build/android/bytecode/BUILD.gn

24 lines
836 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
# 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")
assert(current_toolchain == default_toolchain)
java_binary("java_bytecode_rewriter") {
java_files = [
"java/org/chromium/bytecode/AssertionEnablerClassAdapter.java",
"java/org/chromium/bytecode/ByteCodeProcessor.java",
"java/org/chromium/bytecode/CustomClassLoaderClassWriter.java",
"java/org/chromium/bytecode/CustomResourcesClassAdapter.java",
"java/org/chromium/bytecode/TypeUtils.java",
]
main_class = "org.chromium.bytecode.ByteCodeProcessor"
deps = [
"//third_party/ow2_asm:asm_java",
"//third_party/ow2_asm:asm_util_java",
]
wrapper_script_name = "helper/java_bytecode_rewriter"
}