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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 } |
OLD | NEW |