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

Side by Side Diff: third_party/opus/BUILD.gn

Issue 2411373002: [Opus] Set correct -mfpu flag for both NEON and VFP (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 "OPUS_ARM_MAY_HAVE_EDSP", 387 "OPUS_ARM_MAY_HAVE_EDSP",
388 "OPUS_ARM_MAY_HAVE_MEDIA", 388 "OPUS_ARM_MAY_HAVE_MEDIA",
389 "OPUS_ARM_MAY_HAVE_NEON", 389 "OPUS_ARM_MAY_HAVE_NEON",
390 "OPUS_ARM_MAY_HAVE_NEON_INTR", 390 "OPUS_ARM_MAY_HAVE_NEON_INTR",
391 "OPUS_HAVE_RTCD", 391 "OPUS_HAVE_RTCD",
392 ] 392 ]
393 393
394 deps = [ 394 deps = [
395 ":convert_rtcd_assembler", 395 ":convert_rtcd_assembler",
396 ] 396 ]
397
398 configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
399 cflags += [ "-mfpu=neon" ]
400 } 397 }
401 } 398 }
402 } 399 }
403 400
404 executable("opus_compare") { 401 executable("opus_compare") {
405 sources = [ 402 sources = [
406 "src/src/opus_compare.c", 403 "src/src/opus_compare.c",
407 ] 404 ]
408 405
409 configs -= [ "//build/config/compiler:chromium_code" ] 406 configs -= [ "//build/config/compiler:chromium_code" ]
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 configs -= [ "//build/config/compiler:chromium_code" ] 504 configs -= [ "//build/config/compiler:chromium_code" ]
508 configs += [ 505 configs += [
509 "//build/config/compiler:no_chromium_code", 506 "//build/config/compiler:no_chromium_code",
510 ":opus_test_config", 507 ":opus_test_config",
511 ] 508 ]
512 509
513 deps = [ 510 deps = [
514 ":opus", 511 ":opus",
515 ] 512 ]
516 } 513 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698