summaryrefslogtreecommitdiff
path: root/libvpx_nacl.gyp
blob: adfc51fccc0bab973dc003de8c5f3b41f946848e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2013 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': {
    'libvpx_source%': 'source/libvpx',
    'werror': '',
  },
  'includes': [
    '../../native_client/build/untrusted.gypi',
  ],
  'targets': [
    {
      'target_name': 'libvpx_nacl',
      'type': 'none',
      'variables': {
        'nlib_target': 'libvpx_nacl.a',
        'build_glibc': 0,
        'build_newlib': 0,
        'build_pnacl_newlib': 1,
      },
      'dependencies': [
        '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
      ],
      'include_dirs': [
        'source/config/nacl',
        'source/config',
        '<(libvpx_source)',
        '<(libvpx_source)/vp8/common',
        '<(libvpx_source)/vp8/decoder',
        '<(libvpx_source)/vp8/encoder',
      ],
      'includes': ['libvpx_srcs_nacl.gypi', ],
    },  # end of target 'libvpx_nacl'
  ],
}