[gn build] sync script: only compute tokloc when adding files
authorNico Weber <thakis@chromium.org>
Thu, 26 Nov 2020 02:05:11 +0000 (21:05 -0500)
committerNico Weber <thakis@chromium.org>
Thu, 26 Nov 2020 02:05:13 +0000 (21:05 -0500)
commit12c2646feb10c3aa14f590bcf9f5a3f9fc7b41b7
treef5b6076f82489c562d40ec5d50ce706339eea5bf
parent48d10172453511b549dfb3b46c717c60dc9786f1
[gn build] sync script: only compute tokloc when adding files

No behavior change, but maybe a bit clearer.
llvm/utils/gn/build/sync_source_lists_from_cmake.py