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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 config("cacheinvalidation_config") { | 7 config("cacheinvalidation_config") { |
8 include_dirs = [ | 8 include_dirs = [ |
9 "overrides", | 9 "overrides", |
10 "src", | 10 "src", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 "src/google/cacheinvalidation/include/invalidation-client.h", | 74 "src/google/cacheinvalidation/include/invalidation-client.h", |
75 "src/google/cacheinvalidation/include/invalidation-listener.h", | 75 "src/google/cacheinvalidation/include/invalidation-listener.h", |
76 "src/google/cacheinvalidation/include/system-resources.h", | 76 "src/google/cacheinvalidation/include/system-resources.h", |
77 "src/google/cacheinvalidation/include/types.h", | 77 "src/google/cacheinvalidation/include/types.h", |
78 ] | 78 ] |
79 | 79 |
80 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 80 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
81 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 81 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
82 public_configs = [ ":cacheinvalidation_config" ] | 82 public_configs = [ ":cacheinvalidation_config" ] |
83 | 83 |
| 84 public_deps = [ |
| 85 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp", |
| 86 ] |
| 87 |
84 deps = [ | 88 deps = [ |
85 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp", | |
86 "//base", | 89 "//base", |
87 ] | 90 ] |
88 } | 91 } |
89 | 92 |
90 test("cacheinvalidation_unittests") { | 93 test("cacheinvalidation_unittests") { |
91 sources = [ | 94 sources = [ |
92 "src/google/cacheinvalidation/impl/invalidation-client-impl_test.cc", | 95 "src/google/cacheinvalidation/impl/invalidation-client-impl_test.cc", |
93 "src/google/cacheinvalidation/impl/protocol-handler_test.cc", | 96 "src/google/cacheinvalidation/impl/protocol-handler_test.cc", |
94 "src/google/cacheinvalidation/impl/recurring-task_test.cc", | 97 "src/google/cacheinvalidation/impl/recurring-task_test.cc", |
95 "src/google/cacheinvalidation/impl/throttle_test.cc", | 98 "src/google/cacheinvalidation/impl/throttle_test.cc", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 android_library("cacheinvalidation_javalib") { | 137 android_library("cacheinvalidation_javalib") { |
135 deps = [ | 138 deps = [ |
136 ":cacheinvalidation_proto_java", | 139 ":cacheinvalidation_proto_java", |
137 "//third_party/android_protobuf:protobuf_nano_javalib", | 140 "//third_party/android_protobuf:protobuf_nano_javalib", |
138 "//third_party/android_tools:android_gcm_java", | 141 "//third_party/android_tools:android_gcm_java", |
139 ] | 142 ] |
140 | 143 |
141 DEPRECATED_java_in_dir = "src/java" | 144 DEPRECATED_java_in_dir = "src/java" |
142 } | 145 } |
143 } | 146 } |
OLD | NEW |