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

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

Issue 790173003: Add a build target for opus_compare. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« third_party/opus/BUILD.gn ('K') | « third_party/opus/BUILD.gn ('k') | no next file » | 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 '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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 'opus_srcs_rtcd.gypi', 122 'opus_srcs_rtcd.gypi',
123 ], 123 ],
124 }], 124 }],
125 ], 125 ],
126 }], 126 }],
127 ], 127 ],
128 }], 128 }],
129 ], 129 ],
130 }, # target opus 130 }, # target opus
131 { 131 {
132 'target_name': 'opus_compare',
133 'type': 'executable',
134 'dependencies': [
135 'opus'
136 ],
137 'conditions': [
138 ['OS == "win"', {
139 'defines': [
140 'inline=__inline',
141 ],
142 }],
143 ['OS=="android"', {
144 'link_settings': {
145 'libraries': [
146 '-llog',
147 ],
148 },
149 }],
150 ['clang==1', {
151 'cflags': [ '-Wno-absolute-value' ],
152 }]
153 ],
154 'sources': [
155 'src/src/opus_compare.c',
156 ],
157 'include_dirs': [
158 'src/celt',
159 'src/silk',
160 ],
161 }, # target opus_compare
162 {
132 'target_name': 'opus_demo', 163 'target_name': 'opus_demo',
133 'type': 'executable', 164 'type': 'executable',
134 'dependencies': [ 165 'dependencies': [
135 'opus' 166 'opus'
136 ], 167 ],
137 'conditions': [ 168 'conditions': [
138 ['OS == "win"', { 169 ['OS == "win"', {
139 'defines': [ 170 'defines': [
140 'inline=__inline', 171 'inline=__inline',
141 ], 172 ],
(...skipping 12 matching lines...) Expand all
154 'sources': [ 185 'sources': [
155 'src/src/opus_demo.c', 186 'src/src/opus_demo.c',
156 ], 187 ],
157 'include_dirs': [ 188 'include_dirs': [
158 'src/celt', 189 'src/celt',
159 'src/silk', 190 'src/silk',
160 ], 191 ],
161 }, # target opus_demo 192 }, # target opus_demo
162 ] 193 ]
163 } 194 }
OLDNEW
« third_party/opus/BUILD.gn ('K') | « third_party/opus/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698