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 static_library("impl") { | 9 static_library("impl") { |
10 sources = [ | 10 sources = [ |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 "p2p_invalidation_service.h", | 200 "p2p_invalidation_service.h", |
201 ] | 201 ] |
202 } | 202 } |
203 } | 203 } |
204 | 204 |
205 if (is_android) { | 205 if (is_android) { |
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 "//components/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 java_files = [ | 216 java_files = [ |
217 "android/java/src/org/chromium/components/invalidation/InvalidationClientS
ervice.java", | 217 "android/java/src/org/chromium/components/invalidation/InvalidationClientS
ervice.java", |
218 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", | 218 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", |
219 "android/java/src/org/chromium/components/invalidation/PendingInvalidation
.java", | 219 "android/java/src/org/chromium/components/invalidation/PendingInvalidation
.java", |
220 ] | 220 ] |
221 } | 221 } |
222 proto_java_library("proto_java") { | 222 proto_java_library("proto_java") { |
223 proto_path = "android/proto" | 223 proto_path = "android/proto" |
224 sources = [ | 224 sources = [ |
225 "$proto_path/serialized_invalidation.proto", | 225 "$proto_path/serialized_invalidation.proto", |
226 ] | 226 ] |
227 } | 227 } |
228 android_library("javatests") { | 228 android_library("javatests") { |
229 deps = [ | 229 deps = [ |
230 ":java", | 230 ":java", |
231 "//base:base_java", | 231 "//base:base_java", |
232 "//base:base_java_test_support", | 232 "//base:base_java_test_support", |
233 "//sync/android:sync_java", | 233 "//components/sync/android:sync_java", |
234 "//third_party/cacheinvalidation:cacheinvalidation_javalib", | 234 "//third_party/cacheinvalidation:cacheinvalidation_javalib", |
235 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", | 235 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", |
236 ] | 236 ] |
237 java_files = [ | 237 java_files = [ |
238 "android/javatests/src/org/chromium/components/invalidation/InvalidationCl
ientServiceTest.java", | 238 "android/javatests/src/org/chromium/components/invalidation/InvalidationCl
ientServiceTest.java", |
239 "android/javatests/src/org/chromium/components/invalidation/TestableInvali
dationClientService.java", | 239 "android/javatests/src/org/chromium/components/invalidation/TestableInvali
dationClientService.java", |
240 ] | 240 ] |
241 } | 241 } |
242 junit_binary("components_invalidation_impl_junit_tests") { | 242 junit_binary("components_invalidation_impl_junit_tests") { |
243 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" ] |
244 deps = [ | 244 deps = [ |
245 ":java", | 245 ":java", |
246 "//base:base_java", | 246 "//base:base_java", |
247 "//base:base_java_test_support", | 247 "//base:base_java_test_support", |
248 ] | 248 ] |
249 } | 249 } |
250 generate_jni("jni_headers") { | 250 generate_jni("jni_headers") { |
251 sources = [ | 251 sources = [ |
252 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", | 252 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", |
253 ] | 253 ] |
254 jni_package = "components/invalidation" | 254 jni_package = "components/invalidation" |
255 } | 255 } |
256 } | 256 } |
OLD | NEW |