summaryrefslogtreecommitdiffstats
path: root/build/win
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-11 20:01:24 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-11 20:01:24 +0000
commitb392f3e785a51a0c08411eb06121dc25f2645caf (patch)
treeff9290219eac15b763bbd40d7930ee1e9fc1ff64 /build/win
parent9a0a1586396d2f69bc3fa3e2b14e0ccc0ace335a (diff)
downloadchromium_src-b392f3e785a51a0c08411eb06121dc25f2645caf.zip
chromium_src-b392f3e785a51a0c08411eb06121dc25f2645caf.tar.gz
chromium_src-b392f3e785a51a0c08411eb06121dc25f2645caf.tar.bz2
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: svn://svn.chromium.org/chrome/trunk/src@15774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/win')
-rw-r--r--build/win/system.gyp29
1 files changed, 29 insertions, 0 deletions
diff --git a/build/win/system.gyp b/build/win/system.gyp
new file mode 100644
index 0000000..48dc985
--- /dev/null
+++ b/build/win/system.gyp
@@ -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)'],
+ },
+ ],
+ },
+ ],
+}