OLD | NEW |
---|---|
1 # Copyright (c) 2013 Google Inc. All rights reserved. | 1 # Copyright (c) 2013 Google Inc. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 import sys, os.path |
6 'includes': [ | 6 |
7 'common.gypi', | 7 sys.argv[1] = os.path.basename(sys.argv[1]) |
8 ], | 8 |
9 'targets': [ | 9 with open('msbuild_rule.out', 'w') as f: |
10 { | 10 f.write(' '.join(sys.argv)) |
11 'target_name': 'a', | 11 |
12 'type': 'none', | |
13 }, | |
14 ], | |
15 } | |
OLD | NEW |