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