Home
last modified time | relevance | path

Searched refs:protoc (Results 1 – 25 of 260) sorted by relevance

1234567891011

/third_party/protobuf/kokoro/release/
Dcollect_all_artifacts.sh34 mkdir -p protoc/windows_x86
35 mkdir -p protoc/windows_x64
36 cp ${INPUT_ARTIFACTS_DIR}/build32/Release/protoc.exe protoc/windows_x86/protoc.exe
37 cp ${INPUT_ARTIFACTS_DIR}/build64/Release/protoc.exe protoc/windows_x64/protoc.exe
39 mkdir -p protoc/linux_x86
40 mkdir -p protoc/linux_x64
43 cp ${INPUT_ARTIFACTS_DIR}/protoc-artifacts/target/linux/x86_32/protoc.exe protoc/linux_x86/protoc
44 cp ${INPUT_ARTIFACTS_DIR}/protoc-artifacts/target/linux/x86_64/protoc.exe protoc/linux_x64/protoc
46 mkdir -p protoc/macosx_x64
47 cp ${INPUT_ARTIFACTS_DIR}/build64/src/protoc protoc/macosx_x64/protoc
/third_party/protobuf/kokoro/release/protoc/linux/
Dbuild.sh20 protoc-artifacts/build-protoc.sh linux aarch_64 protoc
23 protoc-artifacts/build-protoc.sh linux ppcle_64 protoc
26 protoc-artifacts/build-protoc.sh linux s390x protoc
29 DOCKER_IMAGE_NAME=protobuf/protoc_$(sha1sum protoc-artifacts/Dockerfile | cut -f1 -d " ")
33 bash -l /var/local/protobuf/protoc-artifacts/build-protoc.sh \
34 linux x86_64 protoc || {
40 bash -l /var/local/protobuf/protoc-artifacts/build-protoc.sh \
41 linux x86_32 protoc || {
/third_party/protobuf/protoc-artifacts/
DREADME.md1 # Build scripts that publish pre-compiled protoc artifacts
2 ``protoc`` is the compiler for ``.proto`` files. It generates language bindings
5 Because ``protoc`` is a native executable, the scripts under this directory
6 build and publish a ``protoc`` executable (a.k.a. artifact) to Maven
8 would not need to compile and install ``protoc`` for their systems.
10 If you would like us to publish protoc artifact for a new platform, please send
14 * [build-protoc.sh](build-protoc.sh): script to cross-build the protoc for your
21 The published protoc artifacts are available on Maven here:
23 http://central.maven.org/maven2/com/google/protobuf/protoc/
26 The version of the ``protoc`` artifact must be the same as the version of the
[all …]
/third_party/protobuf/java/compatibility_tests/v2.5.0/
Dtest.sh21 OLD_VERSION_PROTOC=https://repo1.maven.org/maven2/com/google/protobuf/protoc/$OLD_VERSION/protoc-$O…
29 [ -f ../../../src/protoc ] || {
50 wget $OLD_VERSION_PROTOC -O protoc
51 chmod +x protoc
61 -Dprotoc.path=$(pwd)/protoc \
62 -Dprotos.protoc.path=$(pwd)/../../../src/protoc \
70 -Dprotoc.path=$(pwd)/protoc \
71 -Dmore_protos.protoc.path=$(pwd)/../../../src/protoc \
86 $MVN clean install -Dmaven.test.skip=true -Dprotoc.path=$(pwd)/protoc -Dprotobuf.version=$OLD_VERSI…
103 $MVN clean package -Dmaven.test.skip=true -Dprotoc.path=$(pwd)/../../../../src/protoc -Dprotobuf.ve…
[all …]
/third_party/protobuf/benchmarks/
DMakefile.am32 protoc_middleman: make_tmp_dir $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs) $(well…
33 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_ou…
36 protoc_middleman2: make_tmp_dir $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs_proto…
37 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_ou…
348 gogo_proto_middleman: protoc-gen-gogoproto
350 …pwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I$(srcdir) -I$(top_srcdir) --plugi…
367 go_no_group_protoc_middleman: make_tmp_dir_gogo $(top_srcdir)/src/protoc$(EXEEXT) gogo_proto_middle…
368 …oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(…
369 …oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(…
370 …oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(…
[all …]
/third_party/protobuf/csharp/
Dbuild_tools.sh10 This script will download pre-built protoc binaries from maven repository and
29 mkdir -p protoc
33 mkdir -p protoc/$DIR_NAME
42 …BINARY_URL=http://repo1.maven.org/maven2/com/google/protobuf/protoc/${VERSION_NUMBER}/protoc-${VER…
44 if ! wget ${BINARY_URL} -O protoc/$DIR_NAME/$TARGET_BINARY &> /dev/null; then
46 echo "[ERROR] Skipped $protoc-${VERSION_NAME}-${DIR_NAME}" >&2
DGoogle.Protobuf.Tools.targets4 …<protoc_linux64>$([System.IO.Path]::GetFullPath('$(protoc_tools)/linux_x64/protoc'))</protoc_linux…
5 …<protoc_linux86>$([System.IO.Path]::GetFullPath('$(protoc_tools)/linux_x86/protoc'))</protoc_linux…
6 …<protoc_macosx64>$([System.IO.Path]::GetFullPath('$(protoc_tools)/macosx_x64/protoc'))</protoc_mac…
7 …<protoc_macosx86>$([System.IO.Path]::GetFullPath('$(protoc_tools)/macosx_x86/protoc'))</protoc_mac…
8 …<protoc_windows64>$([System.IO.Path]::GetFullPath('$(protoc_tools)/windows_x64/protoc.exe'))</prot…
9 …<protoc_windows86>$([System.IO.Path]::GetFullPath('$(protoc_tools)/windows_x86/protoc.exe'))</prot…
/third_party/grpc/tools/codegen/core/
Dgen_upb_api.sh30 $bazel build @com_google_protobuf//:protoc
31 PROTOC=$PWD/bazel-bin/external/com_google_protobuf/protoc
33 $bazel build @upb//:protoc-gen-upb
34 UPB_PLUGIN=$PWD/bazel-bin/external/upb/protoc-gen-upb
122 -I=$PWD/third_party/protoc-gen-validate \
126 --plugin=protoc-gen-upb=$UPB_PLUGIN
/third_party/protobuf/cmake/
Dprotoc.cmake11 add_executable(protoc ${protoc_files} ${protoc_rc_files}) target
12 target_link_libraries(protoc libprotoc libprotobuf)
13 add_executable(protobuf::protoc ALIAS protoc)
15 set_target_properties(protoc PROPERTIES
/third_party/protobuf/js/
Dgulpfile.js9 var protoc = process.env.PROTOC || '../src/protoc'; variable
57 …exec(protoc + ' --js_out=one_output_file_per_input_file,binary:. -I ../src -I . ' + wellKnownTypes…
66 …exec(protoc + ' --js_out=library=testproto_libs1,binary:. -I ../src -I . ' + group1Protos.join(' …
75 …exec(protoc + ' --experimental_allow_proto3_optional --js_out=library=testproto_libs2,binary:. -I…
84 …exec('mkdir -p commonjs_out && ' + protoc + ' --js_out=import_style=commonjs,binary:commonjs_out -…
93 …exec('mkdir -p commonjs_out && ' + protoc + ' --js_out=import_style=commonjs,binary:commonjs_out -…
102 …exec('mkdir -p commonjs_out && ' + protoc + ' --experimental_allow_proto3_optional --js_out=import…
111 …exec('mkdir -p commonjs_out/node_modules/google-protobuf && ' + protoc + ' --js_out=import_style=c…
120 exec(protoc + ' --js_out=import_style=commonjs,binary:. -I ../src ' + wellKnownTypes.join(' '),
128 …exec('mkdir -p commonjs_out && ' + protoc + ' --js_out=import_style=commonjs_strict,binary:commonj…
/third_party/grpc/examples/objective-c/auth_sample/
DAuthTestService.podspec16 # Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
22 # Path where Cocoapods downloads protoc and the gRPC plugin.
24 protoc = "#{protoc_dir}/protoc"
32 #{protoc} \
33 --plugin=protoc-gen-grpc=#{plugin} \
41 # Files generated by protoc
55 # The generated files depend on the gRPC runtime, and on the files generated by protoc.
/third_party/grpc/examples/objective-c/helloworld_macos/
DHelloWorld.podspec16 # Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
22 # Path where Cocoapods downloads protoc and the gRPC plugin.
24 protoc = "#{protoc_dir}/protoc"
32 #{protoc} \
33 --plugin=protoc-gen-grpc=#{plugin} \
41 # Files generated by protoc
55 # The generated files depend on the gRPC runtime, and on the files generated by protoc.
/third_party/grpc/examples/objective-c/route_guide/
DRouteGuide.podspec16 # Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
22 # Path where Cocoapods downloads protoc and the gRPC plugin.
24 protoc = "#{protoc_dir}/protoc"
32 #{protoc} \
33 --plugin=protoc-gen-grpc=#{plugin} \
41 # Files generated by protoc
55 # The generated files depend on the gRPC runtime, and on the files generated by protoc.
/third_party/grpc/examples/objective-c/helloworld/
DHelloWorld.podspec16 # Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
22 # Path where Cocoapods downloads protoc and the gRPC plugin.
24 protoc = "#{protoc_dir}/protoc"
32 #{protoc} \
33 --plugin=protoc-gen-grpc=#{plugin} \
41 # Files generated by protoc
55 # The generated files depend on the gRPC runtime, and on the files generated by protoc.
/third_party/grpc/examples/android/helloworld/app/
Dbuild.gradle14 // The paths to the protoc and grpc_cpp_plugin binaries on the host system (codegen
16 def protoc = project.hasProperty('protoc') ?
17 project.property('protoc') : '/usr/local/bin/protoc'
28 arguments '-Dhelloworld_PROTOBUF_PROTOC_EXECUTABLE=' + protoc
/third_party/grpc/src/android/test/interop/app/
Dbuild.gradle14 // The paths to the protoc and grpc_cpp_plugin binaries on the host system (codegen
16 def protoc = project.hasProperty('protoc') ?
17 project.property('protoc') : '/usr/local/bin/protoc'
28 arguments '-DPROTOBUF_PROTOC_EXECUTABLE=' + protoc
/third_party/protobuf/js/compatibility_tests/v3.0.0/
Dtest.sh6 OLD_PROTOC_URL=https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0/protoc-3.0.0-linux-x…
7 if [ ! -f protoc ]; then
8 wget $OLD_PROTOC_URL -O protoc
9 chmod +x protoc
16 old_protoc=./protoc
17 new_protoc=../../../src/protoc
/third_party/grpc/examples/node/static_codegen/
DREADME.md1protoc and the Node gRPC protoc plugin, and the generated code can be found in various `*_pb.js` f…
6 …inary:../node/static_codegen/ --grpc_out=../node/static_codegen --plugin=protoc-gen-grpc=`which gr…
7 …gen/route_guide/ --grpc_out=../node/static_codegen/route_guide/ --plugin=protoc-gen-grpc=`which gr…
/third_party/grpc/cmake/
Dprotobuf.cmake40 if(TARGET protoc)
41 set(_gRPC_PROTOBUF_PROTOC protoc)
43 find_program(_gRPC_PROTOBUF_PROTOC_EXECUTABLE protoc)
45 set(_gRPC_PROTOBUF_PROTOC_EXECUTABLE $<TARGET_FILE:protoc>)
78 if(TARGET protobuf::protoc)
79 set(_gRPC_PROTOBUF_PROTOC protobuf::protoc)
81 find_program(_gRPC_PROTOBUF_PROTOC_EXECUTABLE protoc)
83 set(_gRPC_PROTOBUF_PROTOC_EXECUTABLE $<TARGET_FILE:protobuf::protoc>)
88 find_program(_gRPC_PROTOBUF_PROTOC_EXECUTABLE protoc)
/third_party/protobuf/python/compatibility_tests/v2.5.0/
Dtest.sh18 OLD_VERSION_PROTOC=https://repo1.maven.org/maven2/com/google/protobuf/protoc/$OLD_VERSION/protoc-$O…
26 [ -f ../../../src/protoc ] || {
59 cp ../../../src/protoc protoc_1
68 cp ../../../src/protoc protoc_2
/third_party/grpc/src/objective-c/examples/RemoteTestClient/
DRemoteTest.podspec15 # Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
21 protoc = "#{bazel_exec_root}/external/com_google_protobuf/protoc"
31 #{protoc} \
32 --plugin=protoc-gen-grpc=#{plugin} \
42 #{protoc} \
43 --plugin=protoc-gen-grpc=#{plugin} \
/third_party/mindspore/cmake/external_libs/
Dprotobuf.cmake50 EXE protoc
84 COMMAND protobuf::protoc -I${file_dir} --cpp_out=${path} ${abs_file}
85 DEPENDS protobuf::protoc ${abs_file}
125 … COMMAND protobuf::protoc -I${file_dir} --cpp_out=${CMAKE_BINARY_DIR}/proto ${abs_file}
126 … COMMAND protobuf::protoc -I${file_dir} --python_out=${CMAKE_BINARY_DIR}/proto ${abs_file}
127 … COMMAND protobuf::protoc -I${file_dir} --python_out=${CMAKE_BINARY_DIR}/proto ${abs_file}
132 DEPENDS protobuf::protoc ${abs_file}
141 … COMMAND protobuf::protoc -I${file_dir} --cpp_out=${CMAKE_BINARY_DIR}/proto ${abs_file}
142 … COMMAND protobuf::protoc -I${file_dir} --python_out=${CMAKE_BINARY_DIR}/proto ${abs_file}
143 … COMMAND protobuf::protoc -I${file_dir} --python_out=${CMAKE_BINARY_DIR}/proto ${abs_file}
[all …]
/third_party/protobuf/python/
Dsetup.py24 protoc = os.environ['PROTOC'] variable
26 protoc = "../src/protoc" variable
28 protoc = "../src/protoc.exe" variable
30 protoc = "../vsprojects/Debug/protoc.exe" variable
32 protoc = "../vsprojects/Release/protoc.exe" variable
34 protoc = find_executable("protoc") variable
68 if protoc is None:
74 protoc_command = [ protoc, "-I../src", "-I.", "--python_out=.", source ]
/third_party/protobuf/kokoro/docs/
Dpublish-python.sh17 wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.2/protoc-3.11.2-linux-x86_…
18 unzip protoc-3.11.2-linux-x86_64.zip bin/protoc
19 mv bin/protoc ../src/protoc
/third_party/grpc/src/ruby/pb/
DREADME.md10 The code is generated using the protoc (> 3.0.0.alpha.1) and the
23 $ protoc -I ../../proto ../../proto/grpc/health/v1/health.proto \
26 --plugin=protoc-gen-grpc=`which grpc_ruby_plugin`
38 $ protoc -I../../.. ../../../test/proto/{messages,test,empty}.proto \
41 --plugin=protoc-gen-grpc=`which grpc_ruby_plugin`

1234567891011