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

Side by Side Diff: third_party/junit/BUILD.gn

Issue 687633003: Greatly improve (non-android) java support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: junit_unittests -> java_binary Created 6 years, 1 month 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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 # TODO(GYP): should be java_prebuilt
8 # GYP: //third_party/junit.gyp:hamcrest_jar 7 # GYP: //third_party/junit.gyp:hamcrest_jar
9 android_java_prebuilt("hamcrest") { 8 java_prebuilt("hamcrest") {
10 jar_path = "src/lib/hamcrest-core-1.3.jar" 9 jar_path = "src/lib/hamcrest-core-1.3.jar"
11 } 10 }
12 11
13 # TODO(GYP): should be java_library
14 # GYP: //third_party/junit.gyp:junit_jar 12 # GYP: //third_party/junit.gyp:junit_jar
15 android_library("junit") { 13 java_library("junit") {
16 deps = [ 14 deps = [
17 ":hamcrest" 15 ":hamcrest"
18 ] 16 ]
19 DEPRECATED_java_in_dir = "src/src/main/java" 17 DEPRECATED_java_in_dir = "src/src/main/java"
20 } 18 }
OLDNEW
« build/config/android/rules.gni ('K') | « testing/android/junit/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698