| Index: build/linux/unbundle/libvpx.gyp
|
| diff --git a/build/linux/unbundle/libpng.gyp b/build/linux/unbundle/libvpx.gyp
|
| similarity index 50%
|
| copy from build/linux/unbundle/libpng.gyp
|
| copy to build/linux/unbundle/libvpx.gyp
|
| index d6933fc22ac291dc200b4f7148d45dadba49241f..ada83ee823ed224c76708c3e23220770794badfb 100644
|
| --- a/build/linux/unbundle/libpng.gyp
|
| +++ b/build/linux/unbundle/libvpx.gyp
|
| @@ -1,38 +1,42 @@
|
| # Copyright 2013 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': [
|
| {
|
| - 'target_name': 'libpng',
|
| + 'target_name': 'libvpx',
|
| 'type': 'none',
|
| - 'dependencies': [
|
| - '../zlib/zlib.gyp:zlib',
|
| - ],
|
| 'direct_dependent_settings': {
|
| 'cflags': [
|
| - '<!@(pkg-config --cflags libpng)',
|
| - ],
|
| - },
|
| - 'link_settings': {
|
| - 'ldflags': [
|
| - '<!@(pkg-config --libs-only-L --libs-only-other libpng)',
|
| - ],
|
| - 'libraries': [
|
| - '<!@(pkg-config --libs-only-l libpng)',
|
| + '<!@(pkg-config --cflags vpx)',
|
| ],
|
| },
|
| 'variables': {
|
| - 'headers_root_path': '.',
|
| + 'headers_root_path': '<(libvpx_source)',
|
| 'header_filenames': [
|
| - 'png.h',
|
| - 'pngconf.h',
|
| + 'vpx/vpx_codec_impl_bottom.h',
|
| + 'vpx/vpx_image.h',
|
| + 'vpx/vpx_decoder.h',
|
| + 'vpx/vp8.h',
|
| + 'vpx/vpx_codec.h',
|
| + 'vpx/vpx_codec_impl_top.h',
|
| + 'vpx/vp8cx.h',
|
| + 'vpx/vpx_integer.h',
|
| + 'vpx/vp8dx.h',
|
| + 'vpx/vpx_encoder.h',
|
| ],
|
| },
|
| 'includes': [
|
| '../../build/shim_headers.gypi',
|
| ],
|
| + 'link_settings': {
|
| + 'ldflags': [
|
| + '<!@(pkg-config --libs-only-L --libs-only-other vpx)',
|
| + ],
|
| + 'libraries': [
|
| + '<!@(pkg-config --libs-only-l vpx)',
|
| + ],
|
| + },
|
| },
|
| ],
|
| }
|
|
|