Home | History | Annotate | Download | only in opus
      1 # Copyright 2014 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 {
      6   'variables': {
      7     'werror': '',
      8   },
      9   'includes': [
     10     '../../native_client/build/untrusted.gypi',
     11   ],
     12   'targets': [
     13     {
     14       'target_name': 'opus_nacl',
     15       'type': 'none',
     16       'variables': {
     17         'nlib_target': 'libopus_nacl.a',
     18         'build_glibc': 0,
     19         'build_newlib': 0,
     20         'build_pnacl_newlib': 1,
     21       },
     22       'dependencies': [
     23         '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
     24       ],
     25       'defines': [
     26         'OPUS_BUILD',
     27         'OPUS_EXPORT=',
     28         'HAVE_LRINT',
     29         'HAVE_LRINTF',
     30         'VAR_ARRAYS',
     31       ],
     32       'include_dirs': [
     33         'src/celt',
     34         'src/include',
     35         'src/silk',
     36         'src/silk/float',
     37       ],
     38       'includes': ['opus_srcs.gypi', ],
     39       'sources/': [
     40         ['exclude', '/fixed/[^/]*_FIX.(h|c)$'],
     41       ],
     42     },  # end of target 'opus_nacl'
     43   ],
     44 }
     45