google-nomulus/javatests/google/registry/tools/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

68 lines
2.1 KiB
Text

package(
default_testonly = 1,
default_visibility = ["//java/google/registry:registry_project"],
)
licenses(["notice"]) # Apache 2.0
load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
java_library(
name = "tools",
srcs = glob([
"*.java",
]),
resources = glob([
"testdata/*.*",
"server/testdata/*.*",
]),
deps = [
"//java/google/registry/backup",
"//java/google/registry/config",
"//java/google/registry/flows",
"//java/google/registry/keyring/api",
"//java/google/registry/model",
"//java/google/registry/rde",
"//java/google/registry/request",
"//java/google/registry/tmch",
"//java/google/registry/tools",
"//java/google/registry/tools/params",
"//java/google/registry/tools/server",
"//java/google/registry/util",
"//java/google/registry/xjc",
"//java/google/registry/xml",
"//javatests/google/registry/model",
"//javatests/google/registry/rde",
"//javatests/google/registry/testing",
"//javatests/google/registry/tools/server",
"//javatests/google/registry/xml",
"//third_party/jaxb",
"//third_party/objectify:objectify-v4_1",
"@com_beust_jcommander",
"@com_google_api_client",
"@com_google_apis_google_api_services_dns",
"@com_google_appengine_api_1_0_sdk//:testonly",
"@com_google_appengine_remote_api//:link",
"@com_google_auto_value",
"@com_google_code_findbugs_jsr305",
"@com_google_guava",
"@com_google_http_client",
"@com_google_http_client_jackson2",
"@com_google_oauth_client",
"@com_google_re2j",
"@com_google_truth",
"@com_google_truth_extensions_truth_java8_extension",
"@com_googlecode_json_simple",
"@javax_inject",
"@joda_time",
"@junit",
"@org_joda_money",
"@org_mockito_all",
],
)
GenTestRules(
name = "GeneratedTestRules",
test_files = glob(["**/*Test.java"]),
deps = [":tools"],
)