| PROTOCOL_SRCS = [ |
| 'AbiWriterProtocol.java', |
| ] |
| |
| java_library( |
| name = 'abi', |
| srcs = glob(['*.java'], excludes = PROTOCOL_SRCS), |
| deps = [ |
| # ************************************************************************************** |
| # * * |
| # * A baleful and most grievous warning to the foolish mortal who chooses to mess with * |
| # * these deps. If the blink tag worked, we'd use it here. * |
| # * * |
| # ************************************************************************************** |
| # |
| # Note, we deliberately keep the list of dependencies empty in order to keep the code in |
| # the JavacInMemoryStep from becoming prone to classpath collisions. Please don't amend them. |
| ':protocol', |
| ], |
| visibility = [ |
| # This build target is run is a standalone annotation processor, so it should be visible only to |
| # its tests. |
| '//test/com/facebook/buck/java/abi:abi' |
| ], |
| ) |
| |
| java_library( |
| name = 'protocol', |
| srcs = PROTOCOL_SRCS, |
| visibility = [ |
| 'PUBLIC', |
| ], |
| ) |