blob: 4ade7026389dedf7b2b139aba7961c1daf5a9bea [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'werror': '',
},
'includes': [
'../../native_client/build/untrusted.gypi',
],
'targets': [
{
'target_name': 'opus_nacl',
'type': 'none',
'variables': {
'nlib_target': 'libopus_nacl.a',
'build_glibc': 0,
'build_newlib': 0,
'build_pnacl_newlib': 1,
},
'dependencies': [
'<(DEPTH)/native_client/tools.gyp:prep_toolchain',
],
'defines': [
'OPUS_BUILD',
'OPUS_EXPORT=',
'HAVE_LRINT',
'HAVE_LRINTF',
'VAR_ARRAYS',
],
'include_dirs': [
'src/celt',
'src/include',
'src/silk',
'src/silk/float',
],
'includes': ['opus_srcs.gypi', ],
'sources/': [
['exclude', '/fixed/[^/]*_FIX.(h|c)$'],
],
}, # end of target 'opus_nacl'
],
}