webrtc/tools/create_supplement_gypi.py
tina.legrand@webrtc.org 1f8c02a4de Getting Opus from Chrome
This CL replaces http://review.webrtc.org/921006/

BUG=issue982

TBR=andrew@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/933006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2993 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-25 12:37:08 +00:00

27 lines
754 B
Python

#!/usr/bin/env python
# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
import sys
supplement_gypi = """#!/usr/bin/env python
# This file is generated by %s. Not for check-in.
# Please see the WebRTC DEPS file for details.
{
'variables': {
'build_with_chromium': 0,
}
}
"""
def main(argv):
open(argv[1], 'w').write(supplement_gypi % argv[0])
if __name__ == '__main__':
sys.exit(main(sys.argv))