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

Side by Side Diff: testing/test.gni

Issue 1240893004: Preliminary support for Windows manifests in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « remoting/remoting_host_win.gypi ('k') | 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 if (defined(invoker.data_deps)) { 196 if (defined(invoker.data_deps)) {
197 data_deps = invoker.data_deps 197 data_deps = invoker.data_deps
198 } 198 }
199 if (defined(invoker.datadeps)) { 199 if (defined(invoker.datadeps)) {
200 datadeps = invoker.datadeps 200 datadeps = invoker.datadeps
201 } 201 }
202 if (defined(invoker.defines)) { 202 if (defined(invoker.defines)) {
203 defines = invoker.defines 203 defines = invoker.defines
204 } 204 }
205 205
206 # All shared libraries must have the sanitizer deps to properly link in
207 # asan mode (this target will be empty in other cases).
208 if (defined(invoker.deps)) { 206 if (defined(invoker.deps)) {
209 deps = invoker.deps + [ "//build/config/sanitizers:deps" ] 207 deps = invoker.deps
210 } else { 208 } else {
211 deps = [ 209 deps = []
212 "//build/config/sanitizers:deps",
213 ]
214 } 210 }
211 deps += [
212 # All shared libraries must have the sanitizer deps to properly link in
213 # asan mode (this target will be empty in other cases).
214 "//build/config/sanitizers:deps",
215
216 # Give tests the default manifest on Windows (a no-op elsewhere).
217 "//build/win:default_exe_manifest",
218 ]
219
215 if (defined(invoker.direct_dependent_configs)) { 220 if (defined(invoker.direct_dependent_configs)) {
216 direct_dependent_configs = invoker.direct_dependent_configs 221 direct_dependent_configs = invoker.direct_dependent_configs
217 } 222 }
218 if (defined(invoker.forward_dependent_configs_from)) { 223 if (defined(invoker.forward_dependent_configs_from)) {
219 forward_dependent_configs_from = invoker.forward_dependent_configs_from 224 forward_dependent_configs_from = invoker.forward_dependent_configs_from
220 } 225 }
221 if (defined(invoker.include_dirs)) { 226 if (defined(invoker.include_dirs)) {
222 include_dirs = invoker.include_dirs 227 include_dirs = invoker.include_dirs
223 } 228 }
224 if (defined(invoker.ldflags)) { 229 if (defined(invoker.ldflags)) {
(...skipping 22 matching lines...) Expand all
247 } 252 }
248 if (defined(invoker.sources)) { 253 if (defined(invoker.sources)) {
249 sources = invoker.sources 254 sources = invoker.sources
250 } 255 }
251 if (defined(invoker.visibility)) { 256 if (defined(invoker.visibility)) {
252 visibility = invoker.visibility 257 visibility = invoker.visibility
253 } 258 }
254 } 259 }
255 } 260 }
256 } 261 }
OLDNEW
« no previous file with comments | « remoting/remoting_host_win.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698