Clean up generate_event_interfaces.py
Follow-up to the split CL. Just clean-up, no changes to generated EventInterfaces.in. * Rename to generate_event_interfaces (from "*_names") This is b/c: - the output file is called EventInterfaces.in - the output file is used for both EventFactory and EventNames * Remove EventInterfaces.in from run-bindings-tests This file is useless, and adds unnecessary complexity to r-b-t. The actual output file is trivial: namespace="Event" Source/bindings/tests/idls/TestInterfaceEventConstructor ...and I've never looked at it during CG changes. With it, we need to have 2 passes of compute_interfaces_info, and a separate temporary file. Without it, once Terry's CL lands, we'll have no individual files, and we can just use one temporary directory, removing lots of temp file complexity. * Compute source_dir robustly (not using getcwd) * Refactoring and renaming Follow-up to: Split generate_event_interfaces.py from compute_interfaces_info.py https://codereview.chromium.org/185303008/ BUG=341748 R=haraken Review URL: https://codereview.chromium.org/186433003 git-svn-id: svn://svn.chromium.org/blink/trunk@168599 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment