OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # ============================================================================== | 5 # ============================================================================== |
6 # TEST SETUP | 6 # TEST SETUP |
7 # ============================================================================== | 7 # ============================================================================== |
8 | 8 |
9 # Define a test as an executable (or apk on Android) with the "testonly" flag | 9 # Define a test as an executable (or apk on Android) with the "testonly" flag |
10 # set. | 10 # set. |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 "cflags_objc", | 160 "cflags_objc", |
161 "cflags_objcc", | 161 "cflags_objcc", |
162 "check_includes", | 162 "check_includes", |
163 "configs", | 163 "configs", |
164 "data", | 164 "data", |
165 "data_deps", | 165 "data_deps", |
166 "defines", | 166 "defines", |
167 "include_dirs", | 167 "include_dirs", |
168 "ldflags", | 168 "ldflags", |
169 "libs", | 169 "libs", |
170 "output_extension", | |
171 "output_name", | |
172 "public", | 170 "public", |
173 "public_configs", | 171 "public_configs", |
174 "public_deps", | 172 "public_deps", |
175 "sources", | 173 "sources", |
176 "visibility", | 174 "visibility", |
177 ]) | 175 ]) |
178 | 176 |
179 if (defined(invoker.deps)) { | 177 if (defined(invoker.deps)) { |
180 deps = invoker.deps | 178 deps = invoker.deps |
181 } else { | 179 } else { |
(...skipping 29 matching lines...) Expand all Loading... |
211 # TODO(GYP): Delete this after we've converted everything to GN. | 209 # TODO(GYP): Delete this after we've converted everything to GN. |
212 # The _run targets exist only for compatibility with GYP. | 210 # The _run targets exist only for compatibility with GYP. |
213 group("${target_name}_run") { | 211 group("${target_name}_run") { |
214 testonly = true | 212 testonly = true |
215 deps = [ | 213 deps = [ |
216 ":$main_target_name", | 214 ":$main_target_name", |
217 ] | 215 ] |
218 } | 216 } |
219 } | 217 } |
220 } | 218 } |
OLD | NEW |