niklase@google.com | 47bdc46 | 2011-05-30 11:42:35 +0000 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | import sys |
| 7 | |
| 8 | supplement_gypi = """#!/usr/bin/env python |
| 9 | # This file is generated by %s. Not for check-in. |
| 10 | # Please see the WebRTC DEPS file for details. |
| 11 | { |
| 12 | 'variables': { |
| 13 | 'build_with_chromium': 0, |
| 14 | 'inside_chromium_build': 0, |
| 15 | } |
| 16 | } |
| 17 | """ |
| 18 | |
| 19 | def main(argv): |
| 20 | open(argv[1], 'w').write(supplement_gypi % argv[0]) |
| 21 | |
| 22 | if __name__ == '__main__': |
| 23 | sys.exit(main(sys.argv)) |