Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: third_party/WebKit/fake_gen/fake_the_gen.py

Issue 2591803002: NOT FOR LANDING: Thread the needle through all webmodules.
Patch Set: Needle threaded all the way. Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/python
2 """Fake code generator! It's awesome!"""
dglazkov 2016/12/22 16:39:10 The fake generator gives me the ability to hand-wr
3
4 from shutil import copyfile
5 import sys
6 import os
7
8
9 def main(destination):
10
11 source = os.path.join(
12 os.path.dirname(os.path.realpath(__file__)), 'web', 'api')
13
14 source_files = os.listdir(source)
15
16 for source_file in source_files:
17 copyfile(os.path.join(source, source_file),
18 os.path.join(destination, source_file))
19
20
21 if __name__ == '__main__':
22 sys.exit(main(sys.argv[1]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698