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

Side by Side Diff: third_party/cacheinvalidation/BUILD.gn

Issue 1653003006: Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/wtf/BUILD.gn ('k') | tools/battor_agent/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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
102 test("cacheinvalidation_unittests") { 93 test("cacheinvalidation_unittests") {
103 sources = [ 94 sources = [
104 "src/google/cacheinvalidation/impl/invalidation-client-impl_test.cc", 95 "src/google/cacheinvalidation/impl/invalidation-client-impl_test.cc",
105 "src/google/cacheinvalidation/impl/protocol-handler_test.cc", 96 "src/google/cacheinvalidation/impl/protocol-handler_test.cc",
106 "src/google/cacheinvalidation/impl/recurring-task_test.cc", 97 "src/google/cacheinvalidation/impl/recurring-task_test.cc",
107 "src/google/cacheinvalidation/impl/throttle_test.cc", 98 "src/google/cacheinvalidation/impl/throttle_test.cc",
108 "src/google/cacheinvalidation/test/deterministic-scheduler.cc", 99 "src/google/cacheinvalidation/test/deterministic-scheduler.cc",
109 "src/google/cacheinvalidation/test/deterministic-scheduler.h", 100 "src/google/cacheinvalidation/test/deterministic-scheduler.h",
110 "src/google/cacheinvalidation/test/test-logger.cc", 101 "src/google/cacheinvalidation/test/test-logger.cc",
111 "src/google/cacheinvalidation/test/test-logger.h", 102 "src/google/cacheinvalidation/test/test-logger.h",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 deps = [ 139 deps = [
149 ":cacheinvalidation_proto_java", 140 ":cacheinvalidation_proto_java",
150 "//third_party/android_protobuf:protobuf_nano_javalib", 141 "//third_party/android_protobuf:protobuf_nano_javalib",
151 "//third_party/android_tools:android_gcm_java", 142 "//third_party/android_tools:android_gcm_java",
152 google_play_services_library, 143 google_play_services_library,
153 ] 144 ]
154 145
155 DEPRECATED_java_in_dir = "src/java" 146 DEPRECATED_java_in_dir = "src/java"
156 } 147 }
157 } 148 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/BUILD.gn ('k') | tools/battor_agent/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698