| 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 if (is_android) { | 4 if (is_android) { |
| 5 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
| 6 } | 6 } |
| 7 | 7 |
| 8 static_library("invalidation") { | 8 static_library("invalidation") { |
| 9 sources = [ | 9 sources = [ |
| 10 "ack_handle.cc", | 10 "ack_handle.cc", |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 sources += [ | 101 sources += [ |
| 102 "android/component_jni_registrar.cc", | 102 "android/component_jni_registrar.cc", |
| 103 "android/component_jni_registrar.h", | 103 "android/component_jni_registrar.h", |
| 104 "invalidation_service_android.cc", | 104 "invalidation_service_android.cc", |
| 105 "invalidation_service_android.h", | 105 "invalidation_service_android.h", |
| 106 ] | 106 ] |
| 107 deps += [ ":jni_headers" ] | 107 deps += [ ":jni_headers" ] |
| 108 } | 108 } |
| 109 } | 109 } |
| 110 | 110 |
| 111 static_library("unittests") { | 111 group("unittests") { |
| 112 testonly = true | 112 testonly = true |
| 113 sources = [] | |
| 114 deps = [ | 113 deps = [ |
| 115 ":invalidation", | 114 ":invalidation", |
| 116 ":test_support", | 115 ":test_support", |
| 117 ] | 116 ] |
| 118 if (is_android) { | 117 if (is_android) { |
| 119 deps += [ | 118 deps += [ |
| 120 ":javatests", | 119 ":javatests", |
| 121 ":jni_headers", | 120 ":jni_headers", |
| 122 ] | 121 ] |
| 123 } | 122 } |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 ] | 192 ] |
| 194 DEPRECATED_java_in_dir = "android/javatests/src" | 193 DEPRECATED_java_in_dir = "android/javatests/src" |
| 195 } | 194 } |
| 196 generate_jni("jni_headers") { | 195 generate_jni("jni_headers") { |
| 197 sources = [ | 196 sources = [ |
| 198 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", | 197 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", |
| 199 ] | 198 ] |
| 200 jni_package = "components/invalidation" | 199 jni_package = "components/invalidation" |
| 201 } | 200 } |
| 202 } | 201 } |
| OLD | NEW |