-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade protoc plugins to v29.2 (#1637)
Fixes #1636.
- Loading branch information
Showing
64 changed files
with
615 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* | ||
!BUILD | ||
!cpp.cc | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cc_binary( | ||
name = "protoc-gen-cpp", | ||
srcs = ["cpp.cc"], | ||
deps = [ | ||
"//:protoc_lib", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# syntax=docker/dockerfile:1.12 | ||
FROM debian:bookworm-20241202 AS build | ||
|
||
ENV USE_BAZEL_VERSION=7.4.1 | ||
ARG TARGETARCH | ||
ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip | ||
RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux-${TARGETARCH} \ | ||
&& chmod +x /usr/local/bin/bazelisk \ | ||
&& mkdir /build \ | ||
&& chown nobody:nogroup /build \ | ||
&& usermod --home /build nobody | ||
|
||
USER nobody | ||
WORKDIR /build | ||
RUN curl -fsSL -o protoc.tar.gz https://github.com/protocolbuffers/protobuf/releases/download/v29.2/protobuf-29.2.tar.gz \ | ||
&& tar --strip-components=1 -zxf protoc.tar.gz \ | ||
&& rm protoc.tar.gz | ||
RUN bazelisk ${BAZEL_OPTS} build '//:protoc_lib' | ||
COPY --link BUILD cpp.cc plugins/ | ||
RUN bazelisk ${BAZEL_OPTS} build '//plugins:protoc-gen-cpp.stripped' | ||
|
||
FROM gcr.io/distroless/cc-debian12:latest@sha256:f913198471738d9eedcd00c0ca812bf663e8959eebff3a3cbadb027ed9da0c38 AS base | ||
|
||
FROM scratch | ||
COPY --from=base --link / / | ||
COPY --from=build --link --chmod=0755 /build/bazel-bin/plugins/protoc-gen-cpp . | ||
USER nobody | ||
ENTRYPOINT ["/protoc-gen-cpp"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/protocolbuffers/cpp | ||
plugin_version: v29.2 | ||
source_url: https://github.com/protocolbuffers/protobuf | ||
description: Base types for C++. Generates message and enum types. | ||
output_languages: | ||
- cpp | ||
spdx_license_id: BSD-3-Clause | ||
license_url: https://github.com/protocolbuffers/protobuf/blob/v29.2/LICENSE | ||
registry: | ||
cmake: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <google/protobuf/compiler/cpp/generator.h> | ||
#include <google/protobuf/compiler/plugin.h> | ||
|
||
int main(int argc, char *argv[]) { | ||
google::protobuf::compiler::cpp::CppGenerator generator; | ||
return google::protobuf::compiler::PluginMain(argc, argv, &generator); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* | ||
!BUILD | ||
!csharp.cc | ||
!Dockerfile | ||
!build.csproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cc_binary( | ||
name = "protoc-gen-csharp", | ||
srcs = ["csharp.cc"], | ||
deps = [ | ||
"//:protoc_lib", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# syntax=docker/dockerfile:1.12 | ||
FROM debian:bookworm-20241202 AS build | ||
|
||
ENV USE_BAZEL_VERSION=7.4.1 | ||
ARG TARGETARCH | ||
ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip | ||
RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux-${TARGETARCH} \ | ||
&& chmod +x /usr/local/bin/bazelisk \ | ||
&& mkdir /build \ | ||
&& chown nobody:nogroup /build \ | ||
&& usermod --home /build nobody | ||
|
||
USER nobody | ||
WORKDIR /build | ||
RUN curl -fsSL -o protoc.tar.gz https://github.com/protocolbuffers/protobuf/releases/download/v29.2/protobuf-29.2.tar.gz \ | ||
&& tar --strip-components=1 -zxf protoc.tar.gz \ | ||
&& rm protoc.tar.gz | ||
RUN bazelisk ${BAZEL_OPTS} build '//:protoc_lib' | ||
COPY --link BUILD csharp.cc plugins/ | ||
RUN bazelisk ${BAZEL_OPTS} build '//plugins:protoc-gen-csharp.stripped' | ||
|
||
FROM mcr.microsoft.com/dotnet/sdk:8.0.404-bookworm-slim@sha256:032381bcea86fa0a408af5df63a930f1ff5b03116c940a7cd744d3b648e66749 AS dotnetrestore | ||
WORKDIR /build | ||
COPY --link ./build.csproj /build/build.csproj | ||
RUN mkdir /nuget && dotnet restore --packages /nuget | ||
|
||
FROM gcr.io/distroless/cc-debian12:latest@sha256:f913198471738d9eedcd00c0ca812bf663e8959eebff3a3cbadb027ed9da0c38 AS base | ||
|
||
FROM scratch | ||
COPY --from=base --link / / | ||
COPY --link --from=dotnetrestore /nuget /nuget | ||
COPY --from=build --link --chmod=0755 /build/bazel-bin/plugins/protoc-gen-csharp . | ||
USER nobody | ||
ENTRYPOINT ["/protoc-gen-csharp"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: v1 | ||
name: buf.build/protocolbuffers/csharp | ||
plugin_version: v29.2 | ||
source_url: https://github.com/protocolbuffers/protobuf | ||
description: Base types for C#. Generates message and enum types. | ||
output_languages: | ||
- csharp | ||
spdx_license_id: BSD-3-Clause | ||
license_url: https://github.com/protocolbuffers/protobuf/blob/v29.2/LICENSE | ||
registry: | ||
opts: | ||
- base_namespace= | ||
nuget: | ||
target_frameworks: | ||
- netstandard2.0 | ||
deps: | ||
- name: Google.Protobuf | ||
version: 3.29.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Google.Protobuf" Version="3.29.2" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <google/protobuf/compiler/csharp/csharp_generator.h> | ||
#include <google/protobuf/compiler/plugin.h> | ||
|
||
int main(int argc, char *argv[]) { | ||
google::protobuf::compiler::csharp::Generator generator; | ||
return google::protobuf::compiler::PluginMain(argc, argv, &generator); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* | ||
!BUILD | ||
!Dockerfile | ||
!java.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cc_binary( | ||
name = "protoc-gen-java", | ||
srcs = ["java.cc"], | ||
deps = [ | ||
"//:protoc_lib", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# syntax=docker/dockerfile:1.12 | ||
FROM debian:bookworm-20241202 AS build | ||
|
||
ENV USE_BAZEL_VERSION=7.4.1 | ||
ARG TARGETARCH | ||
ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip | ||
RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux-${TARGETARCH} \ | ||
&& chmod +x /usr/local/bin/bazelisk \ | ||
&& mkdir /build \ | ||
&& chown nobody:nogroup /build \ | ||
&& usermod --home /build nobody | ||
|
||
USER nobody | ||
WORKDIR /build | ||
RUN curl -fsSL -o protoc.tar.gz https://github.com/protocolbuffers/protobuf/releases/download/v29.2/protobuf-29.2.tar.gz \ | ||
&& tar --strip-components=1 -zxf protoc.tar.gz \ | ||
&& rm protoc.tar.gz | ||
RUN bazelisk ${BAZEL_OPTS} build '//:protoc_lib' | ||
COPY --link BUILD java.cc plugins/ | ||
RUN bazelisk ${BAZEL_OPTS} build '//plugins:protoc-gen-java.stripped' | ||
|
||
FROM gcr.io/distroless/cc-debian12:latest@sha256:f913198471738d9eedcd00c0ca812bf663e8959eebff3a3cbadb027ed9da0c38 AS base | ||
|
||
FROM scratch | ||
COPY --from=base --link / / | ||
COPY --from=build --link --chmod=0755 /build/bazel-bin/plugins/protoc-gen-java . | ||
USER nobody | ||
ENTRYPOINT ["/protoc-gen-java"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: v1 | ||
name: buf.build/protocolbuffers/java | ||
plugin_version: v29.2 | ||
source_url: https://github.com/protocolbuffers/protobuf | ||
description: Base types for Java. Generates message and enum types. | ||
output_languages: | ||
- java | ||
spdx_license_id: BSD-3-Clause | ||
license_url: https://github.com/protocolbuffers/protobuf/blob/v29.2/LICENSE | ||
registry: | ||
maven: | ||
deps: | ||
- com.google.protobuf:protobuf-java:4.29.2 | ||
additional_runtimes: | ||
- name: lite | ||
deps: | ||
- com.google.protobuf:protobuf-javalite:4.29.2 | ||
- build.buf:protobuf-javalite:4.29.2 | ||
opts: [lite] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <google/protobuf/compiler/java/generator.h> | ||
#include <google/protobuf/compiler/plugin.h> | ||
|
||
int main(int argc, char *argv[]) { | ||
google::protobuf::compiler::java::JavaGenerator generator; | ||
return google::protobuf::compiler::PluginMain(argc, argv, &generator); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* | ||
!BUILD | ||
!Dockerfile | ||
!kotlin.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cc_binary( | ||
name = "protoc-gen-kotlin", | ||
srcs = ["kotlin.cc"], | ||
deps = [ | ||
"//:protoc_lib", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# syntax=docker/dockerfile:1.12 | ||
FROM debian:bookworm-20241202 AS build | ||
|
||
ENV USE_BAZEL_VERSION=7.4.1 | ||
ARG TARGETARCH | ||
ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip | ||
RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux-${TARGETARCH} \ | ||
&& chmod +x /usr/local/bin/bazelisk \ | ||
&& mkdir /build \ | ||
&& chown nobody:nogroup /build \ | ||
&& usermod --home /build nobody | ||
|
||
USER nobody | ||
WORKDIR /build | ||
RUN curl -fsSL -o protoc.tar.gz https://github.com/protocolbuffers/protobuf/releases/download/v29.2/protobuf-29.2.tar.gz \ | ||
&& tar --strip-components=1 -zxf protoc.tar.gz \ | ||
&& rm protoc.tar.gz | ||
RUN bazelisk ${BAZEL_OPTS} build '//:protoc_lib' | ||
COPY --link BUILD kotlin.cc plugins/ | ||
RUN bazelisk ${BAZEL_OPTS} build '//plugins:protoc-gen-kotlin.stripped' | ||
|
||
FROM gcr.io/distroless/cc-debian12:latest@sha256:f913198471738d9eedcd00c0ca812bf663e8959eebff3a3cbadb027ed9da0c38 AS base | ||
|
||
FROM scratch | ||
COPY --from=base --link / / | ||
COPY --from=build --link --chmod=0755 /build/bazel-bin/plugins/protoc-gen-kotlin . | ||
USER nobody | ||
ENTRYPOINT ["/protoc-gen-kotlin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: v1 | ||
name: buf.build/protocolbuffers/kotlin | ||
plugin_version: v29.2 | ||
source_url: https://github.com/protocolbuffers/protobuf | ||
integration_guide_url: https://protobuf.dev/getting-started/kotlintutorial | ||
description: Base types for Kotlin. Generates message and enum types. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/java:v29.2 | ||
output_languages: | ||
- kotlin | ||
spdx_license_id: BSD-3-Clause | ||
license_url: https://github.com/protocolbuffers/protobuf/blob/v29.2/LICENSE | ||
registry: | ||
maven: | ||
compiler: | ||
kotlin: | ||
version: 1.8.22 | ||
deps: | ||
- com.google.protobuf:protobuf-kotlin:4.29.2 | ||
- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 | ||
- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22 | ||
additional_runtimes: | ||
- name: lite | ||
deps: | ||
- com.google.protobuf:protobuf-kotlin-lite:4.29.2 | ||
- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 | ||
opts: [lite] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <google/protobuf/compiler/kotlin/generator.h> | ||
#include <google/protobuf/compiler/plugin.h> | ||
|
||
int main(int argc, char *argv[]) { | ||
google::protobuf::compiler::kotlin::KotlinGenerator generator; | ||
return google::protobuf::compiler::PluginMain(argc, argv, &generator); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* | ||
!BUILD | ||
!Dockerfile | ||
!objectivec.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cc_binary( | ||
name = "protoc-gen-objectivec", | ||
srcs = ["objectivec.cc"], | ||
deps = [ | ||
"//:protoc_lib", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# syntax=docker/dockerfile:1.12 | ||
FROM debian:bookworm-20241202 AS build | ||
|
||
ENV USE_BAZEL_VERSION=7.4.1 | ||
ARG TARGETARCH | ||
ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip | ||
RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux-${TARGETARCH} \ | ||
&& chmod +x /usr/local/bin/bazelisk \ | ||
&& mkdir /build \ | ||
&& chown nobody:nogroup /build \ | ||
&& usermod --home /build nobody | ||
|
||
USER nobody | ||
WORKDIR /build | ||
RUN curl -fsSL -o protoc.tar.gz https://github.com/protocolbuffers/protobuf/releases/download/v29.2/protobuf-29.2.tar.gz \ | ||
&& tar --strip-components=1 -zxf protoc.tar.gz \ | ||
&& rm protoc.tar.gz | ||
RUN bazelisk ${BAZEL_OPTS} build '//:protoc_lib' | ||
COPY --link BUILD objectivec.cc plugins/ | ||
RUN bazelisk ${BAZEL_OPTS} build '//plugins:protoc-gen-objectivec.stripped' | ||
|
||
FROM gcr.io/distroless/cc-debian12:latest@sha256:f913198471738d9eedcd00c0ca812bf663e8959eebff3a3cbadb027ed9da0c38 AS base | ||
|
||
FROM scratch | ||
COPY --from=base --link / / | ||
COPY --from=build --link --chmod=0755 /build/bazel-bin/plugins/protoc-gen-objectivec . | ||
USER nobody | ||
ENTRYPOINT ["/protoc-gen-objectivec"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: v1 | ||
name: buf.build/protocolbuffers/objc | ||
plugin_version: v29.2 | ||
source_url: https://github.com/protocolbuffers/protobuf | ||
description: Base types for Objective-C. Generates message and enum types. | ||
output_languages: | ||
- objective_c | ||
spdx_license_id: BSD-3-Clause | ||
license_url: https://github.com/protocolbuffers/protobuf/blob/v29.2/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <google/protobuf/compiler/objectivec/generator.h> | ||
#include <google/protobuf/compiler/plugin.h> | ||
|
||
int main(int argc, char *argv[]) { | ||
google::protobuf::compiler::objectivec::ObjectiveCGenerator generator; | ||
return google::protobuf::compiler::PluginMain(argc, argv, &generator); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* | ||
!BUILD | ||
!Dockerfile | ||
!php.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cc_binary( | ||
name = "protoc-gen-php", | ||
srcs = ["php.cc"], | ||
deps = [ | ||
"//:protoc_lib", | ||
], | ||
) |
Oops, something went wrong.