},
],
}], # OS=="win"
+ ['OS=="linux"', {
+ 'dependencies': [
+ 'vendor/breakpad/breakpad.gyp:dump_syms',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'Dump Symbols',
+ 'inputs': [
+ '<(PRODUCT_DIR)/<(project_name)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
+ ],
+ 'action': [
+ 'python',
+ 'tools/mac/generate_breakpad_symbols.py',
+ '--build-dir=<(PRODUCT_DIR)',
+ '--binary=<(PRODUCT_DIR)/<(project_name)',
+ '--symbols-dir=<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
+ '--libchromiumcontent-dir=<(libchromiumcontent_library_dir)',
+ '--clear',
+ '--jobs=16',
+ ],
+ },
+ ],
+ }], # OS=="linux"
],
}, # target <(project_name>_dump_symbols
],
force_build()
if TARGET_PLATFORM != 'linux':
download_libchromiumcontent_symbols(args.url)
- create_symbols()
+ create_symbols()
copy_binaries()
copy_headers()
copy_license()
with scoped_cwd(DIST_DIR):
files = ['LICENSE', 'version']
dirs = ['Atom-Shell.breakpad.syms']
- if TARGET_PLATFORM == 'linux':
- dirs = []
make_zip(zip_file, files, dirs)