mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
34 lines
894 B
Plaintext
34 lines
894 B
Plaintext
# 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")
|
|
|
|
_jni_sources =
|
|
[ "java/src/org/chromium/components/crash/browser/ChildProcessCrashObserver.java",
|
|
"java/src/org/chromium/components/crash/browser/CrashDumpManager.java" ]
|
|
|
|
generate_jni("jni_headers") {
|
|
sources = _jni_sources
|
|
jni_package = "crash"
|
|
}
|
|
|
|
android_library("java") {
|
|
deps = [
|
|
"//base:base_java",
|
|
]
|
|
java_files = _jni_sources
|
|
}
|
|
|
|
android_library("javatests") {
|
|
testonly = true
|
|
deps = [
|
|
":java",
|
|
"//base:base_java",
|
|
"//base:base_java_test_support",
|
|
"//third_party/android_support_test_runner:runner_java",
|
|
"//third_party/junit",
|
|
]
|
|
java_files = [ "javatests/src/org/chromium/components/crash/browser/CrashDumpManagerTest.java" ]
|
|
}
|