diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-03 17:40:31 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-03 17:40:31 +0000 |
commit | 530b813ce306ebce9fddfd172d351aa2fc040b12 (patch) | |
tree | 8bf2faf0870d1be92c61bbf18d0a10758004172b /third_party | |
parent | f746b47c80a54384918bd43b0105a5a291cdc3fc (diff) | |
download | chromium_src-530b813ce306ebce9fddfd172d351aa2fc040b12.zip chromium_src-530b813ce306ebce9fddfd172d351aa2fc040b12.tar.gz chromium_src-530b813ce306ebce9fddfd172d351aa2fc040b12.tar.bz2 |
Revert r64932 to bring back src/third_party/libvpx.
This should make svn sync again this directory.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/libvpx/libvpx.gyp | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/third_party/libvpx/libvpx.gyp b/third_party/libvpx/libvpx.gyp new file mode 100644 index 0000000..c521364 --- /dev/null +++ b/third_party/libvpx/libvpx.gyp @@ -0,0 +1,90 @@ +# Copyright (c) 2010 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. + +{ + 'targets': [ + # libvpx_lib is not currently being used since we use libvpx inside + # libavcodec. Keeping this just in case we need this later. + { + 'target_name': 'libvpx_lib', + 'type': 'none', + 'variables': { + 'libvpx_lib': 'libvpx.a', + }, + 'conditions': [ + # This section specifies the folder for looking for libvpx.a. + # + ['OS=="linux" and target_arch=="ia32"', { + 'variables': { + 'libvpx_path': 'lib/linux/ia32', + }, + }], + ['OS=="linux" and target_arch=="x64"', { + 'variables': { + 'libvpx_path': 'lib/linux/x64', + }, + }], + ['OS=="linux" and target_arch=="arm" and arm_neon==1', { + 'variables': { + 'libvpx_path': 'lib/linux/arm-neon', + }, + }], + ['OS=="linux" and target_arch=="arm" and arm_neon==0', { + 'variables': { + 'libvpx_path': 'lib/linux/arm', + }, + }], + ['OS=="win"', { + 'variables': { + 'libvpx_path': 'lib/win/ia32', + }, + }], + ['OS=="mac"', { + 'variables': { + 'libvpx_path': 'lib/mac/ia32', + }, + }], + ], + 'actions': [ + { + 'action_name': 'copy_lib', + 'inputs': [ + '<(libvpx_path)/<(libvpx_lib)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/<(libvpx_lib)', + ], + 'action': [ + 'cp', + '<(libvpx_path)/<(libvpx_lib)', + '<(SHARED_INTERMEDIATE_DIR)/<(libvpx_lib)', + ], + 'message': 'Copying libvpx.a into <(SHARED_INTERMEDIATE_DIR)', + }, + ], + 'all_dependent_settings': { + 'link_settings': { + 'libraries': [ + '<(SHARED_INTERMEDIATE_DIR)/<(libvpx_lib)', + ], + }, + }, + }, + { + 'target_name': 'libvpx_include', + 'type': 'none', + 'direct_dependent_settings': { + 'include_dirs': [ + 'include', + ], + }, + } + ], +} + +# Local Variables: +# tab-width:2 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=2 shiftwidth=2: |