• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the ../../../LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS.  All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("../../../webrtc.gni")
10
11rtc_library("spl_sqrt_floor") {
12  visibility = [ "../..:common_audio_c" ]
13  sources = [ "spl_sqrt_floor.h" ]
14  deps = []
15  if (current_cpu == "arm") {
16    sources += [ "spl_sqrt_floor_arm.S" ]
17
18    deps += [ "../../../rtc_base/system:asm_defines" ]
19  } else if (current_cpu == "mipsel") {
20    sources += [ "spl_sqrt_floor_mips.c" ]
21  } else {
22    sources += [ "spl_sqrt_floor.c" ]
23  }
24}
25