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',
12 'kasko_exe_dir': '<(DEPTH)/third_party/kasko',
14 # Copy the SyzyASan runtime and logger to the syzygy directory.
15 # TODO(erikwright): Decouple Kasko from SyzyASAN.
18 'target_name': 'copy_syzyasan_binaries',
21 '<(dest_dir)/agent_logger.exe',
22 '<(dest_dir)/kasko.dll',
23 '<(dest_dir)/kasko.dll.pdb',
24 '<(dest_dir)/syzyasan_rtl.dll',
25 '<(dest_dir)/syzyasan_rtl.dll.pdb',
29 'destination': '<(dest_dir)',
31 '<(kasko_exe_dir)/kasko.dll',
32 '<(kasko_exe_dir)/kasko.dll.pdb',
33 '<(syzygy_exe_dir)/agent_logger.exe',
34 '<(syzygy_exe_dir)/syzyasan_rtl.dll',
35 '<(syzygy_exe_dir)/syzyasan_rtl.dll.pdb',
42 ['OS=="win" and fastbuild==0', {
44 ['syzygy_optimize==1 or syzyasan==1', {
50 'target_name': 'chrome_dll_syzygy',
59 ['chrome_multiple_dll==1', {
61 ['syzyasan==1 or syzygy_optimize==1', {
63 'dll_name': 'chrome_child',
67 'target_name': 'chrome_child_dll_syzygy',
69 # For the official SyzyASan builds just copy chrome_child.dll
70 # to the Syzygy directory.
72 ['syzyasan==1 and buildtype=="Official"', {
74 'chrome_child_dll_syzygy_copy'
78 # For the official SyzyASan builds also put an instrumented
79 # version of chrome_child.dll into syzygy/instrumented.
82 ['syzyasan==1 and buildtype=="Official"', {
83 'dest_dir': '<(PRODUCT_DIR)/syzygy/instrumented',
94 # For the official SyzyASan builds just copy chrome_child.dll to the
96 ['syzyasan==1 and buildtype=="Official"', {
99 'target_name': 'chrome_child_dll_syzygy_copy',
102 '<(PRODUCT_DIR)/chrome_child.dll',
103 '<(PRODUCT_DIR)/chrome_child.dll.pdb',
106 '<(dest_dir)/chrome_child.dll',
107 '<(dest_dir)/chrome_child.dll.pdb',
111 'destination': '<(dest_dir)',
113 '<(PRODUCT_DIR)/chrome_child.dll',
114 '<(PRODUCT_DIR)/chrome_child.dll.pdb',