OLD | NEW |
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 DEPRECATED_java_in_dir = "java/src" | 12 java_files = [ |
| 13 "java/src/org/chromium/components/precache/DeviceState.java", |
| 14 "java/src/org/chromium/components/precache/NetworkInfoDelegate.java", |
| 15 "java/src/org/chromium/components/precache/NetworkInfoDelegateFactory.java", |
| 16 ] |
13 } | 17 } |
14 | 18 |
15 android_library("precache_javatests") { | 19 android_library("precache_javatests") { |
16 deps = [ | 20 deps = [ |
17 ":precache_java", | 21 ":precache_java", |
18 "//base:base_java_test_support", | 22 "//base:base_java_test_support", |
19 ] | 23 ] |
20 DEPRECATED_java_in_dir = "javatests/src" | 24 java_files = [ |
| 25 "javatests/src/org/chromium/components/precache/DeviceStateTest.java", |
| 26 "javatests/src/org/chromium/components/precache/MockDeviceState.java", |
| 27 ] |
21 } | 28 } |
OLD | NEW |