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 3# found in the LICENSE file. 4 5import sys, os.path 6 7sys.argv[1] = os.path.basename(sys.argv[1]) 8 9with open('msbuild_rule.out', 'w') as f: 10 f.write(' '.join(sys.argv)) 11 12