Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: components/invalidation/BUILD.gn

Issue 1144543009: [Android] Only invalidate objects that were received from Tango on resume. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +toString Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 sources += [ 163 sources += [
164 "p2p_invalidation_service.cc", 164 "p2p_invalidation_service.cc",
165 "p2p_invalidation_service.h", 165 "p2p_invalidation_service.h",
166 ] 166 ]
167 } 167 }
168 } 168 }
169 169
170 if (is_android) { 170 if (is_android) {
171 android_library("java") { 171 android_library("java") {
172 deps = [ 172 deps = [
173 ":proto_java",
173 "//base:base_java", 174 "//base:base_java",
174 "//sync/android:sync_java", 175 "//sync/android:sync_java",
176 "//third_party/android_protobuf:protobuf_nano_javalib",
175 "//third_party/cacheinvalidation:cacheinvalidation_javalib", 177 "//third_party/cacheinvalidation:cacheinvalidation_javalib",
176 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", 178 "//third_party/cacheinvalidation:cacheinvalidation_proto_java",
177 "//third_party/jsr-305:jsr_305_javalib", 179 "//third_party/jsr-305:jsr_305_javalib",
178 ] 180 ]
179 DEPRECATED_java_in_dir = "android/java/src" 181 DEPRECATED_java_in_dir = "android/java/src"
180 } 182 }
183 proto_java_library("proto_java") {
184 proto_path = "android/proto"
185 sources = [
186 "$proto_path/serialized_invalidation.proto",
187 ]
188 }
181 android_library("javatests") { 189 android_library("javatests") {
182 deps = [ 190 deps = [
183 ":java", 191 ":java",
184 "//base:base_java", 192 "//base:base_java",
185 "//base:base_java_test_support", 193 "//base:base_java_test_support",
186 "//sync/android:sync_java", 194 "//sync/android:sync_java",
187 "//third_party/cacheinvalidation:cacheinvalidation_javalib", 195 "//third_party/cacheinvalidation:cacheinvalidation_javalib",
188 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", 196 "//third_party/cacheinvalidation:cacheinvalidation_proto_java",
189 ] 197 ]
190 DEPRECATED_java_in_dir = "android/javatests/src" 198 DEPRECATED_java_in_dir = "android/javatests/src"
191 } 199 }
200 junit_binary("junit_tests") {
201 java_files = [ "android/junit/src/org/chromium/components/invalidation/Pendi ngInvalidationTest.java" ]
202 deps = [
203 ":java",
204 "//base:base_java",
205 "//base:base_java_test_support",
206 ]
207 }
192 generate_jni("jni_headers") { 208 generate_jni("jni_headers") {
193 sources = [ 209 sources = [
194 "android/java/src/org/chromium/components/invalidation/InvalidationService .java", 210 "android/java/src/org/chromium/components/invalidation/InvalidationService .java",
195 ] 211 ]
196 jni_package = "components/invalidation" 212 jni_package = "components/invalidation"
197 } 213 }
198 } 214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698