diff options
author | lambroslambrou@google.com <lambroslambrou@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-02 01:06:44 +0000 |
---|---|---|
committer | lambroslambrou@google.com <lambroslambrou@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-02 01:06:44 +0000 |
commit | 8fe0fe831f9732927e81081e55ecea340e7e8781 (patch) | |
tree | 73440e72796cdba8cc6d198855d411c3aef2328d | |
parent | f7ea778bc56d5c33b0de3692ab6dbd64c87300a2 (diff) | |
download | chromium_src-8fe0fe831f9732927e81081e55ecea340e7e8781.zip chromium_src-8fe0fe831f9732927e81081e55ecea340e7e8781.tar.gz chromium_src-8fe0fe831f9732927e81081e55ecea340e7e8781.tar.bz2 |
Merge 107252 - Add remoting_linux_symbols target.
Add GYP target for building Breakpad symbols for Remoting Host plugin on Linux.
BUG=87632
TEST=Manual: "build/gyp_chromium --check", and build new target.
Review URL: http://codereview.chromium.org/8390015
TBR=lambroslambrou@chromium.org
Review URL: http://codereview.chromium.org/8438027
git-svn-id: svn://svn.chromium.org/chrome/branches/912/src@108221 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | remoting/remoting.gyp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp index 3f14491..56c99c4 100644 --- a/remoting/remoting.gyp +++ b/remoting/remoting.gyp @@ -143,6 +143,46 @@ } ], # end of target 'remoting_client_test_webserver' }], + ['OS=="linux"', { + 'targets': [ + # Linux breakpad processing + { + 'target_name': 'remoting_linux_symbols', + 'type': 'none', + 'conditions': [ + ['linux_dump_symbols==1', { + 'actions': [ + { + 'action_name': 'dump_symbols', + 'variables': { + 'plugin_file': '<(host_plugin_prefix)remoting_host_plugin.<(host_plugin_extension)', + }, + 'inputs': [ + '<(DEPTH)/build/linux/dump_app_syms', + '<(PRODUCT_DIR)/dump_syms', + '<(PRODUCT_DIR)/<(plugin_file)', + ], + 'outputs': [ + '<(PRODUCT_DIR)/<(plugin_file).breakpad.<(target_arch)', + ], + 'action': ['<(DEPTH)/build/linux/dump_app_syms', + '<(PRODUCT_DIR)/dump_syms', + '<(linux_strip_binary)', + '<(PRODUCT_DIR)/<(plugin_file)', + '<@(_outputs)'], + 'message': 'Dumping breakpad symbols to <(_outputs)', + 'process_outputs_as_sources': 1, + }, + ], + 'dependencies': [ + 'remoting_host_plugin', + '../breakpad/breakpad.gyp:dump_syms', + ], + }], # 'linux_dump_symbols==1' + ], # end of 'conditions' + }, # end of target 'linux_symbols' + ], # end of 'targets' + }], # 'OS=="linux"' ], # end of 'conditions' 'targets': [ |