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

Side by Side Diff: third_party/sqlite/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/qcms/BUILD.gn ('k') | third_party/widevine/cdm/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 declare_args() { 5 declare_args() {
6 # Controls whether the build should uses the version of sqlite3 library 6 # Controls whether the build should uses the version of sqlite3 library
7 # shipped with the system (currently only supported on iOS) or the one 7 # shipped with the system (currently only supported on iOS) or the one
8 # shipped with Chromium source. 8 # shipped with Chromium source.
9 use_system_sqlite = is_ios 9 use_system_sqlite = is_ios
10 } 10 }
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 sources = [ 108 sources = [
109 "src/src/shell.c", 109 "src/src/shell.c",
110 "src/src/shell_icu_linux.c", 110 "src/src/shell_icu_linux.c",
111 111
112 # Include a dummy c++ file to force linking of libstdc++. 112 # Include a dummy c++ file to force linking of libstdc++.
113 "build_as_cpp.cc", 113 "build_as_cpp.cc",
114 ] 114 ]
115 115
116 deps = [ 116 deps = [
117 ":sqlite", 117 ":sqlite",
118 "//build/config/sanitizers:deps",
118 "//third_party/icu", 119 "//third_party/icu",
119 ] 120 ]
120 } 121 }
121 } 122 }
122 } 123 }
123 124
124 if (use_system_sqlite) { 125 if (use_system_sqlite) {
125 # iOS uses the version of sqlite3 shipped with the system instead of the 126 # iOS uses the version of sqlite3 shipped with the system instead of the
126 # version shipped with Chromium. Export a "sqlite" target so the change 127 # version shipped with Chromium. Export a "sqlite" target so the change
127 # can be localized to this file. 128 # can be localized to this file.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 "//third_party/icu", 166 "//third_party/icu",
166 ] 167 ]
167 if (is_clang) { 168 if (is_clang) {
168 # src/ext/icu/icu.c uses assert(!"string") which causes warnings about 169 # src/ext/icu/icu.c uses assert(!"string") which causes warnings about
169 # conversion from string literal to bool. 170 # conversion from string literal to bool.
170 configs -= [ "//build/config/clang:extra_warnings" ] 171 configs -= [ "//build/config/clang:extra_warnings" ]
171 } 172 }
172 } 173 }
173 } 174 }
174 } 175 }
OLDNEW
« no previous file with comments | « third_party/qcms/BUILD.gn ('k') | third_party/widevine/cdm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698