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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'opus', | 8 'target_name': 'libflac', |
9 'type': 'none', | 9 'type': 'none', |
10 'direct_dependent_settings': { | |
11 'cflags': [ | |
12 '<!@(pkg-config --cflags opus)', | |
13 ], | |
14 }, | |
15 'variables': { | 10 'variables': { |
16 'headers_root_path': 'src/include', | 11 'headers_root_path': 'include', |
17 'header_filenames': [ | 12 'header_filenames': [ |
18 'opus_custom.h', | 13 'FLAC/callback.h', |
19 'opus_defines.h', | 14 'FLAC/metadata.h', |
20 'opus_multistream.h', | 15 'FLAC/assert.h', |
21 'opus_types.h', | 16 'FLAC/export.h', |
22 'opus.h', | 17 'FLAC/format.h', |
| 18 'FLAC/stream_decoder.h', |
| 19 'FLAC/stream_encoder.h', |
| 20 'FLAC/ordinals.h', |
| 21 'FLAC/all.h', |
23 ], | 22 ], |
24 }, | 23 }, |
25 'includes': [ | 24 'includes': [ |
26 '../../build/shim_headers.gypi', | 25 '../../build/shim_headers.gypi', |
27 ], | 26 ], |
28 'link_settings': { | 27 'link_settings': { |
29 'ldflags': [ | 28 'ldflags': [ |
30 '<!@(pkg-config --libs-only-L --libs-only-other opus)', | 29 '<!@(pkg-config --libs-only-L --libs-only-other flac)', |
31 ], | 30 ], |
32 'libraries': [ | 31 'libraries': [ |
33 '<!@(pkg-config --libs-only-l opus)', | 32 '<!@(pkg-config --libs-only-l flac)', |
34 ], | 33 ], |
35 }, | 34 }, |
36 }, | 35 }, |
37 ], | 36 ], |
38 } | 37 } |
OLD | NEW |