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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]))
« 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