OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'target_defaults': { | 6 'target_defaults': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['OS!="linux" and OS!="freebsd"', {'sources/': [['exclude', '/linux/']]}], | 8 ['OS!="linux" and OS!="freebsd"', {'sources/': [['exclude', '/linux/']]}], |
9 ['OS!="mac"', {'sources/': [['exclude', '/mac/']]}], | 9 ['OS!="mac"', {'sources/': [['exclude', '/mac/']]}], |
10 ['OS!="win"', {'sources/': [['exclude', '/win/']]}], | 10 ['OS!="win"', {'sources/': [['exclude', '/win/']]}], |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 '-Wl,-Bsymbolic', | 181 '-Wl,-Bsymbolic', |
182 '-L<(shared_generated_dir)', | 182 '-L<(shared_generated_dir)', |
183 ], | 183 ], |
184 'libraries': [ | 184 'libraries': [ |
185 '-l<(asm_library)', | 185 '-l<(asm_library)', |
186 '-lm', | 186 '-lm', |
187 | 187 |
188 # TODO(ajwong): Statically link these once we resolve the | 188 # TODO(ajwong): Statically link these once we resolve the |
189 # PIC/non-PIC issues on x64. | 189 # PIC/non-PIC issues on x64. |
190 '-lz', | 190 '-lz', |
191 '-lbz2', | |
192 ], | 191 ], |
193 'conditions': [ | 192 'conditions': [ |
194 ['target_arch=="x64"', { | 193 ['target_arch=="x64"', { |
195 'cflags': [ | 194 'cflags': [ |
196 # x64 requires PIC for shared libraries. This is opposite | 195 # x64 requires PIC for shared libraries. This is opposite |
197 # of ia32 where due to a slew of inline assembly using ebx, | 196 # of ia32 where due to a slew of inline assembly using ebx, |
198 # FFmpeg CANNOT be built with PIC. | 197 # FFmpeg CANNOT be built with PIC. |
199 '-fPIC', | 198 '-fPIC', |
200 '-DPIC', | 199 '-DPIC', |
201 ], | 200 ], |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 ], | 588 ], |
590 }, | 589 }, |
591 ], | 590 ], |
592 } | 591 } |
593 | 592 |
594 # Local Variables: | 593 # Local Variables: |
595 # tab-width:2 | 594 # tab-width:2 |
596 # indent-tabs-mode:nil | 595 # indent-tabs-mode:nil |
597 # End: | 596 # End: |
598 # vim: set expandtab tabstop=2 shiftwidth=2: | 597 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |