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

Side by Side Diff: testing/test.gni

Issue 1246183002: testing: No need to handle direct_dependent_configs in GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 if (defined(invoker.defines)) { 65 if (defined(invoker.defines)) {
66 defines = invoker.defines 66 defines = invoker.defines
67 } 67 }
68 deps = [] 68 deps = []
69 if (!defined(invoker.use_launcher) || invoker.use_launcher) { 69 if (!defined(invoker.use_launcher) || invoker.use_launcher) {
70 deps += [ "//testing/android/native_test:native_test_native_code" ] 70 deps += [ "//testing/android/native_test:native_test_native_code" ]
71 } 71 }
72 if (defined(invoker.deps)) { 72 if (defined(invoker.deps)) {
73 deps += invoker.deps 73 deps += invoker.deps
74 } 74 }
75 if (defined(invoker.direct_dependent_configs)) {
76 direct_dependent_configs = invoker.direct_dependent_configs
77 }
78 if (defined(invoker.forward_dependent_configs_from)) { 75 if (defined(invoker.forward_dependent_configs_from)) {
79 forward_dependent_configs_from = invoker.forward_dependent_configs_from 76 forward_dependent_configs_from = invoker.forward_dependent_configs_from
80 } 77 }
81 if (defined(invoker.include_dirs)) { 78 if (defined(invoker.include_dirs)) {
82 include_dirs = invoker.include_dirs 79 include_dirs = invoker.include_dirs
83 } 80 }
84 if (defined(invoker.ldflags)) { 81 if (defined(invoker.ldflags)) {
85 ldflags = invoker.ldflags 82 ldflags = invoker.ldflags
86 } 83 }
87 if (defined(invoker.lib_dirs)) { 84 if (defined(invoker.lib_dirs)) {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 } 207 }
211 deps += [ 208 deps += [
212 # All shared libraries must have the sanitizer deps to properly link in 209 # All shared libraries must have the sanitizer deps to properly link in
213 # asan mode (this target will be empty in other cases). 210 # asan mode (this target will be empty in other cases).
214 "//build/config/sanitizers:deps", 211 "//build/config/sanitizers:deps",
215 212
216 # Give tests the default manifest on Windows (a no-op elsewhere). 213 # Give tests the default manifest on Windows (a no-op elsewhere).
217 "//build/win:default_exe_manifest", 214 "//build/win:default_exe_manifest",
218 ] 215 ]
219 216
220 if (defined(invoker.direct_dependent_configs)) {
221 direct_dependent_configs = invoker.direct_dependent_configs
222 }
223 if (defined(invoker.forward_dependent_configs_from)) { 217 if (defined(invoker.forward_dependent_configs_from)) {
224 forward_dependent_configs_from = invoker.forward_dependent_configs_from 218 forward_dependent_configs_from = invoker.forward_dependent_configs_from
225 } 219 }
226 if (defined(invoker.include_dirs)) { 220 if (defined(invoker.include_dirs)) {
227 include_dirs = invoker.include_dirs 221 include_dirs = invoker.include_dirs
228 } 222 }
229 if (defined(invoker.ldflags)) { 223 if (defined(invoker.ldflags)) {
230 ldflags = invoker.ldflags 224 ldflags = invoker.ldflags
231 } 225 }
232 if (defined(invoker.lib_dirs)) { 226 if (defined(invoker.lib_dirs)) {
(...skipping 19 matching lines...) Expand all
252 } 246 }
253 if (defined(invoker.sources)) { 247 if (defined(invoker.sources)) {
254 sources = invoker.sources 248 sources = invoker.sources
255 } 249 }
256 if (defined(invoker.visibility)) { 250 if (defined(invoker.visibility)) {
257 visibility = invoker.visibility 251 visibility = invoker.visibility
258 } 252 }
259 } 253 }
260 } 254 }
261 } 255 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698