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 { 14 'target_name': 'libvpx_nacl', 15 'type': 'none', 16 'variables': { 17 'nlib_target': 'libvpx_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 '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', ], 34 }, # end of target 'libvpx_nacl' 35 ], 36 } 37