OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/android/rules.gni") |
| 6 |
| 7 _jni_sources = |
| 8 [ "java/src/org/chromium/components/crash/browser/CrashDumpManager.java" ] |
| 9 |
| 10 generate_jni("jni_headers") { |
| 11 sources = _jni_sources |
| 12 jni_package = "crash" |
| 13 } |
| 14 |
| 15 android_library("java") { |
| 16 deps = [ |
| 17 "//base:base_java", |
| 18 ] |
| 19 java_files = _jni_sources |
| 20 } |
| 21 |
| 22 android_library("javatests") { |
| 23 testonly = true |
| 24 deps = [ |
| 25 ":java", |
| 26 "//base:base_java", |
| 27 "//base:base_java_test_support", |
| 28 "//third_party/android_support_test_runner:runner_java", |
| 29 "//third_party/junit", |
| 30 ] |
| 31 java_files = [ "javatests/src/org/chromium/components/crash/browser/CrashDumpM
anagerTest.java" ] |
| 32 } |
OLD | NEW |