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

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

Issue 865853005: Roll opus to opus-HEAD-66611f1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use commitdiff git URL. Created 5 years, 10 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
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 'conditions': [ 7 'conditions': [
8 ['target_arch=="arm" or target_arch=="arm64"', { 8 # TODO(wtc): change "mipselx" to "mipsel" in this file when the
9 # compilation errors in the MIPS optimizations are fixed.
10 ['target_arch=="arm" or target_arch=="arm64" or target_arch=="mipselx"', {
9 'use_opus_fixed_point%': 1, 11 'use_opus_fixed_point%': 1,
10 }, { 12 }, {
11 'use_opus_fixed_point%': 0, 13 'use_opus_fixed_point%': 0,
12 }], 14 }],
13 ['target_arch=="arm"', { 15 ['target_arch=="arm"', {
14 'use_opus_arm_optimization%': 1, 16 'use_opus_arm_optimization%': 1,
15 }, { 17 }, {
16 'use_opus_arm_optimization%': 0, 18 'use_opus_arm_optimization%': 0,
17 }], 19 }],
20 ['target_arch=="mipselx"', {
21 'use_opus_mips_optimization%': 1,
22 }, {
23 'use_opus_mips_optimization%': 0,
24 }],
18 ['target_arch=="arm" and (OS=="win" or OS=="android" or OS=="linux")', { 25 ['target_arch=="arm" and (OS=="win" or OS=="android" or OS=="linux")', {
19 # Based on the conditions in celt/arm/armcpu.c: 26 # Based on the conditions in celt/arm/armcpu.c:
20 # defined(_MSC_VER) || defined(__linux__). 27 # defined(_MSC_VER) || defined(__linux__).
21 'use_opus_rtcd%': 1, 28 'use_opus_rtcd%': 1,
22 }, { 29 }, {
23 'use_opus_rtcd%': 0, 30 'use_opus_rtcd%': 0,
24 }], 31 }],
25 ], 32 ],
26 }, 33 },
27 'targets': [ 34 'targets': [
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 'OPUS_ARM_MAY_HAVE_MEDIA', 124 'OPUS_ARM_MAY_HAVE_MEDIA',
118 'OPUS_ARM_MAY_HAVE_NEON', 125 'OPUS_ARM_MAY_HAVE_NEON',
119 'OPUS_HAVE_RTCD', 126 'OPUS_HAVE_RTCD',
120 ], 127 ],
121 'includes': [ 128 'includes': [
122 'opus_srcs_rtcd.gypi', 129 'opus_srcs_rtcd.gypi',
123 ], 130 ],
124 }], 131 }],
125 ], 132 ],
126 }], 133 }],
134 ['use_opus_mips_optimization==1', {
135 'defines': [
136 'MIPSr1_ASM',
137 'USE_ALLOCA',
138 ],
139
140 'includes': [
141 'opus_srcs_mips.gypi',
142 ],
143 }],
127 ], 144 ],
128 }], 145 }],
129 ], 146 ],
130 }, # target opus 147 }, # target opus
131 { 148 {
132 'target_name': 'opus_compare', 149 'target_name': 'opus_compare',
133 'type': 'executable', 150 'type': 'executable',
134 'dependencies': [ 151 'dependencies': [
135 'opus' 152 'opus'
136 ], 153 ],
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 'sources': [ 202 'sources': [
186 'src/src/opus_demo.c', 203 'src/src/opus_demo.c',
187 ], 204 ],
188 'include_dirs': [ 205 'include_dirs': [
189 'src/celt', 206 'src/celt',
190 'src/silk', 207 'src/silk',
191 ], 208 ],
192 }, # target opus_demo 209 }, # target opus_demo
193 ] 210 ]
194 } 211 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698