[Password manager tests] Refactoring of util which runs tests.
[chromium-blink-merge.git] / testing / android / junit / BUILD.gn
blobe4cd871ef240404bc5470a471708d2f8bf90ba52
1 # Copyright 2014 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.
5 assert(is_android)
7 import("//build/config/android/rules.gni")
9 # GYP: //testing/android/junit_test.gyp:junit_test_support
10 java_library("junit_test_support") {
11   DEPRECATED_java_in_dir = "java/src"
12   deps = [
13     "//third_party/junit",
14     "//third_party/mockito:mockito_java",
15   ]
18 # GYP: //testing/android/junit_test.gyp:junit_unit_tests
19 java_binary("junit_unittests") {
20   deps = [
21     ":junit_test_support",
22     "//third_party/junit",
23   ]
24   main_class = "org.chromium.testing.local.JunitTestMain"
25   DEPRECATED_java_in_dir = "javatests/src"