2016-07-26 20:55:45 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
#
|
|
|
|
# Copyright 2016 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
with open(sys.argv[1], "w") as f:
|
|
|
|
f.write('// skia.h generated by GN.\n')
|
|
|
|
f.write('#ifndef skia_h_DEFINED\n')
|
|
|
|
f.write('#define skia_h_DEFINED\n')
|
2016-08-02 21:28:26 +00:00
|
|
|
for h in sys.argv[2:]:
|
|
|
|
f.write('#include "' + h + '"\n')
|
2016-07-26 20:55:45 +00:00
|
|
|
f.write('#endif//skia_h_DEFINED\n')
|