Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: testing/android/junit/BUILD.gn

Issue 1057783002: Add new GN junit binary template and new GYP java binary template. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 assert(is_android) 5 assert(is_android)
6 6
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 8
9 # GYP: //testing/android/junit_test.gyp:junit_test_support 9 # GYP: //testing/android/junit_test.gyp:junit_test_support
10 java_library("junit_test_support") { 10 java_library("junit_test_support") {
11 testonly = true 11 testonly = true
12 DEPRECATED_java_in_dir = "java/src" 12 DEPRECATED_java_in_dir = "java/src"
13 deps = [ 13 deps = [
14 "//third_party/junit", 14 "//third_party/junit",
15 "//third_party/mockito:mockito_java", 15 "//third_party/mockito:mockito_java",
16 "//third_party/robolectric:robolectric_java", 16 "//third_party/robolectric:robolectric_java",
17 "//third_party/robolectric:android-all-4.3_r2-robolectric-0",
17 ] 18 ]
18 } 19 }
19 20
20 # GYP: //testing/android/junit_test.gyp:junit_unit_tests 21 # GYP: //testing/android/junit_test.gyp:junit_unit_tests
21 java_binary("junit_unittests") { 22 junit_binary("junit_unittests") {
22 testonly = true
23 deps = [
24 ":junit_test_support",
25 "//third_party/junit",
26 ]
27 main_class = "org.chromium.testing.local.JunitTestMain"
28 DEPRECATED_java_in_dir = "javatests/src" 23 DEPRECATED_java_in_dir = "javatests/src"
29 } 24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698