| OLD | NEW |
| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 | 188 |
| 189 configs -= [ "//build/config/compiler:chromium_code" ] | 189 configs -= [ "//build/config/compiler:chromium_code" ] |
| 190 configs += [ | 190 configs += [ |
| 191 "//build/config/compiler:no_chromium_code", | 191 "//build/config/compiler:no_chromium_code", |
| 192 ":opus_test_config", | 192 ":opus_test_config", |
| 193 ] | 193 ] |
| 194 | 194 |
| 195 deps = [ | 195 deps = [ |
| 196 ":opus", | 196 ":opus", |
| 197 "//build/config/sanitizers:deps", | 197 "//build/config/sanitizers:deps", |
| 198 "//build/win:default_exe_manifest", |
| 198 ] | 199 ] |
| 199 } | 200 } |
| 200 | 201 |
| 201 executable("opus_demo") { | 202 executable("opus_demo") { |
| 202 sources = [ | 203 sources = [ |
| 203 "src/src/opus_demo.c", | 204 "src/src/opus_demo.c", |
| 204 ] | 205 ] |
| 205 | 206 |
| 206 configs -= [ "//build/config/compiler:chromium_code" ] | 207 configs -= [ "//build/config/compiler:chromium_code" ] |
| 207 configs += [ | 208 configs += [ |
| 208 "//build/config/compiler:no_chromium_code", | 209 "//build/config/compiler:no_chromium_code", |
| 209 ":opus_test_config", | 210 ":opus_test_config", |
| 210 ] | 211 ] |
| 211 | 212 |
| 212 deps = [ | 213 deps = [ |
| 213 ":opus", | 214 ":opus", |
| 214 "//build/config/sanitizers:deps", | 215 "//build/config/sanitizers:deps", |
| 216 "//build/win:default_exe_manifest", |
| 215 ] | 217 ] |
| 216 } | 218 } |
| 217 | 219 |
| 218 test("test_opus_api") { | 220 test("test_opus_api") { |
| 219 sources = [ | 221 sources = [ |
| 220 "src/tests/test_opus_api.c", | 222 "src/tests/test_opus_api.c", |
| 221 ] | 223 ] |
| 222 | 224 |
| 223 configs -= [ "//build/config/compiler:chromium_code" ] | 225 configs -= [ "//build/config/compiler:chromium_code" ] |
| 224 configs += [ | 226 configs += [ |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 configs -= [ "//build/config/compiler:chromium_code" ] | 287 configs -= [ "//build/config/compiler:chromium_code" ] |
| 286 configs += [ | 288 configs += [ |
| 287 "//build/config/compiler:no_chromium_code", | 289 "//build/config/compiler:no_chromium_code", |
| 288 ":opus_test_config", | 290 ":opus_test_config", |
| 289 ] | 291 ] |
| 290 | 292 |
| 291 deps = [ | 293 deps = [ |
| 292 ":opus", | 294 ":opus", |
| 293 ] | 295 ] |
| 294 } | 296 } |
| OLD | NEW |