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 | |
5 { | 4 { |
6 'targets': [ | 5 'targets': [ |
7 { | 6 { |
8 'target_name': 'libpng', | 7 'target_name': 'libvpx', |
9 'type': 'none', | 8 'type': 'none', |
10 'dependencies': [ | |
11 '../zlib/zlib.gyp:zlib', | |
12 ], | |
13 'direct_dependent_settings': { | 9 'direct_dependent_settings': { |
14 'cflags': [ | 10 'cflags': [ |
15 '<!@(pkg-config --cflags libpng)', | 11 '<!@(pkg-config --cflags vpx)', |
16 ], | |
17 }, | |
18 'link_settings': { | |
19 'ldflags': [ | |
20 '<!@(pkg-config --libs-only-L --libs-only-other libpng)', | |
21 ], | |
22 'libraries': [ | |
23 '<!@(pkg-config --libs-only-l libpng)', | |
24 ], | 12 ], |
25 }, | 13 }, |
26 'variables': { | 14 'variables': { |
27 'headers_root_path': '.', | 15 'headers_root_path': '<(libvpx_source)', |
28 'header_filenames': [ | 16 'header_filenames': [ |
29 'png.h', | 17 'vpx/vpx_codec_impl_bottom.h', |
30 'pngconf.h', | 18 'vpx/vpx_image.h', |
| 19 'vpx/vpx_decoder.h', |
| 20 'vpx/vp8.h', |
| 21 'vpx/vpx_codec.h', |
| 22 'vpx/vpx_codec_impl_top.h', |
| 23 'vpx/vp8cx.h', |
| 24 'vpx/vpx_integer.h', |
| 25 'vpx/vp8dx.h', |
| 26 'vpx/vpx_encoder.h', |
31 ], | 27 ], |
32 }, | 28 }, |
33 'includes': [ | 29 'includes': [ |
34 '../../build/shim_headers.gypi', | 30 '../../build/shim_headers.gypi', |
35 ], | 31 ], |
| 32 'link_settings': { |
| 33 'ldflags': [ |
| 34 '<!@(pkg-config --libs-only-L --libs-only-other vpx)', |
| 35 ], |
| 36 'libraries': [ |
| 37 '<!@(pkg-config --libs-only-l vpx)', |
| 38 ], |
| 39 }, |
36 }, | 40 }, |
37 ], | 41 ], |
38 } | 42 } |
OLD | NEW |