BUILD 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. load("@rules_cc//cc:defs.bzl", "objc_library")
  2. objc_library(
  3. name = "objectivec",
  4. hdrs = [
  5. "GPBAny.pbobjc.h",
  6. "GPBApi.pbobjc.h",
  7. "GPBDuration.pbobjc.h",
  8. "GPBEmpty.pbobjc.h",
  9. "GPBFieldMask.pbobjc.h",
  10. "GPBSourceContext.pbobjc.h",
  11. "GPBStruct.pbobjc.h",
  12. "GPBTimestamp.pbobjc.h",
  13. "GPBType.pbobjc.h",
  14. "GPBWrappers.pbobjc.h",
  15. "GPBArray.h",
  16. "GPBBootstrap.h",
  17. "GPBCodedInputStream.h",
  18. "GPBCodedOutputStream.h",
  19. "GPBDescriptor.h",
  20. "GPBDictionary.h",
  21. "GPBExtensionInternals.h",
  22. "GPBExtensionRegistry.h",
  23. "GPBMessage.h",
  24. "GPBProtocolBuffers.h",
  25. "GPBProtocolBuffers_RuntimeSupport.h",
  26. "GPBRootObject.h",
  27. "GPBRuntimeTypes.h",
  28. "GPBUnknownField.h",
  29. "GPBUnknownFieldSet.h",
  30. "GPBUtilities.h",
  31. "GPBWellKnownTypes.h",
  32. "GPBWireFormat.h",
  33. "google/protobuf/Any.pbobjc.h",
  34. "google/protobuf/Api.pbobjc.h",
  35. "google/protobuf/Duration.pbobjc.h",
  36. "google/protobuf/Empty.pbobjc.h",
  37. "google/protobuf/FieldMask.pbobjc.h",
  38. "google/protobuf/SourceContext.pbobjc.h",
  39. "google/protobuf/Struct.pbobjc.h",
  40. "google/protobuf/Timestamp.pbobjc.h",
  41. "google/protobuf/Type.pbobjc.h",
  42. "google/protobuf/Wrappers.pbobjc.h",
  43. # Package private headers, but exposed because the generated sources
  44. # need to use them.
  45. "GPBArray_PackagePrivate.h",
  46. "GPBCodedInputStream_PackagePrivate.h",
  47. "GPBCodedOutputStream_PackagePrivate.h",
  48. "GPBDescriptor_PackagePrivate.h",
  49. "GPBDictionary_PackagePrivate.h",
  50. "GPBMessage_PackagePrivate.h",
  51. "GPBRootObject_PackagePrivate.h",
  52. "GPBUnknownFieldSet_PackagePrivate.h",
  53. "GPBUnknownField_PackagePrivate.h",
  54. "GPBUtilities_PackagePrivate.h",
  55. ],
  56. copts = [
  57. "-Wno-vla",
  58. ],
  59. includes = [
  60. ".",
  61. ],
  62. non_arc_srcs = [
  63. "GPBAny.pbobjc.m",
  64. "GPBApi.pbobjc.m",
  65. "GPBDuration.pbobjc.m",
  66. "GPBEmpty.pbobjc.m",
  67. "GPBFieldMask.pbobjc.m",
  68. "GPBSourceContext.pbobjc.m",
  69. "GPBStruct.pbobjc.m",
  70. "GPBTimestamp.pbobjc.m",
  71. "GPBType.pbobjc.m",
  72. "GPBWrappers.pbobjc.m",
  73. "GPBArray.m",
  74. "GPBCodedInputStream.m",
  75. "GPBCodedOutputStream.m",
  76. "GPBDescriptor.m",
  77. "GPBDictionary.m",
  78. "GPBExtensionInternals.m",
  79. "GPBExtensionRegistry.m",
  80. "GPBMessage.m",
  81. "GPBRootObject.m",
  82. "GPBUnknownField.m",
  83. "GPBUnknownFieldSet.m",
  84. "GPBUtilities.m",
  85. "GPBWellKnownTypes.m",
  86. "GPBWireFormat.m",
  87. ],
  88. visibility = ["//visibility:public"],
  89. )