OLD | NEW |
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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 } | 7 } |
8 | 8 |
9 source_set("impl") { | 9 source_set("impl") { |
10 sources = [ | 10 sources = [ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 android_library("java") { | 206 android_library("java") { |
207 deps = [ | 207 deps = [ |
208 ":proto_java", | 208 ":proto_java", |
209 "//base:base_java", | 209 "//base:base_java", |
210 "//sync/android:sync_java", | 210 "//sync/android:sync_java", |
211 "//third_party/android_protobuf:protobuf_nano_javalib", | 211 "//third_party/android_protobuf:protobuf_nano_javalib", |
212 "//third_party/cacheinvalidation:cacheinvalidation_javalib", | 212 "//third_party/cacheinvalidation:cacheinvalidation_javalib", |
213 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", | 213 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", |
214 "//third_party/jsr-305:jsr_305_javalib", | 214 "//third_party/jsr-305:jsr_305_javalib", |
215 ] | 215 ] |
216 DEPRECATED_java_in_dir = "android/java/src" | 216 java_files = [ |
| 217 "android/java/src/org/chromium/components/invalidation/InvalidationClientS
ervice.java", |
| 218 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", |
| 219 "android/java/src/org/chromium/components/invalidation/PendingInvalidation
.java", |
| 220 ] |
217 } | 221 } |
218 proto_java_library("proto_java") { | 222 proto_java_library("proto_java") { |
219 proto_path = "android/proto" | 223 proto_path = "android/proto" |
220 sources = [ | 224 sources = [ |
221 "$proto_path/serialized_invalidation.proto", | 225 "$proto_path/serialized_invalidation.proto", |
222 ] | 226 ] |
223 } | 227 } |
224 android_library("javatests") { | 228 android_library("javatests") { |
225 deps = [ | 229 deps = [ |
226 ":java", | 230 ":java", |
227 "//base:base_java", | 231 "//base:base_java", |
228 "//base:base_java_test_support", | 232 "//base:base_java_test_support", |
229 "//sync/android:sync_java", | 233 "//sync/android:sync_java", |
230 "//third_party/cacheinvalidation:cacheinvalidation_javalib", | 234 "//third_party/cacheinvalidation:cacheinvalidation_javalib", |
231 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", | 235 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", |
232 ] | 236 ] |
233 DEPRECATED_java_in_dir = "android/javatests/src" | 237 java_files = [ |
| 238 "android/javatests/src/org/chromium/components/invalidation/InvalidationCl
ientServiceTest.java", |
| 239 "android/javatests/src/org/chromium/components/invalidation/TestableInvali
dationClientService.java", |
| 240 ] |
234 } | 241 } |
235 junit_binary("components_invalidation_impl_junit_tests") { | 242 junit_binary("components_invalidation_impl_junit_tests") { |
236 java_files = [ "android/junit/src/org/chromium/components/invalidation/Pendi
ngInvalidationTest.java" ] | 243 java_files = [ "android/junit/src/org/chromium/components/invalidation/Pendi
ngInvalidationTest.java" ] |
237 deps = [ | 244 deps = [ |
238 ":java", | 245 ":java", |
239 "//base:base_java", | 246 "//base:base_java", |
240 "//base:base_java_test_support", | 247 "//base:base_java_test_support", |
241 ] | 248 ] |
242 } | 249 } |
243 generate_jni("jni_headers") { | 250 generate_jni("jni_headers") { |
244 sources = [ | 251 sources = [ |
245 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", | 252 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", |
246 ] | 253 ] |
247 jni_package = "components/invalidation" | 254 jni_package = "components/invalidation" |
248 } | 255 } |
249 } | 256 } |
OLD | NEW |