Remove Buck based build
Bug: Issue 5302 Change-Id: I6e860446ef30ff0ad1c7c49fc0e39d39d921820b
This commit is contained in:
committed by
Hector Oswaldo Caballero
parent
b33d052c45
commit
fdbfcad77d
@@ -1,65 +0,0 @@
|
||||
SRC = 'src/main/java/org/eclipse/jgit/'
|
||||
|
||||
gwt_module(
|
||||
name = 'client',
|
||||
srcs = [
|
||||
SRC + 'diff/Edit_JsonSerializer.java',
|
||||
SRC + 'diff/ReplaceEdit.java',
|
||||
],
|
||||
gwt_xml = SRC + 'JGit.gwt.xml',
|
||||
deps = [
|
||||
'//lib:gwtjsonrpc',
|
||||
':Edit',
|
||||
],
|
||||
provided_deps = ['//lib/gwt:user'],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
gwt_module(
|
||||
name = 'Edit',
|
||||
srcs = [':jgit_edit_src'],
|
||||
deps = [':edit_src'],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
prebuilt_jar(
|
||||
name = 'edit_src',
|
||||
binary_jar = ':jgit_edit_src',
|
||||
)
|
||||
|
||||
genrule(
|
||||
name = 'jgit_edit_src',
|
||||
cmd = 'unzip -qd $TMP $(location //lib/jgit/org.eclipse.jgit:jgit_src) ' +
|
||||
'org/eclipse/jgit/diff/Edit.java;' +
|
||||
'cd $TMP;' +
|
||||
'zip -Dq $OUT org/eclipse/jgit/diff/Edit.java',
|
||||
out = 'edit-sources.jar',
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = 'server',
|
||||
srcs = [
|
||||
SRC + x for x in [
|
||||
'diff/EditDeserializer.java',
|
||||
'diff/ReplaceEdit.java',
|
||||
'internal/storage/file/WindowCacheStatAccessor.java',
|
||||
'lib/ObjectIdSerialization.java',
|
||||
]
|
||||
],
|
||||
deps = [
|
||||
'//lib:gson',
|
||||
'//lib/jgit/org.eclipse.jgit:jgit',
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
java_test(
|
||||
name = 'jgit_patch_tests',
|
||||
srcs = glob(['src/test/java/**/*.java']),
|
||||
deps = [
|
||||
':server',
|
||||
'//lib/jgit/org.eclipse.jgit:jgit',
|
||||
'//lib:junit',
|
||||
],
|
||||
visibility = ['//tools/eclipse:classpath'],
|
||||
)
|
||||
Reference in New Issue
Block a user