From 536db18cc62afab2d38aac5b2af73f575f40d8b6 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 17 Jul 2015 16:22:56 +0200 Subject: Implement SHA-256 abstraction The Large File Storage extension specified by GitHub [1] uses SHA-256 to compute the ID of large files stored by the extension. Hence implement a SHA-256 abstraction similar to the SHA-1 abstraction used by JGit. [1] https://git-lfs.github.com/ Bug: 470333 Change-Id: I3a95954543c8570d73929e55f4a884b55dbf1b7a Signed-off-by: Matthias Sohn --- org.eclipse.jgit.lfs/BUCK | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 org.eclipse.jgit.lfs/BUCK (limited to 'org.eclipse.jgit.lfs/BUCK') diff --git a/org.eclipse.jgit.lfs/BUCK b/org.eclipse.jgit.lfs/BUCK new file mode 100644 index 0000000000..ddb3a10803 --- /dev/null +++ b/org.eclipse.jgit.lfs/BUCK @@ -0,0 +1,17 @@ +SRCS = glob(['src/**']) +RESOURCES = glob(['resources/**']) + +java_library( + name = 'jgit-lfs', + srcs = SRCS, + resources = RESOURCES, + deps = [ + '//org.eclipse.jgit:jgit' + ], + visibility = ['PUBLIC'], +) + +java_sources( + name = 'jgit-lfs_src', + srcs = SRCS + RESOURCES, +) -- cgit v1.2.3