blob: adfc51fccc0bab973dc003de8c5f3b41f946848e [file] [log] [blame]
sergeyu@chromium.orgd5b5d742013-11-27 19:36:46 +00001# Copyright 2013 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 'variables': {
6 'libvpx_source%': 'source/libvpx',
7 'werror': '',
8 },
9 'includes': [
10 '../../native_client/build/untrusted.gypi',
11 ],
12 'targets': [
13 {
sergeyu@chromium.org71928bb2014-03-04 00:04:19 +000014 'target_name': 'libvpx_nacl',
sergeyu@chromium.orgd5b5d742013-11-27 19:36:46 +000015 'type': 'none',
16 'variables': {
sergeyu@chromium.org71928bb2014-03-04 00:04:19 +000017 'nlib_target': 'libvpx_nacl.a',
18 'build_glibc': 0,
19 'build_newlib': 0,
sergeyu@chromium.orgd5b5d742013-11-27 19:36:46 +000020 'build_pnacl_newlib': 1,
21 },
22 'dependencies': [
23 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
24 ],
25 'include_dirs': [
26 'source/config/nacl',
27 'source/config',
28 '<(libvpx_source)',
29 '<(libvpx_source)/vp8/common',
30 '<(libvpx_source)/vp8/decoder',
31 '<(libvpx_source)/vp8/encoder',
32 ],
33 'includes': ['libvpx_srcs_nacl.gypi', ],
sergeyu@chromium.org71928bb2014-03-04 00:04:19 +000034 }, # end of target 'libvpx_nacl'
sergeyu@chromium.orgd5b5d742013-11-27 19:36:46 +000035 ],
36}