BUILD 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package(
  2. default_visibility = ["//visibility:public"],
  3. features = ["-layering_check"],
  4. )
  5. cc_library(
  6. name = "mock_component",
  7. testonly = True,
  8. hdrs = ["mock_component.h"],
  9. deps = [
  10. "//dragnn/components/util:bulk_feature_extractor",
  11. "//dragnn/core:index_translator",
  12. "//dragnn/core/interfaces:component",
  13. "//dragnn/core/interfaces:transition_state",
  14. "//dragnn/protos:data_proto",
  15. "//dragnn/protos:spec_proto",
  16. "//syntaxnet:base",
  17. "//syntaxnet:test_main",
  18. ],
  19. )
  20. cc_library(
  21. name = "mock_compute_session",
  22. testonly = True,
  23. hdrs = ["mock_compute_session.h"],
  24. deps = [
  25. "//dragnn/components/util:bulk_feature_extractor",
  26. "//dragnn/core:compute_session",
  27. "//dragnn/protos:data_proto",
  28. "//dragnn/protos:spec_proto",
  29. "//syntaxnet:base",
  30. "//syntaxnet:test_main",
  31. ],
  32. )
  33. cc_library(
  34. name = "mock_transition_state",
  35. testonly = True,
  36. hdrs = ["mock_transition_state.h"],
  37. deps = [
  38. "//dragnn/core/interfaces:transition_state",
  39. "//syntaxnet:base",
  40. "//syntaxnet:test_main",
  41. ],
  42. )
  43. cc_library(
  44. name = "generic",
  45. testonly = True,
  46. srcs = ["generic.cc"],
  47. hdrs = ["generic.h"],
  48. deps = [
  49. "//syntaxnet:base",
  50. "//syntaxnet:test_main",
  51. ],
  52. )