Make default apps cache multiprofile friendly
[chromium-blink-merge.git] / chrome / chrome_syzygy.gyp
blob0801d18e62b43d9c9101ae5abbaa4698b74bffd6
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   'conditions': [
6     ['OS=="win" and fastbuild==0', {
7       'variables': {
8         'dll_name': 'chrome',
9       },
10       'targets': [
11         {
12           'target_name': 'chrome_dll_syzygy',
13           'type': 'none',
14           'sources' : [],
15           'includes': [
16             'chrome_syzygy.gypi',
17           ],
18         },
19       ],
20     }],
21     # Note, not else.
22     ['OS=="win" and fastbuild==0 and chrome_multiple_dll==1 and '
23         '(asan!=1 or buildtype!="Official")', {
24       'variables': {
25         'dll_name': 'chrome_child',
26       },
27       'targets': [
28         {
29           'target_name': 'chrome_child_dll_syzygy',
30           'type': 'none',
31           'sources' : [],
32           'includes': [
33             'chrome_syzygy.gypi',
34           ],
35         },
36       ],
37     }, {
38       'conditions': [
39         ['OS=="win" and fastbuild==0 and chrome_multiple_dll==1 and '
40             'asan==1 and buildtype=="Official"', {
41           'targets': [
42           {
43             'target_name': 'chrome_child_dll_syzygy',
44             'type': 'none',
45             'inputs': [
46               '<(PRODUCT_DIR)/chrome_child.dll',
47               '<(PRODUCT_DIR)/chrome_child.dll.pdb',
48             ],
49             'outputs': [
50               '<(PRODUCT_DIR)/syzygy/chrome_child.dll',
51               '<(PRODUCT_DIR)/syzygy/chrome_child.dll.pdb',
52             ],
53             'copies': [
54               {
55                 'destination': '<(PRODUCT_DIR)/syzygy',
56                 'files': [
57                   '<(PRODUCT_DIR)/chrome_child.dll',
58                   '<(PRODUCT_DIR)/chrome_child.dll.pdb',
59                 ],
60               },
61             ],
62           }],
63         }],
64       ],
65     }],
66   ],