Support AutoValue annotation processors via exported_deps
Change-Id: I9ca9cde74c9f080c64f32810545576bb486dfaaf
This commit is contained in:
parent
19547b5ac6
commit
3484248c0c
@ -63,7 +63,8 @@ def _set_auto_value(kwargs):
|
||||
kwargs[apdk] = []
|
||||
apds = kwargs.get(apdk, [])
|
||||
|
||||
if AUTO_VALUE_DEP in kwargs.get('deps', []):
|
||||
all_deps = kwargs.get('deps', []) + kwargs.get('exported_deps', [])
|
||||
if AUTO_VALUE_DEP in all_deps:
|
||||
aps.extend(AUTO_VALUE_PROCESSORS)
|
||||
apds.extend(AUTO_VALUE_PROCESSOR_DEPS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user