From 2fd3616ef3114a2adb81ff59d75811ddc61c8fd5 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 26 Nov 2013 21:34:27 +0800 Subject: [PATCH] win: Implement the atom_dump_symbols target. --- atom.gyp | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/atom.gyp b/atom.gyp index 3aa932ee..50118305 100644 --- a/atom.gyp +++ b/atom.gyp @@ -415,7 +415,7 @@ '<(PRODUCT_DIR)/<(product_name).app/Contents/MacOS/<(product_name)', ], 'outputs': [ - '<(PRODUCT_DIR)/<(product_name).breakpad.syms', + '<(PRODUCT_DIR)/Atom-Shell.breakpad.syms', ], 'action': [ 'tools/mac/generate_breakpad_symbols.py', @@ -428,6 +428,26 @@ }, ], }], # OS=="mac" + ['OS=="win"', { + 'actions': [ + { + 'action_name': 'Dump Symbols', + 'inputs': [ + '<(PRODUCT_DIR)/<(project_name).exe', + ], + 'outputs': [ + '<(PRODUCT_DIR)/Atom-Shell.breakpad.syms', + ], + 'action': [ + 'tools/win/generate_breakpad_symbols.py', + '--symbols-dir=<(PRODUCT_DIR)/Atom-Shell.breakpad.syms', + '--jobs=16', + '<(PRODUCT_DIR)', + '<(libchromiumcontent_library_dir)', + ], + }, + ], + }], # OS=="win" ], }, # target <(project_name>_dump_symbols ], -- 2.43.0