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=="armv7" or target_arch=="arm64"', { | 8 ['target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64"', { |
9 'use_opus_fixed_point%': 1, | 9 'use_opus_fixed_point%': 1, |
10 }, { | 10 }, { |
(...skipping 22 matching lines...) Expand all Loading... |
33 'include_dirs': [ | 33 'include_dirs': [ |
34 'src/celt', | 34 'src/celt', |
35 'src/include', | 35 'src/include', |
36 'src/silk', | 36 'src/silk', |
37 ], | 37 ], |
38 'direct_dependent_settings': { | 38 'direct_dependent_settings': { |
39 'include_dirs': [ | 39 'include_dirs': [ |
40 'src/include', | 40 'src/include', |
41 ], | 41 ], |
42 }, | 42 }, |
43 'includes': ['opus_srcs.gypi', ], | 43 'includes': [ |
| 44 'opus_srcs.gypi', |
| 45 # Disable LTO due to ELF section name out of range |
| 46 # crbug.com/422251 |
| 47 '../../build/android/disable_lto.gypi', |
| 48 ], |
44 'sources': ['<@(opus_common_sources)'], | 49 'sources': ['<@(opus_common_sources)'], |
45 'conditions': [ | 50 'conditions': [ |
46 ['OS!="win"', { | 51 ['OS!="win"', { |
47 'defines': [ | 52 'defines': [ |
48 'HAVE_LRINT', | 53 'HAVE_LRINT', |
49 'HAVE_LRINTF', | 54 'HAVE_LRINTF', |
50 'VAR_ARRAYS', | 55 'VAR_ARRAYS', |
51 ], | 56 ], |
52 }, { | 57 }, { |
53 'defines': [ | 58 'defines': [ |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 'sources': [ | 152 'sources': [ |
148 'src/src/opus_demo.c', | 153 'src/src/opus_demo.c', |
149 ], | 154 ], |
150 'include_dirs': [ | 155 'include_dirs': [ |
151 'src/celt', | 156 'src/celt', |
152 'src/silk', | 157 'src/silk', |
153 ], | 158 ], |
154 }, # target opus_demo | 159 }, # target opus_demo |
155 ] | 160 ] |
156 } | 161 } |
OLD | NEW |