| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 { | 4 { |
| 5 'variables': { | 5 'variables': { |
| 6 'libvpx_source%': 'source/libvpx', | 6 'libvpx_source%': 'source/libvpx', |
| 7 'werror': '', | 7 'werror': '', |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../../native_client/build/untrusted.gypi', | 10 '../../native_client/build/untrusted.gypi', |
| 11 ], | 11 ], |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 'target_name': 'libvpx_untrusted', | 14 'target_name': 'libvpx_nacl', |
| 15 'type': 'none', | 15 'type': 'none', |
| 16 'variables': { | 16 'variables': { |
| 17 'nlib_target': 'libvpx_untrusted.a', | 17 'nlib_target': 'libvpx_nacl.a', |
| 18 'build_glibc': 1, | 18 'build_glibc': 0, |
| 19 'build_newlib': 1, | 19 'build_newlib': 0, |
| 20 'build_pnacl_newlib': 1, | 20 'build_pnacl_newlib': 1, |
| 21 }, | 21 }, |
| 22 'dependencies': [ | 22 'dependencies': [ |
| 23 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 23 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 24 ], | 24 ], |
| 25 'include_dirs': [ | 25 'include_dirs': [ |
| 26 'source/config/nacl', | 26 'source/config/nacl', |
| 27 'source/config', | 27 'source/config', |
| 28 '<(libvpx_source)', | 28 '<(libvpx_source)', |
| 29 '<(libvpx_source)/vp8/common', | 29 '<(libvpx_source)/vp8/common', |
| 30 '<(libvpx_source)/vp8/decoder', | 30 '<(libvpx_source)/vp8/decoder', |
| 31 '<(libvpx_source)/vp8/encoder', | 31 '<(libvpx_source)/vp8/encoder', |
| 32 ], | 32 ], |
| 33 'includes': ['libvpx_srcs_nacl.gypi', ], | 33 'includes': ['libvpx_srcs_nacl.gypi', ], |
| 34 }, # end of target 'libvpx_untrusted' | 34 }, # end of target 'libvpx_nacl' |
| 35 ], | 35 ], |
| 36 } | 36 } |
| OLD | NEW |