10f6ddb37SDavid Ostrovskyjava_library( 20f6ddb37SDavid Ostrovsky name = "pgm", 3*c80d8c59SDavid Pursehouse srcs = glob(["src/**/*.java"]), 40f6ddb37SDavid Ostrovsky resource_strip_prefix = "org.eclipse.jgit.pgm/resources", 50f6ddb37SDavid Ostrovsky resources = glob(["resources/**"]), 60f6ddb37SDavid Ostrovsky visibility = ["//visibility:public"], 70f6ddb37SDavid Ostrovsky deps = [ 80f6ddb37SDavid Ostrovsky ":services", 90f6ddb37SDavid Ostrovsky "//lib:args4j", 100f6ddb37SDavid Ostrovsky "//lib:httpclient", 110f6ddb37SDavid Ostrovsky "//lib:httpcore", 120f6ddb37SDavid Ostrovsky "//lib:jetty-http", 130f6ddb37SDavid Ostrovsky "//lib:jetty-io", 140f6ddb37SDavid Ostrovsky "//lib:jetty-security", 150f6ddb37SDavid Ostrovsky "//lib:jetty-server", 160f6ddb37SDavid Ostrovsky "//lib:jetty-servlet", 170f6ddb37SDavid Ostrovsky "//lib:jetty-util", 180f6ddb37SDavid Ostrovsky "//lib:servlet-api", 190f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.archive:jgit-archive", 200f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.apache:http-apache", 210f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 220f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.lfs:jgit-lfs", 230f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.lfs.server:jgit-lfs-server", 240f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.ui:ui", 250f6ddb37SDavid Ostrovsky ], 260f6ddb37SDavid Ostrovsky) 270f6ddb37SDavid Ostrovsky 280f6ddb37SDavid Ostrovskyjava_import( 290f6ddb37SDavid Ostrovsky name = "services", 300f6ddb37SDavid Ostrovsky jars = [":services_jar"], 310f6ddb37SDavid Ostrovsky) 320f6ddb37SDavid Ostrovsky 330f6ddb37SDavid Ostrovskygenrule( 340f6ddb37SDavid Ostrovsky name = "services_jar", 350f6ddb37SDavid Ostrovsky srcs = glob(["META-INF/services/*"]), 360f6ddb37SDavid Ostrovsky outs = ["services_jar.jar"], 370f6ddb37SDavid Ostrovsky cmd = "r=$$PWD && cd org.eclipse.jgit.pgm && zip -qr $$r/$@ .", 380f6ddb37SDavid Ostrovsky) 39