blob: 059838a6ff2b636b04cda3d4d725a2ad18a782a5 [file] [log] [blame]
mtklein1211e0c2016-07-26 13:55:45 -07001#!/usr/bin/env python
2#
3# Copyright 2016 Google Inc.
4#
5# Use of this source code is governed by a BSD-style license that can be
6# found in the LICENSE file.
7
8import sys
mtklein1211e0c2016-07-26 13:55:45 -07009
mtklein1211e0c2016-07-26 13:55:45 -070010with open(sys.argv[1], "w") as f:
11 f.write('// skia.h generated by GN.\n')
12 f.write('#ifndef skia_h_DEFINED\n')
13 f.write('#define skia_h_DEFINED\n')
mtkleinada5a442016-08-02 14:28:26 -070014 for h in sys.argv[2:]:
15 f.write('#include "' + h + '"\n')
mtklein1211e0c2016-07-26 13:55:45 -070016 f.write('#endif//skia_h_DEFINED\n')