Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: chrome/chrome.gyp

Issue 243056: Remove a circular dependency for chrome Linux symbols. Make it possible to fo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix dependencies Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
===================================================================
--- chrome/chrome.gyp (revision 27697)
+++ chrome/chrome.gyp (working copy)
@@ -3324,34 +3324,6 @@
'message': 'Generating manpage'
},
],
-
- 'conditions': [
- # All Chrome builds have breakpad symbols, but only process the
- # symbols from official builds.
- # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and
- # crash server handle 64-bit symbols.
- ['branding=="Chrome" and buildtype=="Official" and'
- ' target_arch=="ia32"', {
- 'actions': [
- {
- 'action_name': 'dump_symbols',
- 'inputs': [
- '<(DEPTH)/build/linux/dump_app_syms',
- '<(DEPTH)/build/linux/dump_signature.py',
- '<(PRODUCT_DIR)/dump_syms',
- '<(PRODUCT_DIR)/chrome',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)',
- ],
- 'action': ['<(DEPTH)/build/linux/dump_app_syms',
- '<(PRODUCT_DIR)/dump_syms',
- '<(PRODUCT_DIR)/chrome', '<@(_outputs)'],
- 'message': 'Dumping breakpad symbols to <(_outputs)'
- },
- ],
- }],
- ],
'dependencies': [
# On Linux, link the dependencies (libraries) that make up actual
# Chromium functionality directly into the executable.
@@ -5633,6 +5605,36 @@
'test/reliability/page_load_test.h',
],
},
+ {
+ 'target_name': 'linux_symbols',
+ 'type': 'none',
+ 'conditions': [
+ ['linux_dump_symbols==1', {
+ 'actions': [
+ {
+ 'action_name': 'dump_symbols',
+ 'inputs': [
+ '<(DEPTH)/build/linux/dump_app_syms',
+ '<(DEPTH)/build/linux/dump_signature.py',
+ '<(PRODUCT_DIR)/dump_syms',
+ '<(PRODUCT_DIR)/chrome',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)',
+ ],
+ 'action': ['<(DEPTH)/build/linux/dump_app_syms',
+ '<(PRODUCT_DIR)/dump_syms',
+ '<(PRODUCT_DIR)/chrome', '<@(_outputs)'],
+ 'message': 'Dumping breakpad symbols to <(_outputs)'
+ },
+ ],
+ 'dependencies': [
+ 'chrome',
+ '../breakpad/breakpad.gyp:dump_syms',
+ ],
+ }],
+ ],
+ }
],
},], # OS=="linux"
['OS!="win"',
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698