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

Side by Side Diff: content/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 | « components/wifi/BUILD.gn ('k') | content/shell/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 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 # Applied by targets internal to content. 7 # Applied by targets internal to content.
8 config("content_implementation") { 8 config("content_implementation") {
9 defines = [ "CONTENT_IMPLEMENTATION" ] 9 defines = [ "CONTENT_IMPLEMENTATION" ]
10 } 10 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ] 48 ]
49 49
50 if (enable_plugins) { 50 if (enable_plugins) {
51 content_shared_components += [ "//content/ppapi_plugin:ppapi_plugin_sources" ] 51 content_shared_components += [ "//content/ppapi_plugin:ppapi_plugin_sources" ]
52 } 52 }
53 53
54 if (is_component_build) { 54 if (is_component_build) {
55 shared_library("content") { 55 shared_library("content") {
56 public_deps = 56 public_deps =
57 content_shared_components + [ "//content/public/app:both_sources" ] 57 content_shared_components + [ "//content/public/app:both_sources" ]
58 deps = [
59 "//build/config/sanitizers:deps",
60 ]
58 } 61 }
59 } else { 62 } else {
60 group("content") { 63 group("content") {
61 deps = content_shared_components 64 deps = content_shared_components
62 } 65 }
63 } 66 }
64 67
65 grit("resources") { 68 grit("resources") {
66 source = "content_resources.grd" 69 source = "content_resources.grd"
67 use_qualified_include = true 70 use_qualified_include = true
(...skipping 22 matching lines...) Expand all
90 "public/app/startup_helper_win.h", 93 "public/app/startup_helper_win.h",
91 ] 94 ]
92 95
93 deps = [ 96 deps = [
94 "//base", 97 "//base",
95 "//base:i18n", 98 "//base:i18n",
96 "//sandbox", 99 "//sandbox",
97 ] 100 ]
98 } 101 }
99 } 102 }
OLDNEW
« no previous file with comments | « components/wifi/BUILD.gn ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698