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 # PLEASE NOTE: This file contains the targets for generating the | 5 # PLEASE NOTE: This file contains the targets for generating the |
6 # plugin two different ways -- once as a shared library, and once as a | 6 # plugin two different ways -- once as a shared library, and once as a |
7 # static library. The static library is only built if we are inside | 7 # static library. The static library is only built if we are inside |
8 # of a Chrome tree, and it gets built with different defined symbols, | 8 # of a Chrome tree, and it gets built with different defined symbols, |
9 # and without the packaging code on the Mac. The shared library gets | 9 # and without the packaging code on the Mac. The shared library gets |
10 # built in an o3d tree, or in a chrome tree when built by an o3d | 10 # built in an o3d tree, or in a chrome tree when built by an o3d |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 '-ldl', # Used by breakpad | 295 '-ldl', # Used by breakpad |
296 '-lrt', | 296 '-lrt', |
297 # Directs the linker to only generate dependencies on libraries | 297 # Directs the linker to only generate dependencies on libraries |
298 # that we actually use. Must come last. | 298 # that we actually use. Must come last. |
299 '-Wl,--as-needed', | 299 '-Wl,--as-needed', |
300 ], | 300 ], |
301 'libraries': [ | 301 'libraries': [ |
302 '<!@(pkg-config --libs-only-l xt)', | 302 '<!@(pkg-config --libs-only-l xt)', |
303 ], | 303 ], |
304 'conditions' : [ | 304 'conditions' : [ |
305 ['target_arch=="ia32"', | |
306 { # Used by breakpad | |
307 # TODO(zhurunz) Remove the deps on libglog.a | |
308 'libraries': [ | |
309 '-Lbreakpad/src/third_party/linux/lib/glog', | |
310 '-lglog', | |
311 ], | |
312 }, | |
313 ], | |
314 ['plugin_rpath != ""', | 305 ['plugin_rpath != ""', |
315 { | 306 { |
316 'ldflags': [ | 307 'ldflags': [ |
317 '-Wl,-rpath', '-Wl,<(plugin_rpath)', | 308 '-Wl,-rpath', '-Wl,<(plugin_rpath)', |
318 ], | 309 ], |
319 }, | 310 }, |
320 ], | 311 ], |
321 ['plugin_env_vars_file != ""', | 312 ['plugin_env_vars_file != ""', |
322 { | 313 { |
323 'defines': [ | 314 'defines': [ |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 }, | 800 }, |
810 ], | 801 ], |
811 ], | 802 ], |
812 } | 803 } |
813 | 804 |
814 # Local Variables: | 805 # Local Variables: |
815 # tab-width:2 | 806 # tab-width:2 |
816 # indent-tabs-mode:nil | 807 # indent-tabs-mode:nil |
817 # End: | 808 # End: |
818 # vim: set expandtab tabstop=2 shiftwidth=2: | 809 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |