media/webrtc/trunk/tools/gyp/test/custom-generator/mygenerator.py

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/webrtc/trunk/tools/gyp/test/custom-generator/mygenerator.py	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +# Copyright (c) 2012 Google Inc. All rights reserved.
     1.5 +# Use of this source code is governed by a BSD-style license that can be
     1.6 +# found in the LICENSE file.
     1.7 +
     1.8 +"""Custom gyp generator that doesn't do much."""
     1.9 +
    1.10 +import gyp.common
    1.11 +
    1.12 +generator_default_variables = {}
    1.13 +
    1.14 +def GenerateOutput(target_list, target_dicts, data, params):
    1.15 +  f = open("MyBuildFile", "wb")
    1.16 +  f.write("Testing...\n")
    1.17 +  f.close()

mercurial