| Index: third_party/WebKit/fake_gen/fake_the_gen.py
|
| diff --git a/third_party/WebKit/fake_gen/fake_the_gen.py b/third_party/WebKit/fake_gen/fake_the_gen.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..1599bec680d7a1f9a6119c501b54e5d65065953b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/fake_gen/fake_the_gen.py
|
| @@ -0,0 +1,22 @@
|
| +#!/usr/bin/python
|
| +"""Fake code generator! It's awesome!"""
|
| +
|
| +from shutil import copyfile
|
| +import sys
|
| +import os
|
| +
|
| +
|
| +def main(destination):
|
| +
|
| + source = os.path.join(
|
| + os.path.dirname(os.path.realpath(__file__)), 'web', 'api')
|
| +
|
| + source_files = os.listdir(source)
|
| +
|
| + for source_file in source_files:
|
| + copyfile(os.path.join(source, source_file),
|
| + os.path.join(destination, source_file))
|
| +
|
| +
|
| +if __name__ == '__main__':
|
| + sys.exit(main(sys.argv[1]))
|
|
|