From ba1e71aad5db40bf499efbadd79e2e9745696e27 Mon Sep 17 00:00:00 2001 From: "lambroslambrou@chromium.org" Date: Wed, 26 Oct 2011 00:20:23 +0000 Subject: 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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107252 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/remoting.gyp | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'remoting') diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp index b17e7c5..f6ad2ad 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': [ -- cgit v1.1