| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 ], | 52 ], |
| 53 }, | 53 }, |
| 54 'targets': [ | 54 'targets': [ |
| 55 { | 55 { |
| 56 'target_name': 'opus', | 56 'target_name': 'opus', |
| 57 'type': 'static_library', | 57 'type': 'static_library', |
| 58 'defines': [ | 58 'defines': [ |
| 59 'OPUS_BUILD', | 59 'OPUS_BUILD', |
| 60 'OPUS_EXPORT=', | 60 'OPUS_EXPORT=', |
| 61 ], | 61 ], |
| 62 'variables': { |
| 63 'clang_warning_flags': [ |
| 64 # TODO(thakis): Remove once silk/macros.h has been fixed |
| 65 '-Wno-expansion-to-defined', |
| 66 ], |
| 67 }, |
| 62 'include_dirs': [ | 68 'include_dirs': [ |
| 63 'src/celt', | 69 'src/celt', |
| 64 'src/include', | 70 'src/include', |
| 65 'src/silk', | 71 'src/silk', |
| 66 ], | 72 ], |
| 67 'direct_dependent_settings': { | 73 'direct_dependent_settings': { |
| 68 'include_dirs': [ | 74 'include_dirs': [ |
| 69 'src/include', | 75 'src/include', |
| 70 ], | 76 ], |
| 71 }, | 77 }, |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 'type': 'executable', | 240 'type': 'executable', |
| 235 'dependencies': [ | 241 'dependencies': [ |
| 236 'opus' | 242 'opus' |
| 237 ], | 243 ], |
| 238 'sources': [ | 244 'sources': [ |
| 239 'src/tests/test_opus_padding.c', | 245 'src/tests/test_opus_padding.c', |
| 240 ], | 246 ], |
| 241 }, # target test_opus_padding | 247 }, # target test_opus_padding |
| 242 ] | 248 ] |
| 243 } | 249 } |
| OLD | NEW |