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

Side by Side Diff: third_party/protobuf/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 | « third_party/opus/BUILD.gn ('k') | third_party/qcms/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 if (is_win) { 5 if (is_win) {
6 config_h_dir = "vsprojects" 6 config_h_dir = "vsprojects"
7 } else { 7 } else {
8 config_h_dir = "." 8 config_h_dir = "."
9 } 9 }
10 10
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 configs += [ "//build/config/compiler:no_chromium_code" ] 253 configs += [ "//build/config/compiler:no_chromium_code" ]
254 if (is_win) { 254 if (is_win) {
255 # This is defined internally, don't warn on duplicate. 255 # This is defined internally, don't warn on duplicate.
256 configs -= [ "//build/config/win:lean_and_mean" ] 256 configs -= [ "//build/config/win:lean_and_mean" ]
257 } 257 }
258 258
259 cflags = protobuf_lite_cflags 259 cflags = protobuf_lite_cflags
260 260
261 deps = [ 261 deps = [
262 ":protobuf_full", 262 ":protobuf_full",
263 "//build/config/sanitizers:deps",
263 ] 264 ]
264 deps += [ "//build/config/sanitizers:deps" ] 265 deps += [ "//build/config/sanitizers:deps" ]
265 } 266 }
266 } 267 }
267 268
268 google_python_dir = "$root_out_dir/pyproto/google" 269 google_python_dir = "$root_out_dir/pyproto/google"
269 270
270 copy("copy_google") { 271 copy("copy_google") {
271 sources = [ 272 sources = [
272 "__init__.py", 273 "__init__.py",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 ":copy_google", 330 ":copy_google",
330 ":copy_google_protobuf", 331 ":copy_google_protobuf",
331 ":copy_google_protobuf_internal", 332 ":copy_google_protobuf_internal",
332 ] 333 ]
333 334
334 # Targets that depend on this should depend on the copied data files. 335 # Targets that depend on this should depend on the copied data files.
335 data = get_target_outputs(":copy_google") 336 data = get_target_outputs(":copy_google")
336 data += get_target_outputs(":copy_google_protobuf") 337 data += get_target_outputs(":copy_google_protobuf")
337 data += get_target_outputs(":copy_google_protobuf_internal") 338 data += get_target_outputs(":copy_google_protobuf_internal")
338 } 339 }
OLDNEW
« no previous file with comments | « third_party/opus/BUILD.gn ('k') | third_party/qcms/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698