| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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': 'libflac', | 8 'target_name': 'libflac', |
| 9 'product_name': 'flac', | 9 'product_name': 'flac', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'sources': [ | 11 'sources': [ |
| 12 'include/FLAC/all.h', | 12 'include/FLAC/all.h', |
| 13 'include/FLAC/assert.h', | 13 'include/FLAC/assert.h', |
| 14 'include/FLAC/callback.h', | 14 'include/FLAC/callback.h', |
| 15 'include/FLAC/export.h', | 15 'include/FLAC/export.h', |
| 16 'include/FLAC/format.h', | 16 'include/FLAC/format.h', |
| 17 'include/FLAC/metadata.h', | 17 'include/FLAC/metadata.h', |
| 18 'include/FLAC/ordinals.h', | 18 'include/FLAC/ordinals.h', |
| 19 'include/FLAC/stream_decoder.h', | 19 'include/FLAC/stream_decoder.h', |
| 20 'include/FLAC/stream_encoder.h', | 20 'include/FLAC/stream_encoder.h', |
| 21 'include/share/alloc.h', | 21 'include/share/alloc.h', |
| 22 'include/share/compat.h', |
| 23 'include/share/endswap.h', |
| 24 'include/share/private.h', |
| 22 'src/libFLAC/alloc.c', | 25 'src/libFLAC/alloc.c', |
| 23 'src/libFLAC/bitmath.c', | 26 'src/libFLAC/bitmath.c', |
| 24 'src/libFLAC/bitreader.c', | 27 'src/libFLAC/bitreader.c', |
| 25 'src/libFLAC/bitwriter.c', | 28 'src/libFLAC/bitwriter.c', |
| 26 'src/libFLAC/cpu.c', | 29 'src/libFLAC/cpu.c', |
| 27 'src/libFLAC/crc.c', | 30 'src/libFLAC/crc.c', |
| 28 'src/libFLAC/fixed.c', | 31 'src/libFLAC/fixed.c', |
| 29 'src/libFLAC/float.c', | 32 'src/libFLAC/float.c', |
| 30 'src/libFLAC/format.c', | 33 'src/libFLAC/format.c', |
| 31 'src/libFLAC/lpc.c', | 34 'src/libFLAC/lpc.c', |
| 32 'src/libFLAC/md5.c', | 35 'src/libFLAC/md5.c', |
| 33 'src/libFLAC/memory.c', | 36 'src/libFLAC/memory.c', |
| 34 'src/libFLAC/stream_decoder.c', | 37 'src/libFLAC/stream_decoder.c', |
| 35 'src/libFLAC/stream_encoder.c', | 38 'src/libFLAC/stream_encoder.c', |
| 36 'src/libFLAC/stream_encoder_framing.c', | 39 'src/libFLAC/stream_encoder_framing.c', |
| 37 'src/libFLAC/window.c', | 40 'src/libFLAC/window.c', |
| 38 'src/libFLAC/include/private/all.h', | 41 'src/libFLAC/include/private/all.h', |
| 39 'src/libFLAC/include/private/bitmath.h', | 42 'src/libFLAC/include/private/bitmath.h', |
| 40 'src/libFLAC/include/private/bitreader.h', | 43 'src/libFLAC/include/private/bitreader.h', |
| 41 'src/libFLAC/include/private/bitwriter.h', | 44 'src/libFLAC/include/private/bitwriter.h', |
| 42 'src/libFLAC/include/private/cpu.h', | 45 'src/libFLAC/include/private/cpu.h', |
| 43 'src/libFLAC/include/private/crc.h', | 46 'src/libFLAC/include/private/crc.h', |
| 44 'src/libFLAC/include/private/fixed.h', | 47 'src/libFLAC/include/private/fixed.h', |
| 45 'src/libFLAC/include/private/float.h', | 48 'src/libFLAC/include/private/float.h', |
| 46 'src/libFLAC/include/private/format.h', | 49 'src/libFLAC/include/private/format.h', |
| 47 'src/libFLAC/include/private/lpc.h', | 50 'src/libFLAC/include/private/lpc.h', |
| 51 'src/libFLAC/include/private/macros.h', |
| 48 'src/libFLAC/include/private/md5.h', | 52 'src/libFLAC/include/private/md5.h', |
| 49 'src/libFLAC/include/private/memory.h', | 53 'src/libFLAC/include/private/memory.h', |
| 50 'src/libFLAC/include/private/metadata.h', | 54 'src/libFLAC/include/private/metadata.h', |
| 55 'src/libFLAC/include/private/stream_encoder.h', |
| 51 'src/libFLAC/include/private/stream_encoder_framing.h', | 56 'src/libFLAC/include/private/stream_encoder_framing.h', |
| 52 'src/libFLAC/include/private/window.h', | 57 'src/libFLAC/include/private/window.h', |
| 53 'src/libFLAC/include/protected/all.h', | 58 'src/libFLAC/include/protected/all.h', |
| 54 'src/libFLAC/include/protected/stream_decoder.h', | 59 'src/libFLAC/include/protected/stream_decoder.h', |
| 55 'src/libFLAC/include/protected/stream_encoder.h', | 60 'src/libFLAC/include/protected/stream_encoder.h', |
| 56 ], | 61 ], |
| 57 'defines': [ | 62 'defines': [ |
| 58 'FLAC__NO_DLL', | 63 'FLAC__NO_DLL', |
| 59 'FLAC__OVERFLOW_DETECT', | 64 'FLAC__OVERFLOW_DETECT', |
| 60 'VERSION="1.2.1"', | 65 'VERSION="1.3.1"', |
| 66 'HAVE_LROUND', |
| 67 ], |
| 68 'conditions': [ |
| 69 ['OS=="win"', { |
| 70 'sources': [ |
| 71 'include/share/win_utf8_io.h', |
| 72 'src/share/win_utf8_io/win_utf8_io.c', |
| 73 ], |
| 74 'defines!': [ |
| 75 'WIN32_LEAN_AND_MEAN', # win_utf8_io.c defines this itself. |
| 76 ], |
| 77 'msvs_settings': { |
| 78 'VCCLCompilerTool': { |
| 79 'AdditionalOptions': [ |
| 80 '/wd4334', # 32-bit shift converted to 64 bits. |
| 81 '/wd4267', # Converting from size_t to unsigned on 64-bit. |
| 82 ], |
| 83 }, |
| 84 }, |
| 85 }, { |
| 86 'defines': [ |
| 87 'HAVE_INTTYPES_H', |
| 88 ], |
| 89 }], |
| 61 ], | 90 ], |
| 62 'include_dirs': [ | 91 'include_dirs': [ |
| 63 'include', | 92 'include', |
| 64 'src/libFLAC/include', | 93 'src/libFLAC/include', |
| 65 ], | 94 ], |
| 66 'direct_dependent_settings': { | 95 'direct_dependent_settings': { |
| 67 'defines': [ | 96 'defines': [ |
| 68 'FLAC__NO_DLL', | 97 'FLAC__NO_DLL', |
| 69 ], | 98 ], |
| 70 }, | 99 }, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 81 }, | 110 }, |
| 82 }, | 111 }, |
| 83 ], | 112 ], |
| 84 } | 113 } |
| 85 | 114 |
| 86 # Local Variables: | 115 # Local Variables: |
| 87 # tab-width:2 | 116 # tab-width:2 |
| 88 # indent-tabs-mode:nil | 117 # indent-tabs-mode:nil |
| 89 # End: | 118 # End: |
| 90 # vim: set expandtab tabstop=2 shiftwidth=2: | 119 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |