Chromium Code Reviews| 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 ['OS=="android"', { | 8 ['(OS=="android" or chromeos==1) and target_arch=="arm"', { |
|
Ami GONE FROM CHROMIUM
2014/03/24 16:16:34
Why not OS=="ios" (which would also likely mean ta
| |
| 9 'use_opus_fixed_point%': 1, | 9 'use_opus_fixed_point%': 1, |
| 10 'use_opus_arm_optimization%': 1, | |
| 10 }, { | 11 }, { |
| 11 'use_opus_fixed_point%': 0, | 12 'use_opus_fixed_point%': 0, |
| 13 'use_opus_arm_optimization%': 0, | |
| 12 }], | 14 }], |
| 13 ], | 15 ], |
| 14 }, | 16 }, |
| 15 'targets': [ | 17 'targets': [ |
| 16 { | 18 { |
| 17 'target_name': 'opus', | 19 'target_name': 'opus', |
| 18 'type': 'static_library', | 20 'type': 'static_library', |
| 19 'defines': [ | 21 'defines': [ |
| 20 'OPUS_BUILD', | 22 'OPUS_BUILD', |
| 21 'OPUS_EXPORT=', | 23 'OPUS_EXPORT=', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 }, { | 60 }, { |
| 59 'defines': [ | 61 'defines': [ |
| 60 'FIXED_POINT', | 62 'FIXED_POINT', |
| 61 ], | 63 ], |
| 62 'include_dirs': [ | 64 'include_dirs': [ |
| 63 'src/silk/fixed', | 65 'src/silk/fixed', |
| 64 ], | 66 ], |
| 65 'sources/': [ | 67 'sources/': [ |
| 66 ['exclude', '/float/[^/]*_FLP.(h|c)$'], | 68 ['exclude', '/float/[^/]*_FLP.(h|c)$'], |
| 67 ], | 69 ], |
| 70 'conditions': [ | |
| 71 ['use_opus_arm_optimization==1', { | |
| 72 'defines': [ | |
| 73 'OPUS_ARM_ASM', | |
| 74 'OPUS_ARM_INLINE_ASM', | |
| 75 'OPUS_ARM_INLINE_EDSP', | |
| 76 'OPUS_ARM_MAY_HAVE_EDSP', | |
| 77 'OPUS_ARM_MAY_HAVE_MEDIA', | |
| 78 'OPUS_ARM_MAY_HAVE_NEON', | |
|
Ami GONE FROM CHROMIUM
2014/03/24 16:16:34
Does the run-time check this turns into https://co
| |
| 79 'OPUS_HAVE_RTCD', | |
| 80 ], | |
| 81 'includes': [ | |
| 82 'opus_srcs_arm.gypi', | |
| 83 ], | |
| 84 }], | |
| 85 ], | |
| 68 }], | 86 }], |
| 69 ], | 87 ], |
| 70 }, # target opus | 88 }, # target opus |
| 71 { | 89 { |
| 72 'target_name': 'opus_demo', | 90 'target_name': 'opus_demo', |
| 73 'type': 'executable', | 91 'type': 'executable', |
| 74 'dependencies': [ | 92 'dependencies': [ |
| 75 'opus' | 93 'opus' |
| 76 ], | 94 ], |
| 77 'conditions': [ | 95 'conditions': [ |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 91 'sources': [ | 109 'sources': [ |
| 92 'src/src/opus_demo.c', | 110 'src/src/opus_demo.c', |
| 93 ], | 111 ], |
| 94 'include_dirs': [ | 112 'include_dirs': [ |
| 95 'src/celt', | 113 'src/celt', |
| 96 'src/silk', | 114 'src/silk', |
| 97 ], | 115 ], |
| 98 }, # target opus_demo | 116 }, # target opus_demo |
| 99 ] | 117 ] |
| 100 } | 118 } |
| OLD | NEW |