summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/actions/generated-header/action.py
blob: 9be98798d629cd533f34cbbbf2def55713c6d530 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python

# Copyright (c) 2013 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 os
import sys

outfile = sys.argv[1]
open(outfile, 'w').write('const char kFoo[] = "%s";' % sys.argv[2])