[Refactoring] Clean up event factory code
This CL does following refactorings; a) Filter usable events in .py at the beginning b) Reduce the number of include files based on a) c) Remove an unnecessary branch Before this CL, make_event_factory.py filtered events to iterate in template system. Beside it, the code also iterated all given events to generate included files. As a result, a generated file included many unnecessary header files. After this CL, the code makes a list of events to work for, and does every iteration over it. Bug: 839389 Change-Id: I095a1c8e7b3a403687129160acca2f8ef880eb58 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2089545Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#748082}
Showing
Please register or sign in to comment