Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / flac / flac.gyp
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'targets': [
7     {
8       'target_name': 'libflac',
9       'product_name': 'flac',
10       'type': 'static_library',
11       'sources': [
12         'include/FLAC/all.h',
13         'include/FLAC/assert.h',
14         'include/FLAC/callback.h',
15         'include/FLAC/export.h',
16         'include/FLAC/format.h',
17         'include/FLAC/metadata.h',
18         'include/FLAC/ordinals.h',
19         'include/FLAC/stream_decoder.h',
20         'include/FLAC/stream_encoder.h',
21         'include/share/alloc.h',
22         'src/libFLAC/alloc.c',
23         'src/libFLAC/bitmath.c',
24         'src/libFLAC/bitreader.c',
25         'src/libFLAC/bitwriter.c',
26         'src/libFLAC/cpu.c',
27         'src/libFLAC/crc.c',
28         'src/libFLAC/fixed.c',
29         'src/libFLAC/float.c',
30         'src/libFLAC/format.c',
31         'src/libFLAC/lpc.c',
32         'src/libFLAC/md5.c',
33         'src/libFLAC/memory.c',
34         'src/libFLAC/stream_decoder.c',
35         'src/libFLAC/stream_encoder.c',
36         'src/libFLAC/stream_encoder_framing.c',
37         'src/libFLAC/window.c',
38         'src/libFLAC/include/private/all.h',
39         'src/libFLAC/include/private/bitmath.h',
40         'src/libFLAC/include/private/bitreader.h',
41         'src/libFLAC/include/private/bitwriter.h',
42         'src/libFLAC/include/private/cpu.h',
43         'src/libFLAC/include/private/crc.h',
44         'src/libFLAC/include/private/fixed.h',
45         'src/libFLAC/include/private/float.h',
46         'src/libFLAC/include/private/format.h',
47         'src/libFLAC/include/private/lpc.h',
48         'src/libFLAC/include/private/md5.h',
49         'src/libFLAC/include/private/memory.h',
50         'src/libFLAC/include/private/metadata.h',
51         'src/libFLAC/include/private/stream_encoder_framing.h',
52         'src/libFLAC/include/private/window.h',
53         'src/libFLAC/include/protected/all.h',
54         'src/libFLAC/include/protected/stream_decoder.h',
55         'src/libFLAC/include/protected/stream_encoder.h',
56       ],
57       'defines': [
58         'FLAC__NO_DLL',
59         'FLAC__OVERFLOW_DETECT',
60         'VERSION="1.2.1"',
61       ],
62       'include_dirs': [
63         'include',
64         'src/libFLAC/include',
65       ],
66       'direct_dependent_settings': {
67         'defines': [
68           'FLAC__NO_DLL',
69         ],
70       },
71       'variables': {
72         'clang_warning_flags': [
73           # libflac converts between FLAC__StreamDecoderState and
74           # FLAC__StreamDecoderInitStatus a lot in stream_decoder.c.
75           '-Wno-conversion',
76         ],
77       },
78     },
79   ],
80 }
81
82 # Local Variables:
83 # tab-width:2
84 # indent-tabs-mode:nil
85 # End:
86 # vim: set expandtab tabstop=2 shiftwidth=2: