1dd5e500aSDavid Pursehousepackage(default_visibility = ["//visibility:public"]) 2e92a0c3aSDavid Ostrovsky 3e92a0c3aSDavid OstrovskyINSECURE_CIPHER_FACTORY = [ 4dd5e500aSDavid Pursehouse "src/org/eclipse/jgit/transport/InsecureCipherFactory.java", 5e92a0c3aSDavid Ostrovsky] 6e92a0c3aSDavid Ostrovsky 7dd5e500aSDavid PursehouseSRCS = glob( 8dd5e500aSDavid Pursehouse ["src/**"], 9dd5e500aSDavid Pursehouse exclude = INSECURE_CIPHER_FACTORY, 10dd5e500aSDavid Pursehouse) 11dd5e500aSDavid Pursehouse 12dd5e500aSDavid PursehouseRESOURCES = glob(["resources/**"]) 13e92a0c3aSDavid Ostrovsky 14e92a0c3aSDavid Ostrovskyjava_library( 15dd5e500aSDavid Pursehouse name = "jgit", 16e92a0c3aSDavid Ostrovsky srcs = SRCS, 17dd5e500aSDavid Pursehouse resource_strip_prefix = "org.eclipse.jgit/resources", 18e92a0c3aSDavid Ostrovsky resources = RESOURCES, 19e92a0c3aSDavid Ostrovsky deps = [ 20dd5e500aSDavid Pursehouse ":insecure_cipher_factory", 21dd5e500aSDavid Pursehouse "@httpclient//jar", 22dd5e500aSDavid Pursehouse "@javaewah//jar", 23dd5e500aSDavid Pursehouse "@jsch//jar", 24dd5e500aSDavid Pursehouse "@log_api//jar", 25dd5e500aSDavid Pursehouse "@servlet_api_3_1//jar", 26e92a0c3aSDavid Ostrovsky ], 27e92a0c3aSDavid Ostrovsky) 28e92a0c3aSDavid Ostrovsky 29e92a0c3aSDavid Ostrovskyjava_library( 30dd5e500aSDavid Pursehouse name = "insecure_cipher_factory", 31e92a0c3aSDavid Ostrovsky srcs = INSECURE_CIPHER_FACTORY, 32*b537e372SJonathan Nieder javacopts = ["-Xep:InsecureCryptoUsage:OFF"], 33e92a0c3aSDavid Ostrovsky) 34