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

Side by Side Diff: tools/gn/BUILD.gn

Issue 1318343003: Annotate GN executables and shared_libraries with sanitizer deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « tools/android/md5sum/BUILD.gn ('k') | tools/imagediff/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 defines = [ "GN_BUILD" ] 7 defines = [ "GN_BUILD" ]
8 8
9 static_library("gn_lib") { 9 static_library("gn_lib") {
10 configs += [ "//build/config:precompiled_headers" ] 10 configs += [ "//build/config:precompiled_headers" ]
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 # enable_iterator_debugging = false 222 # enable_iterator_debugging = false
223 executable("gn") { 223 executable("gn") {
224 sources = [ 224 sources = [
225 "gn_main.cc", 225 "gn_main.cc",
226 ] 226 ]
227 227
228 deps = [ 228 deps = [
229 ":gn_lib", 229 ":gn_lib",
230 ":last_commit_position", 230 ":last_commit_position",
231 "//base", 231 "//base",
232 "//build/config/sanitizers:deps",
232 ] 233 ]
233 } 234 }
234 235
235 # TODO(GYP): Delete this after we've converted everything to GN. 236 # TODO(GYP): Delete this after we've converted everything to GN.
236 # The _run targets exist only for compatibility w/ GYP. 237 # The _run targets exist only for compatibility w/ GYP.
237 group("gn_unittests_run") { 238 group("gn_unittests_run") {
238 testonly = true 239 testonly = true
239 deps = [ 240 deps = [
240 ":gn_unittests", 241 ":gn_unittests",
241 ] 242 ]
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 "//testing/gtest", 310 "//testing/gtest",
310 ] 311 ]
311 } 312 }
312 313
313 executable("generate_test_gn_data") { 314 executable("generate_test_gn_data") {
314 sources = [ 315 sources = [
315 "generate_test_gn_data.cc", 316 "generate_test_gn_data.cc",
316 ] 317 ]
317 deps = [ 318 deps = [
318 "//base", 319 "//base",
320 "//build/config/sanitizers:deps",
319 ] 321 ]
320 } 322 }
OLDNEW
« no previous file with comments | « tools/android/md5sum/BUILD.gn ('k') | tools/imagediff/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698