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

Side by Side Diff: third_party/opus/opus.gyp

Issue 11189047: Add opus audio codec support in remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « remoting/remoting.gyp ('k') | third_party/opus/overrides/include/opus_defines.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'use_system_opus%': 0, 7 'use_system_opus%': 0,
8 }, 8 },
9 'conditions': [ 9 'conditions': [
10 ['use_system_opus==0', { 10 ['use_system_opus==0', {
11 'targets': [ 11 'targets': [
12 { 12 {
13 'target_name': 'opus', 13 'target_name': 'opus',
14 'type': 'static_library', 14 'type': 'static_library',
15 'defines': [
16 'OPUS_BUILD',
17 'WORDS_BIGENDIAN',
18 ],
19 'conditions': [
20 ['OS!="win"', {
21 'defines': [
22 'HAVE_LRINT',
23 'HAVE_LRINTF',
24 'VAR_ARRAYS',
25 ],
26 }, {
27 'defines': [
28 'USE_ALLOCA',
29 'inline=__inline',
30 ],
31 'msvs_disabled_warnings': [
32 4305, # Disable truncation warning in celt/pitch.c .
33 ],
34 }],
35 ],
15 'include_dirs': [ 36 'include_dirs': [
37 '../..',
38 'overrides/include',
16 'src/celt', 39 'src/celt',
17 'src/include', 40 'src/include',
18 'src/silk', 41 'src/silk',
19 'src/silk/float', 42 'src/silk/float',
20 ], 43 ],
21 'defines': [ 44 'direct_dependent_settings': {
22 'OPUS_BUILD', 45 'include_dirs': [
23 'VAR_ARRAYS', 46 'overrides/include',
24 'WORDS_BIGENDIAN', 47 'src/include',
25 ], 48 ],
49 },
26 'sources': [ 50 'sources': [
27 'src/celt/_kiss_fft_guts.h', 51 'src/celt/_kiss_fft_guts.h',
28 'src/celt/arch.h', 52 'src/celt/arch.h',
29 'src/celt/bands.c', 53 'src/celt/bands.c',
30 'src/celt/bands.h', 54 'src/celt/bands.h',
31 'src/celt/celt.c', 55 'src/celt/celt.c',
32 'src/celt/celt.h', 56 'src/celt/celt.h',
33 'src/celt/celt_lpc.c', 57 'src/celt/celt_lpc.c',
34 'src/celt/celt_lpc.h', 58 'src/celt/celt_lpc.h',
35 'src/celt/cwrs.c', 59 'src/celt/cwrs.c',
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 'src/silk/float/noise_shape_analysis_FLP.c', 146 'src/silk/float/noise_shape_analysis_FLP.c',
123 'src/silk/float/pitch_analysis_core_FLP.c', 147 'src/silk/float/pitch_analysis_core_FLP.c',
124 'src/silk/float/prefilter_FLP.c', 148 'src/silk/float/prefilter_FLP.c',
125 'src/silk/float/process_gains_FLP.c', 149 'src/silk/float/process_gains_FLP.c',
126 'src/silk/float/regularize_correlations_FLP.c', 150 'src/silk/float/regularize_correlations_FLP.c',
127 'src/silk/float/residual_energy_FLP.c', 151 'src/silk/float/residual_energy_FLP.c',
128 'src/silk/float/scale_copy_vector_FLP.c', 152 'src/silk/float/scale_copy_vector_FLP.c',
129 'src/silk/float/scale_vector_FLP.c', 153 'src/silk/float/scale_vector_FLP.c',
130 'src/silk/float/schur_FLP.c', 154 'src/silk/float/schur_FLP.c',
131 'src/silk/float/SigProc_FLP.h', 155 'src/silk/float/SigProc_FLP.h',
132 'src/silk/float/silk_float.vcxproj',
133 'src/silk/float/silk_float.vcxproj.filters',
134 'src/silk/float/solve_LS_FLP.c', 156 'src/silk/float/solve_LS_FLP.c',
135 'src/silk/float/sort_FLP.c', 157 'src/silk/float/sort_FLP.c',
136 'src/silk/float/structs_FLP.h', 158 'src/silk/float/structs_FLP.h',
137 'src/silk/float/warped_autocorrelation_FLP.c', 159 'src/silk/float/warped_autocorrelation_FLP.c',
138 'src/silk/float/wrappers_FLP.c', 160 'src/silk/float/wrappers_FLP.c',
139 'src/silk/gain_quant.c', 161 'src/silk/gain_quant.c',
140 'src/silk/HP_variable_cutoff.c', 162 'src/silk/HP_variable_cutoff.c',
141 'src/silk/init_decoder.c', 163 'src/silk/init_decoder.c',
142 'src/silk/init_encoder.c', 164 'src/silk/init_encoder.c',
143 'src/silk/Inlines.h', 165 'src/silk/Inlines.h',
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 'src/silk/tuning_parameters.h', 225 'src/silk/tuning_parameters.h',
204 'src/silk/typedef.h', 226 'src/silk/typedef.h',
205 'src/silk/VAD.c', 227 'src/silk/VAD.c',
206 'src/silk/VQ_WMat_EC.c', 228 'src/silk/VQ_WMat_EC.c',
207 'src/src/opus.c', 229 'src/src/opus.c',
208 'src/src/opus_decoder.c', 230 'src/src/opus_decoder.c',
209 'src/src/opus_encoder.c', 231 'src/src/opus_encoder.c',
210 'src/src/opus_multistream.c', 232 'src/src/opus_multistream.c',
211 'src/src/repacketizer.c', 233 'src/src/repacketizer.c',
212 ], 234 ],
213 'conditions': [
214 ['os_posix == 1', {
215 'defines': [
216 'HAVE_LRINT',
217 'HAVE_LRINTF',
218 ],
219 }],
220 ],
221 }, # target opus 235 }, # target opus
222 ] 236 ]
223 }, { # use_system_opus != 0 237 }, { # use_system_opus != 0
224 'targets': [ 238 'targets': [
225 { 239 {
226 'target_name': 'opus', 240 'target_name': 'opus',
227 'type': 'none', 241 'type': 'none',
228 'direct_dependent_settings': { 242 'direct_dependent_settings': {
229 'cflags': [ 243 'cflags': [
230 '<!@(pkg-config --cflags opus)', 244 '<!@(pkg-config --cflags opus)',
231 ], 245 ],
232 'defines': [ 246 'defines': [
233 'USE_SYSTEM_OPUS', 247 'USE_SYSTEM_OPUS',
234 ], 248 ],
235 }, 249 },
236 'link_settings': { 250 'link_settings': {
237 'ldflags': [ 251 'ldflags': [
238 '<!@(pkg-config --libs-only-L --libs-only-other opus)', 252 '<!@(pkg-config --libs-only-L --libs-only-other opus)',
239 ], 253 ],
240 'libraries': [ 254 'libraries': [
241 '<!@(pkg-config --libs-only-l opus)', 255 '<!@(pkg-config --libs-only-l opus)',
242 ], 256 ],
243 }, 257 },
244 }, # target opus 258 }, # target opus
245 ], 259 ],
246 }], 260 }],
247 ], 261 ],
248 } 262 }
OLDNEW
« no previous file with comments | « remoting/remoting.gyp ('k') | third_party/opus/overrides/include/opus_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698