| 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 'variables': { | 6 'variables': { |
| 7 'use_system_flac%': 0, | 7 'use_system_flac%': 0, |
| 8 }, | 8 }, |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['use_system_flac==0', { | 10 ['use_system_flac==0', { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 ], | 87 ], |
| 88 }], | 88 }], |
| 89 ], | 89 ], |
| 90 }, | 90 }, |
| 91 ], | 91 ], |
| 92 }, { # use_system_speex != 0 | 92 }, { # use_system_speex != 0 |
| 93 'targets': [ | 93 'targets': [ |
| 94 { | 94 { |
| 95 'target_name': 'libflac', | 95 'target_name': 'libflac', |
| 96 'type': 'none', | 96 'type': 'none', |
| 97 'direct_dependent_settings': { | 97 'variables': { |
| 98 'defines': [ | 98 'headers_root_path': 'include', |
| 99 'USE_SYSTEM_FLAC', | 99 'header_filenames': [ |
| 100 'FLAC/callback.h', |
| 101 'FLAC/metadata.h', |
| 102 'FLAC/assert.h', |
| 103 'FLAC/export.h', |
| 104 'FLAC/format.h', |
| 105 'FLAC/stream_decoder.h', |
| 106 'FLAC/stream_encoder.h', |
| 107 'FLAC/ordinals.h', |
| 108 'FLAC/all.h', |
| 100 ], | 109 ], |
| 101 }, | 110 }, |
| 111 'includes': [ |
| 112 '../../build/shim_headers.gypi', |
| 113 ], |
| 102 'link_settings': { | 114 'link_settings': { |
| 103 'ldflags': [ | 115 'ldflags': [ |
| 104 '<!@(pkg-config --libs-only-L --libs-only-other flac)', | 116 '<!@(pkg-config --libs-only-L --libs-only-other flac)', |
| 105 ], | 117 ], |
| 106 'libraries': [ | 118 'libraries': [ |
| 107 '<!@(pkg-config --libs-only-l flac)', | 119 '<!@(pkg-config --libs-only-l flac)', |
| 108 ], | 120 ], |
| 109 }, | 121 }, |
| 110 }, | 122 }, |
| 111 ], | 123 ], |
| 112 }], | 124 }], |
| 113 ], | 125 ], |
| 114 } | 126 } |
| 115 | 127 |
| 116 # Local Variables: | 128 # Local Variables: |
| 117 # tab-width:2 | 129 # tab-width:2 |
| 118 # indent-tabs-mode:nil | 130 # indent-tabs-mode:nil |
| 119 # End: | 131 # End: |
| 120 # vim: set expandtab tabstop=2 shiftwidth=2: | 132 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |