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( 8*c80d8c59SDavid Pursehouse ["src/**/*.java"], 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", 21bc5014faSJonathan Nieder "//lib:javaewah", 22bc5014faSJonathan Nieder "//lib:jsch", 23bc5014faSJonathan Nieder "//lib:slf4j-api", 24e92a0c3aSDavid Ostrovsky ], 25e92a0c3aSDavid Ostrovsky) 26e92a0c3aSDavid Ostrovsky 27e92a0c3aSDavid Ostrovskyjava_library( 28dd5e500aSDavid Pursehouse name = "insecure_cipher_factory", 29e92a0c3aSDavid Ostrovsky srcs = INSECURE_CIPHER_FACTORY, 30b537e372SJonathan Nieder javacopts = ["-Xep:InsecureCryptoUsage:OFF"], 31e92a0c3aSDavid Ostrovsky) 32