OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 config("flac_config") { | 5 config("flac_config") { |
6 defines = [ "FLAC__NO_DLL" ] | 6 defines = [ "FLAC__NO_DLL" ] |
7 } | 7 } |
8 | 8 |
9 static_library("flac") { | 9 static_library("flac") { |
10 sources = [ | 10 sources = [ |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 "include", | 67 "include", |
68 "src/libFLAC/include", | 68 "src/libFLAC/include", |
69 ] | 69 ] |
70 | 70 |
71 if (is_clang) { | 71 if (is_clang) { |
72 # libflac converts between FLAC__StreamDecoderState and | 72 # libflac converts between FLAC__StreamDecoderState and |
73 # FLAC__StreamDecoderInitStatus a lot in stream_decoder.c. | 73 # FLAC__StreamDecoderInitStatus a lot in stream_decoder.c. |
74 cflags = [ "-Wno-conversion" ] | 74 cflags = [ "-Wno-conversion" ] |
75 } | 75 } |
76 } | 76 } |
OLD | NEW |