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

Side by Side Diff: extensions/shell/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 | « dbus/BUILD.gn ('k') | gin/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("//extensions/shell/app_shell.gni") 5 import("//extensions/shell/app_shell.gni")
6 6
7 # Technically, this directory should not depend on files from src/chrome, but 7 # Technically, this directory should not depend on files from src/chrome, but
8 # that's where the VERSION file is. This should probably all be moved to 8 # that's where the VERSION file is. This should probably all be moved to
9 # src/build. 9 # src/build.
10 import("//chrome/version.gni") 10 import("//chrome/version.gni")
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 if (!(is_chromeos && !use_ozone)) { 139 if (!(is_chromeos && !use_ozone)) {
140 executable("app_shell") { 140 executable("app_shell") {
141 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. 141 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment.
142 testonly = true 142 testonly = true
143 sources = rebase_path(app_shell_gypi_values.app_shell_sources, 143 sources = rebase_path(app_shell_gypi_values.app_shell_sources,
144 ".", 144 ".",
145 "//extensions/shell") 145 "//extensions/shell")
146 deps = [ 146 deps = [
147 ":app_shell_lib", 147 ":app_shell_lib",
148 "//build/config/sanitizers:deps",
148 "//extensions:shell_and_test_pak", 149 "//extensions:shell_and_test_pak",
149 ] 150 ]
150 151
151 if (is_win) { 152 if (is_win) {
152 configs += [ "//build/config/win:windowed" ] 153 configs += [ "//build/config/win:windowed" ]
153 configs -= [ "//build/config/win:console" ] 154 configs -= [ "//build/config/win:console" ]
154 deps += [ "//base/allocator" ] 155 deps += [ "//base/allocator" ]
155 } 156 }
156 157
157 if (is_mac) { 158 if (is_mac) {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 231
231 if (is_win) { 232 if (is_win) {
232 deps += [ "//base/allocator" ] 233 deps += [ "//base/allocator" ]
233 } 234 }
234 } 235 }
235 236
236 process_version("version_header") { 237 process_version("version_header") {
237 template_file = "common/version.h.in" 238 template_file = "common/version.h.in"
238 output = "$target_gen_dir/common/version.h" 239 output = "$target_gen_dir/common/version.h"
239 } 240 }
OLDNEW
« no previous file with comments | « dbus/BUILD.gn ('k') | gin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698