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

Side by Side Diff: components/precache/android/BUILD.gn

Issue 2308973002: Set testonly to true for targets that depends on base_java_test_support (Closed)
Patch Set: Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # GYP: //components/precache.gypi:precache_java 7 # GYP: //components/precache.gypi:precache_java
8 android_library("precache_java") { 8 android_library("precache_java") {
9 deps = [ 9 deps = [
10 "//base:base_java", 10 "//base:base_java",
11 ] 11 ]
12 java_files = [ 12 java_files = [
13 "java/src/org/chromium/components/precache/DeviceState.java", 13 "java/src/org/chromium/components/precache/DeviceState.java",
14 "java/src/org/chromium/components/precache/NetworkInfoDelegate.java", 14 "java/src/org/chromium/components/precache/NetworkInfoDelegate.java",
15 "java/src/org/chromium/components/precache/NetworkInfoDelegateFactory.java", 15 "java/src/org/chromium/components/precache/NetworkInfoDelegateFactory.java",
16 ] 16 ]
17 } 17 }
18 18
19 android_library("precache_javatests") { 19 android_library("precache_javatests") {
20 testonly = true
20 deps = [ 21 deps = [
21 ":precache_java", 22 ":precache_java",
22 "//base:base_java_test_support", 23 "//base:base_java_test_support",
23 ] 24 ]
24 java_files = [ 25 java_files = [
25 "javatests/src/org/chromium/components/precache/DeviceStateTest.java", 26 "javatests/src/org/chromium/components/precache/DeviceStateTest.java",
26 "javatests/src/org/chromium/components/precache/MockDeviceState.java", 27 "javatests/src/org/chromium/components/precache/MockDeviceState.java",
27 ] 28 ]
28 } 29 }
OLDNEW
« components/invalidation/impl/BUILD.gn ('K') | « components/invalidation/impl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698