82e66ee4e5
Try to reduce the size of the top-level BUCK file by moving anything that has to do with Eclipse project generation and classpath management into tools/eclipse. Change-Id: Id779eaff4fe732908b28a8e3441004e364b59e21
24 lines
512 B
Python
24 lines
512 B
Python
include_defs('//lib/maven.defs')
|
|
|
|
maven_jar(
|
|
name = 'prolog-cafe',
|
|
id = 'com.googlecode.prolog-cafe:PrologCafe:1.3',
|
|
sha1 = '5e0fbf18e8c98c4113f9acc978306884a1152870',
|
|
license = 'prologcafe',
|
|
repository = GERRIT,
|
|
)
|
|
|
|
java_binary(
|
|
name = 'compiler',
|
|
main_class = 'BuckPrologCompiler',
|
|
deps = [':compiler_lib'],
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'compiler_lib',
|
|
srcs = ['java/BuckPrologCompiler.java'],
|
|
deps = [':prolog-cafe'],
|
|
visibility = ['//tools/eclipse:classpath'],
|
|
)
|