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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 public_deps = [ | 84 public_deps = [ |
85 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp", | 85 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp", |
86 ] | 86 ] |
87 | 87 |
88 deps = [ | 88 deps = [ |
89 "//base", | 89 "//base", |
90 ] | 90 ] |
91 } | 91 } |
92 | 92 |
| 93 # TODO(GYP): Delete this after we've converted everything to GN. |
| 94 # The _run targets exist only for compatibility w/ GYP. |
| 95 group("cacheinvalidation_unittests_run") { |
| 96 testonly = true |
| 97 deps = [ |
| 98 ":cacheinvalidation_unittests", |
| 99 ] |
| 100 } |
| 101 |
93 test("cacheinvalidation_unittests") { | 102 test("cacheinvalidation_unittests") { |
94 sources = [ | 103 sources = [ |
95 "src/google/cacheinvalidation/impl/invalidation-client-impl_test.cc", | 104 "src/google/cacheinvalidation/impl/invalidation-client-impl_test.cc", |
96 "src/google/cacheinvalidation/impl/protocol-handler_test.cc", | 105 "src/google/cacheinvalidation/impl/protocol-handler_test.cc", |
97 "src/google/cacheinvalidation/impl/recurring-task_test.cc", | 106 "src/google/cacheinvalidation/impl/recurring-task_test.cc", |
98 "src/google/cacheinvalidation/impl/throttle_test.cc", | 107 "src/google/cacheinvalidation/impl/throttle_test.cc", |
99 "src/google/cacheinvalidation/test/deterministic-scheduler.cc", | 108 "src/google/cacheinvalidation/test/deterministic-scheduler.cc", |
100 "src/google/cacheinvalidation/test/deterministic-scheduler.h", | 109 "src/google/cacheinvalidation/test/deterministic-scheduler.h", |
101 "src/google/cacheinvalidation/test/test-logger.cc", | 110 "src/google/cacheinvalidation/test/test-logger.cc", |
102 "src/google/cacheinvalidation/test/test-logger.h", | 111 "src/google/cacheinvalidation/test/test-logger.h", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 deps = [ | 148 deps = [ |
140 ":cacheinvalidation_proto_java", | 149 ":cacheinvalidation_proto_java", |
141 "//third_party/android_protobuf:protobuf_nano_javalib", | 150 "//third_party/android_protobuf:protobuf_nano_javalib", |
142 "//third_party/android_tools:android_gcm_java", | 151 "//third_party/android_tools:android_gcm_java", |
143 google_play_services_library, | 152 google_play_services_library, |
144 ] | 153 ] |
145 | 154 |
146 DEPRECATED_java_in_dir = "src/java" | 155 DEPRECATED_java_in_dir = "src/java" |
147 } | 156 } |
148 } | 157 } |
OLD | NEW |