Taking ~ 4 seconds on my machine. A year ago it was < 2 seconds.
I took a trace via:
gn gen . --tracelog=gn.trace
And found that the largest bottleneck is:
//third_party/android_tools/BUILD.gn
Each call to build/android/gyp/aar.py --list is done serially, and the entire file took 1.4 seconds to evaluate.
Comment 1 by agrieve@chromium.org
, Jul 28 2017