Make castv2 performance test work.
[chromium-blink-merge.git] / chrome / installer / mini_installer_syzygy.gyp
blob4d19617b2f1032dba485cf87a78dfbeadf9be7f1
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.
5   'variables': {
6     'version_py': '<(DEPTH)/build/util/version.py',
7     'version_path': '<(DEPTH)/chrome/VERSION',
8     'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
9     # 'branding_dir' is set in the 'conditions' section at the bottom.
10     'msvs_use_common_release': 0,
11     'msvs_use_common_linker_extras': 0,
12   },
13   'includes': [
14     '../../build/win_precompile.gypi',
15   ],
16   'conditions': [
17     # This target won't build in fastbuild, since there are no PDBs.
18     ['OS=="win" and fastbuild==0', {
19       'conditions': [
20         ['chrome_multiple_dll==0', {
21           'targets': [
22             {
23               'target_name': 'mini_installer_syzygy',
24               'type': 'executable',
25               'product_name': 'mini_installer',
27               'variables': {
28                 'chrome_dll_project': [
29                   '../chrome_syzygy.gyp:chrome_dll_syzygy',
30                 ],
31                 'chrome_dll_path': [
32                   '<(PRODUCT_DIR)/syzygy/chrome.dll',
33                 ],
34                 'output_dir': '<(PRODUCT_DIR)/syzygy',
35               },
36               # Bulk of the build configuration comes from here.
37               'includes': [ 'mini_installer.gypi', ],
38             },
39           ],
40         }, {
41           'targets': [
42             {
43               'target_name': 'mini_installer_syzygy',
44               'type': 'executable',
45               'product_name': 'mini_installer',
47               'variables': {
48                 'chrome_dll_project': [
49                   '../chrome_syzygy.gyp:chrome_dll_syzygy',
50                   '../chrome_syzygy.gyp:chrome_child_dll_syzygy',
51                 ],
52                 'chrome_dll_path': [
53                   '<(PRODUCT_DIR)/syzygy/chrome.dll',
54                   '<(PRODUCT_DIR)/syzygy/chrome_child.dll',
55                 ],
56                 'output_dir': '<(PRODUCT_DIR)/syzygy',
57               },
58               # Bulk of the build configuration comes from here.
59               'includes': [ 'mini_installer.gypi', ],
60             },
61           ],
62         }],
63       ],
64     },{
65       'targets': [],
66     }],
67     [ 'branding == "Chrome"', {
68       'variables': {
69          'branding_dir': '../app/theme/google_chrome',
70       },
71     }, {  # else branding!="Chrome"
72       'variables': {
73          'branding_dir': '../app/theme/chromium',
74       },
75     }],
76   ],