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 21 matching lines...) Expand all Loading... |
32 "unacked_invalidation_set.cc", | 32 "unacked_invalidation_set.cc", |
33 "unacked_invalidation_set.h", | 33 "unacked_invalidation_set.h", |
34 ] | 34 ] |
35 | 35 |
36 public_deps = [ | 36 public_deps = [ |
37 "//components/invalidation/public", | 37 "//components/invalidation/public", |
38 ] | 38 ] |
39 deps = [ | 39 deps = [ |
40 "//base", | 40 "//base", |
41 "//base:i18n", | 41 "//base:i18n", |
42 "//base:prefs", | |
43 "//components/data_use_measurement/core", | 42 "//components/data_use_measurement/core", |
44 "//components/gcm_driver", | 43 "//components/gcm_driver", |
45 "//components/keyed_service/core", | 44 "//components/keyed_service/core", |
46 "//components/pref_registry", | 45 "//components/pref_registry", |
| 46 "//components/prefs", |
47 "//components/signin/core/browser", | 47 "//components/signin/core/browser", |
48 "//google_apis", | 48 "//google_apis", |
49 "//jingle:notifier", | 49 "//jingle:notifier", |
50 "//net:net", | 50 "//net:net", |
51 | 51 |
52 # TODO(sync): Remove this (http://crbug.com/133352); | 52 # TODO(sync): Remove this (http://crbug.com/133352); |
53 "//third_party/protobuf:protobuf_lite", | 53 "//third_party/protobuf:protobuf_lite", |
54 ] | 54 ] |
55 | 55 |
56 if (!is_android) { | 56 if (!is_android) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 source_set("unit_tests") { | 101 source_set("unit_tests") { |
102 testonly = true | 102 testonly = true |
103 sources = [ | 103 sources = [ |
104 "invalidation_logger_unittest.cc", | 104 "invalidation_logger_unittest.cc", |
105 ] | 105 ] |
106 deps = [ | 106 deps = [ |
107 ":impl", | 107 ":impl", |
108 ":test_support", | 108 ":test_support", |
109 "//base", | 109 "//base", |
110 "//base:prefs", | 110 "//components/prefs", |
111 "//testing/gmock", | 111 "//testing/gmock", |
112 "//testing/gtest", | 112 "//testing/gtest", |
113 ] | 113 ] |
114 | 114 |
115 if (is_android) { | 115 if (is_android) { |
116 sources += [ "invalidation_service_android_unittest.cc" ] | 116 sources += [ "invalidation_service_android_unittest.cc" ] |
117 deps += [ ":jni_headers" ] | 117 deps += [ ":jni_headers" ] |
118 } else { | 118 } else { |
119 # Non-Android tests. | 119 # Non-Android tests. |
120 sources += [ | 120 sources += [ |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 "//base:base_java_test_support", | 240 "//base:base_java_test_support", |
241 ] | 241 ] |
242 } | 242 } |
243 generate_jni("jni_headers") { | 243 generate_jni("jni_headers") { |
244 sources = [ | 244 sources = [ |
245 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", | 245 "android/java/src/org/chromium/components/invalidation/InvalidationService
.java", |
246 ] | 246 ] |
247 jni_package = "components/invalidation" | 247 jni_package = "components/invalidation" |
248 } | 248 } |
249 } | 249 } |
OLD | NEW |