| 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("impl") { | 8 static_library("impl") { |
| 9 sources = [ | 9 sources = [ |
| 10 "invalidation_logger.cc", | 10 "invalidation_logger.cc", |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 deps = [ | 126 deps = [ |
| 127 "//base", | 127 "//base", |
| 128 "//components/gcm_driver:test_support", | 128 "//components/gcm_driver:test_support", |
| 129 "//components/keyed_service/core", | 129 "//components/keyed_service/core", |
| 130 "//google_apis", | 130 "//google_apis", |
| 131 "//jingle:notifier", | 131 "//jingle:notifier", |
| 132 "//jingle:notifier_test_util", | 132 "//jingle:notifier_test_util", |
| 133 "//net", | 133 "//net", |
| 134 "//testing/gmock", | 134 "//testing/gmock", |
| 135 "//third_party/cacheinvalidation", | |
| 136 | 135 |
| 137 # TODO(sync): Remove this (http://crbug.com/133352); | 136 # TODO(sync): Remove this (http://crbug.com/133352); |
| 138 "//third_party/protobuf:protobuf_lite", | 137 "//third_party/protobuf:protobuf_lite", |
| 139 | 138 |
| 140 # "//third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalid
ation_proto_cpp", | 139 # "//third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalid
ation_proto_cpp", |
| 141 ] | 140 ] |
| 141 public_deps = [ |
| 142 "//third_party/cacheinvalidation", |
| 143 ] |
| 142 | 144 |
| 143 if (is_android) { | 145 if (is_android) { |
| 144 deps += [ ":jni_headers" ] | 146 deps += [ ":jni_headers" ] |
| 145 } else { | 147 } else { |
| 146 sources += [ | 148 sources += [ |
| 147 "p2p_invalidation_service.cc", | 149 "p2p_invalidation_service.cc", |
| 148 "p2p_invalidation_service.h", | 150 "p2p_invalidation_service.h", |
| 149 ] | 151 ] |
| 150 } | 152 } |
| 151 } | 153 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 "//base:base_java_test_support", | 190 "//base:base_java_test_support", |
| 189 ] | 191 ] |
| 190 } | 192 } |
| 191 generate_jni("jni_headers") { | 193 generate_jni("jni_headers") { |
| 192 sources = [ | 194 sources = [ |
| 193 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", | 195 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", |
| 194 ] | 196 ] |
| 195 jni_package = "components/invalidation" | 197 jni_package = "components/invalidation" |
| 196 } | 198 } |
| 197 } | 199 } |
| OLD | NEW |