build_file_alias Perf Improvement: Move class declaration out of method target_macro
Review Request #3361 - Created Jan. 21, 2016 and submitted
|Nick Howard (Twitter)|
target_macrois called once for each macro for each BUILD file. If you have a lot of build files and a lot of macros, it can become expensive to declare large numbers of classes. This moves the declaration out of the method, so it will only be defined once.
Ran unit tests locally, ci in progress.