1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6 'dest_dir': '<(PRODUCT_DIR)/syzygy',
11 'syzygy_exe_dir': '<(DEPTH)/third_party/syzygy/binaries/exe',
13 # Copy the SyzyASan runtime and logger to the syzygy directory.
16 'target_name': 'copy_syzyasan_binaries',
19 '<(dest_dir)/agent_logger.exe',
20 '<(dest_dir)/syzyasan_rtl.dll',
21 '<(dest_dir)/syzyasan_rtl.dll.pdb',
25 'destination': '<(dest_dir)',
27 '<(syzygy_exe_dir)/agent_logger.exe',
28 '<(syzygy_exe_dir)/minidump_symbolizer.py',
29 '<(syzygy_exe_dir)/syzyasan_rtl.dll',
30 '<(syzygy_exe_dir)/syzyasan_rtl.dll.pdb',
37 ['OS=="win" and fastbuild==0', {
39 ['syzygy_optimize==1 or syzyasan==1', {
45 'target_name': 'chrome_dll_syzygy',
54 ['chrome_multiple_dll==1', {
56 ['syzyasan==1 or syzygy_optimize==1', {
58 'dll_name': 'chrome_child',
62 'target_name': 'chrome_child_dll_syzygy',
64 # For the official SyzyASan builds just copy chrome_child.dll
65 # to the Syzygy directory.
67 ['syzyasan==1 and buildtype=="Official"', {
69 'chrome_child_dll_syzygy_copy'
73 # For the official SyzyASan builds also put an instrumented
74 # version of chrome_child.dll into syzygy/instrumented.
77 ['syzyasan==1 and buildtype=="Official"', {
78 'dest_dir': '<(PRODUCT_DIR)/syzygy/instrumented',
89 # For the official SyzyASan builds just copy chrome_child.dll to the
91 ['syzyasan==1 and buildtype=="Official"', {
94 'target_name': 'chrome_child_dll_syzygy_copy',
97 '<(PRODUCT_DIR)/chrome_child.dll',
98 '<(PRODUCT_DIR)/chrome_child.dll.pdb',
101 '<(dest_dir)/chrome_child.dll',
102 '<(dest_dir)/chrome_child.dll.pdb',
106 'destination': '<(dest_dir)',
108 '<(PRODUCT_DIR)/chrome_child.dll',
109 '<(PRODUCT_DIR)/chrome_child.dll.pdb',