Bazel: add support for unsigning jar files
One test is still failing: HttpPushForReviewIT#pushForMasterWithTopicOption() Change-Id: I257f443557a998f0c2190bd07f01547368aeb1e1
This commit is contained in:
committed by
David Ostrovsky
parent
bc98ce85d4
commit
2604257c29
@@ -1,6 +1,14 @@
|
||||
load('//tools/bzl:unsign.bzl', 'unsign_jars')
|
||||
|
||||
java_library(
|
||||
name = 'jgit-servlet',
|
||||
name = 'jgit-servlet-signed',
|
||||
exports = ['@jgit_servlet//jar'],
|
||||
runtime_deps = ['//lib/jgit/org.eclipse.jgit:jgit'],
|
||||
visibility = ['//visibility:public'],
|
||||
)
|
||||
|
||||
unsign_jars(
|
||||
name = 'jgit-servlet',
|
||||
deps = [':jgit-servlet-signed'],
|
||||
visibility = ['//visibility:public'],
|
||||
)
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
load('//tools/bzl:unsign.bzl', 'unsign_jars')
|
||||
|
||||
java_library(
|
||||
name = 'junit',
|
||||
name = 'junit-signed',
|
||||
exports = ['@jgit_junit//jar'],
|
||||
runtime_deps = ['//lib/jgit/org.eclipse.jgit:jgit'],
|
||||
visibility = ['//visibility:public'],
|
||||
)
|
||||
|
||||
unsign_jars(
|
||||
name = 'junit',
|
||||
deps = [':junit-signed'],
|
||||
visibility = ['//visibility:public'],
|
||||
)
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
load('//tools/bzl:unsign.bzl', 'unsign_jars')
|
||||
|
||||
java_library(
|
||||
name = 'jgit',
|
||||
name = 'jgit-signed',
|
||||
exports = ['@jgit//jar'],
|
||||
runtime_deps = [':ewah'],
|
||||
visibility = ['//visibility:public'],
|
||||
@@ -10,3 +12,9 @@ java_library(
|
||||
exports = ['@ewah//jar'],
|
||||
visibility = ['//visibility:public'],
|
||||
)
|
||||
|
||||
unsign_jars(
|
||||
name = 'jgit',
|
||||
deps = [':jgit-signed'],
|
||||
visibility = ['//visibility:public'],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user