gerrit/.buckconfig
David Ostrovsky c4e9ae3f92 Buck: Mark auto value annotation processors as safe
This diff: [1] allows marking certain annotation processors as "safe"
via a `.buckconfig` item, and then reuses class loaders when only
"safe" annotation processors are involved.

This results in a 50% reduction in annotation processing time (42%
reduction in `javac` time) in a large test build, as measured by Buck
tracing.

[1] 97a8dc08ac

Change-Id: I76c82fbc9876a4acd48ba0cc83bfed50109f8be8
2016-12-13 23:05:30 +01:00

38 lines
908 B
Plaintext

[alias]
api = //:api
chrome = //:chrome
docs = //Documentation:searchfree
firefox = //:firefox
gerrit = //:gerrit
gwtgerrit = //:gwtgerrit
headless = //:headless
polygerrit = //:polygerrit
release = //:release
releasenotes = //ReleaseNotes:html
safari = //:safari
soyc = //gerrit-gwtui:ui_soyc
soyc_r = //gerrit-gwtui:ui_soyc_r
withdocs = //:withdocs
[buildfile]
includes = //tools/default.defs
[java]
jar_spool_mode = direct_to_jar
safe_annotation_processors = com.google.auto.value.processor.AutoAnnotationProcessor,com.google.auto.value.processor.AutoValueProcessor
src_roots = java, resources, src
source_level = 8
target_level = 8
[project]
allow_symlinks = allow
ignore = .git, eclipse-out, bazel-gerrit, bin
parallel_parsing = true
[cache]
mode = dir
dir = ~/.gerritcodereview/buck-cache/locally-built-artifacts
[test]
excluded_labels = manual