summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-21 20:32:52 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-21 20:32:52 +0000
commit0f7a653fa58e305da69a1067f7c9abf841250615 (patch)
tree0df18c264bff470da90382ea888c71f2dd67e888 /breakpad
parent78a857c7ac273c6b944c741d23c416ecda0b8441 (diff)
downloadchromium_src-0f7a653fa58e305da69a1067f7c9abf841250615.zip
chromium_src-0f7a653fa58e305da69a1067f7c9abf841250615.tar.gz
chromium_src-0f7a653fa58e305da69a1067f7c9abf841250615.tar.bz2
Use mac_build.gypi to build breakpad utilities on iOS
This uses the generic support for bouncing iOS dependencies through ninja to build breakpad utilities, as is done for other host-targetted utilities needed for iOS builds. The built utilities are copied to the non-ninja output locations, so that the bots can find them the same way they do for a Mac build. BUG=None Review URL: https://chromiumcodereview.appspot.com/10855263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/breakpad.gyp67
1 files changed, 67 insertions, 0 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
index 6de23e2..1cc4e43 100644
--- a/breakpad/breakpad.gyp
+++ b/breakpad/breakpad.gyp
@@ -694,6 +694,73 @@
[ 'OS=="ios"', {
'targets': [
{
+ 'target_name': 'breakpad_utilities',
+ 'type': 'none',
+ 'variables': {
+ 'ninja_output_dir': 'ninja-breakpad',
+ # Gyp to rerun
+ 're_run_targets': [
+ 'breakpad/breakpad.gyp',
+ ],
+ },
+ 'includes': ['../build/ios/mac_build.gypi'],
+ 'actions': [
+ {
+ 'action_name': 'compile breakpad utilities',
+ 'inputs': [],
+ 'outputs': [],
+ 'action': [
+ '<@(ninja_cmd)',
+ 'dump_syms',
+ 'symupload',
+ ],
+ 'message': 'Generating the breakpad executables',
+ },
+ {
+ 'action_name': 'copy dump_syms',
+ 'inputs': [
+ '<(ninja_product_dir)/dump_syms',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/dump_syms',
+ ],
+ 'action': [
+ 'cp',
+ '<(ninja_product_dir)/dump_syms',
+ '<(PRODUCT_DIR)/dump_syms',
+ ],
+ },
+ {
+ 'action_name': 'copy symupload',
+ 'inputs': [
+ '<(ninja_product_dir)/symupload',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/symupload',
+ ],
+ 'action': [
+ 'cp',
+ '<(ninja_product_dir)/symupload',
+ '<(PRODUCT_DIR)/symupload',
+ ],
+ },
+ ],
+ },
+ {
+ 'target_name': 'dump_syms',
+ 'type': 'none',
+ 'dependencies': [
+ 'breakpad_utilities',
+ ],
+ },
+ {
+ 'target_name': 'symupload',
+ 'type': 'none',
+ 'dependencies': [
+ 'breakpad_utilities',
+ ],
+ },
+ {
'target_name': 'breakpad_client',
'type': '<(library)',
'sources': [