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

Side by Side Diff: third_party/opus/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/mesa/BUILD.gn ('k') | third_party/protobuf/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("//build/config/arm.gni") 5 import("//build/config/arm.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 # If fixed point implementation shall be used (otherwise float). 8 # If fixed point implementation shall be used (otherwise float).
9 use_opus_fixed_point = current_cpu == "arm" || current_cpu == "arm64" 9 use_opus_fixed_point = current_cpu == "arm" || current_cpu == "arm64"
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 ] 162 ]
163 163
164 configs -= [ "//build/config/compiler:chromium_code" ] 164 configs -= [ "//build/config/compiler:chromium_code" ]
165 configs += [ 165 configs += [
166 "//build/config/compiler:no_chromium_code", 166 "//build/config/compiler:no_chromium_code",
167 ":opus_test_config", 167 ":opus_test_config",
168 ] 168 ]
169 169
170 deps = [ 170 deps = [
171 ":opus", 171 ":opus",
172 "//build/config/sanitizers:deps",
172 ] 173 ]
173 } 174 }
174 175
175 executable("opus_demo") { 176 executable("opus_demo") {
176 sources = [ 177 sources = [
177 "src/src/opus_demo.c", 178 "src/src/opus_demo.c",
178 ] 179 ]
179 180
180 configs -= [ "//build/config/compiler:chromium_code" ] 181 configs -= [ "//build/config/compiler:chromium_code" ]
181 configs += [ 182 configs += [
182 "//build/config/compiler:no_chromium_code", 183 "//build/config/compiler:no_chromium_code",
183 ":opus_test_config", 184 ":opus_test_config",
184 ] 185 ]
185 186
186 deps = [ 187 deps = [
187 ":opus", 188 ":opus",
189 "//build/config/sanitizers:deps",
188 ] 190 ]
189 } 191 }
190 192
191 test("test_opus_api") { 193 test("test_opus_api") {
192 sources = [ 194 sources = [
193 "src/tests/test_opus_api.c", 195 "src/tests/test_opus_api.c",
194 ] 196 ]
195 197
196 configs -= [ "//build/config/compiler:chromium_code" ] 198 configs -= [ "//build/config/compiler:chromium_code" ]
197 configs += [ 199 configs += [
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 configs -= [ "//build/config/compiler:chromium_code" ] 254 configs -= [ "//build/config/compiler:chromium_code" ]
253 configs += [ 255 configs += [
254 "//build/config/compiler:no_chromium_code", 256 "//build/config/compiler:no_chromium_code",
255 ":opus_test_config", 257 ":opus_test_config",
256 ] 258 ]
257 259
258 deps = [ 260 deps = [
259 ":opus", 261 ":opus",
260 ] 262 ]
261 } 263 }
OLDNEW
« no previous file with comments | « third_party/mesa/BUILD.gn ('k') | third_party/protobuf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698