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

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: AddEventListener sketched out. Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/fake_gen/DEPS ('k') | third_party/WebKit/fake_gen/web/api/document.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python
2 """Fake code generator! It's awesome!"""
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
« no previous file with comments | « third_party/WebKit/fake_gen/DEPS ('k') | third_party/WebKit/fake_gen/web/api/document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698