| 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 | 6 |
| 7 # If fixed point implementation shall be used (otherwise float). | 7 # If fixed point implementation shall be used (otherwise float). |
| 8 use_opus_fixed_point = ((is_android || is_chromeos || | 8 use_opus_fixed_point = ((is_android || is_chromeos || |
| 9 (is_ios && arm_version == 7)) && cpu_arch == "arm") | 9 (is_ios && arm_version == 7)) && cpu_arch == "arm") |
| 10 | 10 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 "src/celt", | 150 "src/celt", |
| 151 "src/silk", | 151 "src/silk", |
| 152 ] | 152 ] |
| 153 | 153 |
| 154 if (is_win) { | 154 if (is_win) { |
| 155 defines = [ "inline=__inline" ] | 155 defines = [ "inline=__inline" ] |
| 156 } | 156 } |
| 157 if (is_android) { | 157 if (is_android) { |
| 158 libs = [ "log" ] | 158 libs = [ "log" ] |
| 159 } | 159 } |
| 160 if (is_clang) { |
| 161 cflags = [ "-Wno-absolute-value" ] |
| 162 } |
| 160 | 163 |
| 161 deps = [ ":opus" ] | 164 deps = [ ":opus" ] |
| 162 } | 165 } |
| OLD | NEW |