Add a 'cygwin' target to execute setup_mount.bat explicitly as a

dependency of targets that need it (that is, any target with
'rules' or 'actions').
Review URL: http://codereview.chromium.org/115154

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15774 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
sgk@google.com 2009-05-11 20:01:24 +00:00
Родитель d60a1c04f3
Коммит e29d54f9d9
1 изменённых файлов: 29 добавлений и 0 удалений

29
win/system.gyp Normal file
Просмотреть файл

@ -0,0 +1,29 @@
# Copyright (c) 2009 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.
{
'includes': [
'../common.gypi',
],
'targets': [
{
'target_name': 'cygwin',
'type': 'none',
'actions': [
{
'action_name': 'setup_mount',
'inputs': [
'../../third_party/cygwin/setup_mount.bat',
],
# Visual Studio requires an output file, or else the
# custom build step won't run.
'outputs': [
'../../third_party/cygwin/_always_run_setup_mount.marker',
],
'action': ['<@(_inputs)'],
},
],
},
],
}