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)/syzyasan_rtl.dll',
29 '<(syzygy_exe_dir)/syzyasan_rtl.dll.pdb',
36 ['OS=="win" and fastbuild==0', {
38 ['syzygy_optimize==1 or syzyasan==1', {
44 'target_name': 'chrome_dll_syzygy',
53 ['chrome_multiple_dll==1', {
55 ['syzyasan==1 or syzygy_optimize==1', {
57 'dll_name': 'chrome_child',
61 'target_name': 'chrome_child_dll_syzygy',
63 # For the official SyzyASan builds just copy chrome_child.dll
64 # to the Syzygy directory.
66 ['syzyasan==1 and buildtype=="Official"', {
68 'chrome_child_dll_syzygy_copy'
72 # For the official SyzyASan builds also put an instrumented
73 # version of chrome_child.dll into syzygy/instrumented.
76 ['syzyasan==1 and buildtype=="Official"', {
77 'dest_dir': '<(PRODUCT_DIR)/syzygy/instrumented',
88 # For the official SyzyASan builds just copy chrome_child.dll to the
90 ['syzyasan==1 and buildtype=="Official"', {
93 'target_name': 'chrome_child_dll_syzygy_copy',
96 '<(PRODUCT_DIR)/chrome_child.dll',
97 '<(PRODUCT_DIR)/chrome_child.dll.pdb',
100 '<(dest_dir)/chrome_child.dll',
101 '<(dest_dir)/chrome_child.dll.pdb',
105 'destination': '<(dest_dir)',
107 '<(PRODUCT_DIR)/chrome_child.dll',
108 '<(PRODUCT_DIR)/chrome_child.dll.pdb',