| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 ], | 66 ], |
| 67 'direct_dependent_settings': { | 67 'direct_dependent_settings': { |
| 68 'include_dirs': [ | 68 'include_dirs': [ |
| 69 'src/include', | 69 'src/include', |
| 70 ], | 70 ], |
| 71 }, | 71 }, |
| 72 'includes': [ | 72 'includes': [ |
| 73 'opus_srcs.gypi', | 73 'opus_srcs.gypi', |
| 74 # Disable LTO due to ELF section name out of range | 74 # Disable LTO due to ELF section name out of range |
| 75 # crbug.com/422251 | 75 # crbug.com/422251 |
| 76 '../../build/android/disable_lto.gypi', | 76 '../../build/android/disable_gcc_lto.gypi', |
| 77 ], | 77 ], |
| 78 'sources': ['<@(opus_common_sources)'], | 78 'sources': ['<@(opus_common_sources)'], |
| 79 'conditions': [ | 79 'conditions': [ |
| 80 ['OS!="win"', { | 80 ['OS!="win"', { |
| 81 'defines': [ | 81 'defines': [ |
| 82 'HAVE_LRINT', | 82 'HAVE_LRINT', |
| 83 'HAVE_LRINTF', | 83 'HAVE_LRINTF', |
| 84 'VAR_ARRAYS', | 84 'VAR_ARRAYS', |
| 85 ], | 85 ], |
| 86 }, { | 86 }, { |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 'type': 'executable', | 229 'type': 'executable', |
| 230 'dependencies': [ | 230 'dependencies': [ |
| 231 'opus' | 231 'opus' |
| 232 ], | 232 ], |
| 233 'sources': [ | 233 'sources': [ |
| 234 'src/tests/test_opus_padding.c', | 234 'src/tests/test_opus_padding.c', |
| 235 ], | 235 ], |
| 236 }, # target test_opus_padding | 236 }, # target test_opus_padding |
| 237 ] | 237 ] |
| 238 } | 238 } |
| OLD | NEW |