summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/android/monochrome/BUILD.gn
blob: ebde7fe7405f1daa5757991af801ff66fb7d103d (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
# 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")

android_library("monochrome_license_provider_java") {
  java_files =
      [ "java/src/com/android/webview/chromium/LicenseContentProvider.java" ]

  deps = [
    "//base:base_java",
    "//chrome/android:chrome_java",
    "//components/about_ui/android:aboutui_java",
  ]

  # Don't instrument this file as there exist another copy
  # //android_webview:webview_license_provider_java
  jacoco_never_instrument = true
}

if (public_android_sdk) {
  group("monochrome_apk_checker") {
    testonly = true
    data_deps = [
      "//chrome/android:chrome_modern_public_apk",
      "//chrome/android:monochrome_public_apk",
    ]
    if (public_android_sdk) {
      # system_webview_apk only defined for public sdk builds, so this dependency
      # must be guarded.
      data_deps += [ "//android_webview:system_webview_apk" ]
    }

    data = [
      "./scripts/monochrome_apk_checker.py",
      "//testing/scripts/monochrome_apk_checker_wrapper.py",
      "//testing/scripts/common.py",
      "//testing/xvfb.py",
    ]
  }
}