summaryrefslogtreecommitdiff
path: root/tools/gyp/test/rules/src/copy-file.py
blob: 5a5feae1f21eed4dbd014afa9c51917fb5ecfe51 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python

# Copyright (c) 2009 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import sys

contents = open(sys.argv[1], 'r').read()
open(sys.argv[2], 'wb').write(contents)

sys.exit(0)