chromium/tools/android/errorprone_plugin/test/nocompile_gn/BUILD.gn

# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/android/android_nocompile.gni")
import("//build/config/android/rules.gni")
import("nocompile_sources.gni")

empty_java = "../src/org/chromium/tools/errorprone/plugin/Empty.java"

android_library("no_redundant_field_init_check_int_test_java") {
  testonly = true
  enable_errorprone = true
  sources = [ empty_java ]
  if (enable_android_nocompile_tests) {
    sources += no_redundant_field_init_check_int_test_nocompile_sources
    skip_build_server = true
  }
}

android_library("test_class_name_check_test_java") {
  testonly = true
  enable_errorprone = true
  sources = [ empty_java ]
  if (enable_android_nocompile_tests) {
    sources += test_class_name_check_test_nocompile_sources
    skip_build_server = true
  }
  deps = [
    "//base:base_java_test_support",
    "//third_party/androidx:androidx_test_monitor_java",
    "//third_party/androidx:androidx_test_runner_java",
    "//third_party/junit:junit",
  ]
}