OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['target_arch=="arm" or target_arch=="arm64"', { | 8 ['target_arch=="arm" or target_arch=="arm64"', { |
9 'use_opus_fixed_point%': 1, | 9 'use_opus_fixed_point%': 1, |
10 }, { | 10 }, { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 }], | 116 }], |
117 ['use_opus_fixed_point==0', { | 117 ['use_opus_fixed_point==0', { |
118 'include_dirs': [ | 118 'include_dirs': [ |
119 'src/silk/float', | 119 'src/silk/float', |
120 ], | 120 ], |
121 'sources': ['<@(opus_float_sources)'], | 121 'sources': ['<@(opus_float_sources)'], |
122 }, { | 122 }, { |
123 'defines': [ | 123 'defines': [ |
124 'FIXED_POINT', | 124 'FIXED_POINT', |
125 ], | 125 ], |
| 126 'direct_dependent_settings': { |
| 127 'defines': [ |
| 128 'OPUS_FIXED_POINT', |
| 129 ], |
| 130 }, |
126 'include_dirs': [ | 131 'include_dirs': [ |
127 'src/silk/fixed', | 132 'src/silk/fixed', |
128 ], | 133 ], |
129 'sources': ['<@(opus_fixed_sources)'], | 134 'sources': ['<@(opus_fixed_sources)'], |
130 'conditions': [ | 135 'conditions': [ |
131 ['use_opus_arm_optimization==1', { | 136 ['use_opus_arm_optimization==1', { |
132 'defines': [ | 137 'defines': [ |
133 'OPUS_ARM_ASM', | 138 'OPUS_ARM_ASM', |
134 'OPUS_ARM_INLINE_ASM', | 139 'OPUS_ARM_INLINE_ASM', |
135 'OPUS_ARM_INLINE_EDSP', | 140 'OPUS_ARM_INLINE_EDSP', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 'type': 'executable', | 229 'type': 'executable', |
225 'dependencies': [ | 230 'dependencies': [ |
226 'opus' | 231 'opus' |
227 ], | 232 ], |
228 'sources': [ | 233 'sources': [ |
229 'src/tests/test_opus_padding.c', | 234 'src/tests/test_opus_padding.c', |
230 ], | 235 ], |
231 }, # target test_opus_padding | 236 }, # target test_opus_padding |
232 ] | 237 ] |
233 } | 238 } |
OLD | NEW |