summaryrefslogtreecommitdiffstats
path: root/chrome/installer/installer_tools.gyp
blob: e30bce447367bd51a48ebaa81f53d56557acd8b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'conditions': [
    ['OS=="win"', {
      'targets': [
        {
          # A target that is outdated if any of the mini_installer test sources
          # are modified.
          'target_name': 'test_installer_sentinel',
          'type': 'none',
          'includes': [
            '../test/mini_installer/test_installer.gypi',
          ],
          'actions': [
            {
              'action_name': 'touch_sentinel',
              'variables': {
                'touch_sentinel_py': '../tools/build/win/touch_sentinel.py',
              },
              'inputs': [
                '<@(test_installer_sources)',  # from test_installer.gypi
                '<(touch_sentinel_py)',
              ],
              'outputs': [
                '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/test_installer_sentinel',
              ],
              'action': ['python', '<(touch_sentinel_py)', '<@(_outputs)'],
            },
          ],
        },
      ],
    }],
  ],
}