sergeyu@chromium.org | d5b5d74 | 2013-11-27 19:36:46 +0000 | [diff] [blame] | 1 | # 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.org | 71928bb | 2014-03-04 00:04:19 +0000 | [diff] [blame] | 14 | 'target_name': 'libvpx_nacl', |
sergeyu@chromium.org | d5b5d74 | 2013-11-27 19:36:46 +0000 | [diff] [blame] | 15 | 'type': 'none', |
| 16 | 'variables': { |
sergeyu@chromium.org | 71928bb | 2014-03-04 00:04:19 +0000 | [diff] [blame] | 17 | 'nlib_target': 'libvpx_nacl.a', |
| 18 | 'build_glibc': 0, |
| 19 | 'build_newlib': 0, |
sergeyu@chromium.org | d5b5d74 | 2013-11-27 19:36:46 +0000 | [diff] [blame] | 20 | '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.org | 71928bb | 2014-03-04 00:04:19 +0000 | [diff] [blame] | 34 | }, # end of target 'libvpx_nacl' |
sergeyu@chromium.org | d5b5d74 | 2013-11-27 19:36:46 +0000 | [diff] [blame] | 35 | ], |
| 36 | } |