google-nomulus/java/google/registry/xml/BUILD
jianglai 97e962ba0a Add //third_party/java/jaxb dependency to targets using javax.xml.bind
To make FOSS build compile, third_party vendoring rules for jaxb are added to package all jaxb related targets imported from maven into a uber jar, mirroring the same practice done in //third_party/java/jaxb

Cloned from CL 182666460 by 'g4 patch'.
Original change by cushon@cushon:rosie182283995-0071_Rosie:47348:citc on 2018/01/20 13:36:15.

More information:
https://docs.google.com/document/d/1htErgDIoHMEuMBfGwrtS_O4WwhTw8QOGLva-7aYYvYs/edit?usp=sharing
Tested:
    TAP --sample for global presubmit queue
    []    passed FOSS test

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182855173
2018-01-23 16:18:35 -05:00

23 lines
450 B
Text

package(
default_visibility = ["//visibility:public"],
)
licenses(["notice"]) # Apache 2.0
filegroup(
name = "xml_schema_files",
srcs = glob(["xsd/*.xsd"]),
)
java_library(
name = "xml",
srcs = glob(["*.java"]),
resources = [":xml_schema_files"],
deps = [
"//third_party/jaxb",
"@com_google_code_findbugs_jsr305",
"@com_google_guava",
"@com_google_re2j",
"@joda_time",
],
)