summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 00:20:23 +0000
committerlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 00:20:23 +0000
commitba1e71aad5db40bf499efbadd79e2e9745696e27 (patch)
tree0c25538df91259f7180c6b3b10db069a3710c397 /remoting
parentb4986e977aa2ab0f22304b9b5a649070d9dc0e85 (diff)
downloadchromium_src-ba1e71aad5db40bf499efbadd79e2e9745696e27.zip
chromium_src-ba1e71aad5db40bf499efbadd79e2e9745696e27.tar.gz
chromium_src-ba1e71aad5db40bf499efbadd79e2e9745696e27.tar.bz2
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
Diffstat (limited to 'remoting')
-rw-r--r--remoting/remoting.gyp40
1 files changed, 40 insertions, 0 deletions
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': [