summaryrefslogtreecommitdiff
path: root/chromium/components/minidump_uploader/BUILD.gn
blob: 056ce6a63054f2a46474fc1346f8d357d13c3815 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2016 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")

android_library("minidump_uploader_java") {
  deps = [
    "//base:base_java",
    "//third_party/android_tools:android_support_annotations_java",
  ]

  java_files = [
    "android/java/src/org/chromium/components/minidump_uploader/CrashFileManager.java",
    "android/java/src/org/chromium/components/minidump_uploader/MinidumpUploadCallable.java",
    "android/java/src/org/chromium/components/minidump_uploader/MinidumpUploadJobService.java",
    "android/java/src/org/chromium/components/minidump_uploader/MinidumpUploader.java",
    "android/java/src/org/chromium/components/minidump_uploader/MinidumpUploaderDelegate.java",
    "android/java/src/org/chromium/components/minidump_uploader/MinidumpUploaderImpl.java",
    "android/java/src/org/chromium/components/minidump_uploader/util/CrashReportingPermissionManager.java",
    "android/java/src/org/chromium/components/minidump_uploader/util/HttpURLConnectionFactory.java",
    "android/java/src/org/chromium/components/minidump_uploader/util/HttpURLConnectionFactoryImpl.java",
    "android/java/src/org/chromium/components/minidump_uploader/util/NetworkPermissionUtil.java",
  ]
}

android_library("minidump_uploader_javatests") {
  testonly = true
  deps = [
    ":minidump_uploader_java",
    "//base:base_java",
    "//base:base_java_test_support",
    "//third_party/android_support_test_runner:runner_java",
    "//third_party/junit",
  ]
  java_files = [
    "android/javatests/src/org/chromium/components/minidump_uploader/CrashFileManagerTest.java",
    "android/javatests/src/org/chromium/components/minidump_uploader/CrashTestCase.java",
    "android/javatests/src/org/chromium/components/minidump_uploader/MinidumpUploadCallableTest.java",
    "android/javatests/src/org/chromium/components/minidump_uploader/MinidumpUploadTestUtility.java",
    "android/javatests/src/org/chromium/components/minidump_uploader/MinidumpUploaderImplTest.java",
    "android/javatests/src/org/chromium/components/minidump_uploader/TestMinidumpUploaderDelegate.java",
    "android/javatests/src/org/chromium/components/minidump_uploader/TestMinidumpUploaderImpl.java",
  ]
}