From: Cheng Zhao Date: Tue, 26 Nov 2013 13:34:27 +0000 (+0800) Subject: win: Implement the atom_dump_symbols target. X-Git-Tag: v0.7.0~1^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2fd3616ef3114a2adb81ff59d75811ddc61c8fd5;p=electron.git win: Implement the atom_dump_symbols target. --- 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 ],