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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 '../breakpad/breakpad.gyp:o3dBreakpad', | 304 '../breakpad/breakpad.gyp:o3dBreakpad', |
305 ], | 305 ], |
306 'sources': [ | 306 'sources': [ |
307 'linux/config.cc', | 307 'linux/config.cc', |
308 'linux/envvars.cc', | 308 'linux/envvars.cc', |
309 'linux/main_linux.cc', | 309 'linux/main_linux.cc', |
310 ], | 310 ], |
311 'ldflags': [ | 311 'ldflags': [ |
312 '-Wl,-znodelete', | 312 '-Wl,-znodelete', |
313 '-Wl,--gc-sections', | 313 '-Wl,--gc-sections', |
314 '<!@(pkg-config --libs-only-L xt)', | 314 '<!@(<(pkg-config) --libs-only-L xt)', |
315 '<(as_needed_ldflags)', | 315 '<(as_needed_ldflags)', |
316 # Directs the linker to only generate dependencies on libraries | 316 # Directs the linker to only generate dependencies on libraries |
317 # that we actually use. Must come last. | 317 # that we actually use. Must come last. |
318 '-Wl,--as-needed', | 318 '-Wl,--as-needed', |
319 ], | 319 ], |
320 'libraries': [ | 320 'libraries': [ |
321 '<!@(pkg-config --libs-only-l xt)', | 321 '<!@(<(pkg-config) --libs-only-l xt)', |
322 ], | 322 ], |
323 'conditions' : [ | 323 'conditions' : [ |
324 ['plugin_rpath != ""', | 324 ['plugin_rpath != ""', |
325 { | 325 { |
326 'ldflags': [ | 326 'ldflags': [ |
327 '-Wl,-rpath', '-Wl,<(plugin_rpath)', | 327 '-Wl,-rpath', '-Wl,<(plugin_rpath)', |
328 ], | 328 ], |
329 }, | 329 }, |
330 ], | 330 ], |
331 ['plugin_env_vars_file != ""', | 331 ['plugin_env_vars_file != ""', |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 }, | 851 }, |
852 ], | 852 ], |
853 ], | 853 ], |
854 } | 854 } |
855 | 855 |
856 # Local Variables: | 856 # Local Variables: |
857 # tab-width:2 | 857 # tab-width:2 |
858 # indent-tabs-mode:nil | 858 # indent-tabs-mode:nil |
859 # End: | 859 # End: |
860 # vim: set expandtab tabstop=2 shiftwidth=2: | 860 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |