HomeSort by relevance Sort by last modified time
    Searched full:protoc (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /external/nanopb-c/generator/
protoc-gen-nanopb 4 # to protoc on Linux and other *nix-style systems.
6 # protoc --plugin=nanopb=..../protoc-gen-nanopb --nanopb_out=dir foo.proto
8 # Note that if you use the binary package of nanopb, the protoc
13 exec python "$MYPATH/nanopb_generator.py" --protoc-plugin
protoc-gen-nanopb.bat 3 :: to protoc on Windows.
5 :: protoc --plugin=nanopb=..../protoc-gen-nanopb.bat --nanopb_out=dir foo.proto
7 :: Note that if you use the binary package of nanopb, the protoc
12 python "%mydir%\nanopb_generator.py" --protoc-plugin
  /external/nanopb-c/tools/
make_linux_package.sh 21 # Make the nanopb generator available as a protoc plugin
22 cp $DEST/generator/nanopb_generator.py $DEST/generator/protoc-gen-nanopb.py
25 ( cd $DEST/generator; bbfreeze nanopb_generator.py protoc-gen-nanopb.py )
29 rm $DEST/generator/protoc-gen-nanopb.py
31 # Package the protoc compiler
32 cp `which protoc` $DEST/generator-bin/protoc.bin
33 LIBPROTOC=$(ldd `which protoc` | grep -o '/.*libprotoc[^ ]*')
35 cat > $DEST/generator-bin/protoc << EOF
40 exec "\$SCRIPTDIR/protoc.bin" "\$@
    [all...]
make_mac_package.sh 30 # Make the nanopb generator available as a protoc plugin
31 cp $DEST/generator-bin/nanopb_generator $DEST/generator-bin/protoc-gen-nanopb
33 # Package the protoc compiler
34 cp `which protoc` $DEST/generator-bin/protoc.bin
35 LIBPROTOC=$(otool -L `which protoc` | grep -o '/.*libprotoc[^ ]*')
36 LIBPROTOBUF=$(otool -L `which protoc` | grep -o '/.*libprotobuf[^ ]*')
38 cat > $DEST/generator-bin/protoc << EOF
43 exec "\$SCRIPTDIR/protoc.bin" "\$@"
45 chmod +x $DEST/generator-bin/protoc
    [all...]
make_windows_package.sh 22 # Make the nanopb generator available as a protoc plugin
23 cp $DEST/generator/nanopb_generator.py $DEST/generator/protoc-gen-nanopb.py
26 ( cd $DEST/generator; bbfreeze nanopb_generator.py protoc-gen-nanopb.py )
30 rm $DEST/generator/protoc-gen-nanopb.py
44 # Package the protoc compiler
45 cp `which protoc.exe` $DEST/generator-bin/
  /external/nanopb-c/extra/
nanopb.mk 22 PROTOC = $(NANOPB_DIR)/generator-bin/protoc
26 PROTOC = protoc
28 PROTOC_OPTS = --plugin=protoc-gen-nanopb=$(NANOPB_DIR)/generator/protoc-gen-nanopb.bat
30 PROTOC_OPTS = --plugin=protoc-gen-nanopb=$(NANOPB_DIR)/generator/protoc-gen-nanopb
36 $(PROTOC) $(PROTOC_OPTS) --nanopb_out=. $<
  /external/nanopb-c/tests/site_scons/site_tools/
nanopb.py 24 Additionally, the path to protoc and the options to give to protoc can be
27 env.SetDefault(PROTOC = "path/to/protoc")
28 env.SetDefault(PROTOCFLAGS = "--plugin=protoc-gen-nanopb=path/to/protoc-gen-nanopb")
55 '''Find the path to the protoc compiler.'''
56 if env.has_key('PROTOC'):
57 # Use protoc defined by user
58 return env['PROTOC']
    [all...]
  /external/google-breakpad/src/processor/proto/
README 2 using protoc from the protobuf project (http://code.google.com/p/protobuf/).
12 Running protoc:
13 protoc: error while loading shared libraries: libprotobuf.so.0: cannot open
  /external/protobuf/src/google/protobuf/compiler/
plugin.h 33 // Front-end for protoc code generator plugins written in C++.
35 // To implement a protoc plugin in C++, simply write an implementation of
43 // To get protoc to use the plugin, do one of the following:
45 // "protoc-gen-NAME" (replacing "NAME" with the name of your plugin). If you
46 // then invoke protoc with the parameter --NAME_out=OUT_DIR (again, replace
47 // "NAME" with your plugin's name), protoc will invoke your plugin to generate
50 // parameter to protoc to direct it to your plugin like so:
51 // protoc --plugin=protoc-gen-NAME=path/to/mybinary --NAME_out=OUT_DIR
53 // protoc --plugin=protoc-gen-NAME=path/to/mybinary.exe --NAME_out=OUT_DI
    [all...]
zip_output_unittest.sh 35 # Test protoc's zip output mode.
43 PROTOC=./protoc
54 $PROTOC \
57 || fail 'protoc failed.'
plugin.proto 36 // protoc (aka the Protocol Compiler) can be extended via plugins. A plugin is
44 // plugin should be named "protoc-gen-$NAME", and will then be used when the
45 // flag "--${NAME}_out" is passed to protoc.
67 // protoc guarantees that all proto_files will be written after
72 // is not similarly optimized on protoc's end -- it will store all fields in
84 // problem in protoc itself -- such as the input CodeGeneratorRequest being
98 // and allows the generated text to be streamed back to protoc so that large
100 // this writing protoc does not optimize for this -- it will read the entire
136 // inserts into it must both run as part of a single invocation of protoc.
  /external/protobuf/python/
setup.py 29 if 'PROTOC' in os.environ and os.path.exists(os.environ['PROTOC']):
30 protoc = os.environ['PROTOC'] variable
31 elif os.path.exists("../src/protoc"):
32 protoc = "../src/protoc" variable
33 elif os.path.exists("../src/protoc.exe"):
34 protoc = "../src/protoc.exe variable
36 protoc = "..\/vsprojects\/Debug\/protoc.exe" variable
38 protoc = "..\/vsprojects\/Release\/protoc.exe" variable
40 protoc = find_executable("protoc") variable
    [all...]
  /external/protobuf/
generate_descriptor_proto.sh 10 # to make when building protoc. This is particularly useful for passing
30 make $@ protoc &&
31 ./protoc --cpp_out=dllexport_decl=LIBPROTOBUF_EXPORT:. google/protobuf/descriptor.proto && \
32 ./protoc --cpp_out=dllexport_decl=LIBPROTOC_EXPORT:. google/protobuf/compiler/plugin.proto
configure.ac 39 AC_ARG_WITH([protoc],
40 [AS_HELP_STRING([--with-protoc=COMMAND],
41 [use the given protoc command instead of building a new one when building tests (useful for cross-compiling)])],
121 PROTOC=$with_protoc
123 # No argument given. Use system protoc.
124 PROTOC=protoc
126 AS_IF([echo "$PROTOC" | grep -q '^@<:@^/@:>@.*/'], [
131 # is a nested package and --with-protoc was actually given on the outer
133 PROTOC=`pwd`/${ac_top_build_prefix}$PROTO
    [all...]
README.md 24 Buffer compiler (protoc) execute the following:
91 The makefiles normally invoke the protoc executable that they just
92 built in order to build tests. When cross-compiling, the protoc
94 you must build a copy of protoc for the host machine first, then use
95 the --with-protoc option to tell configure to use it instead. For
98 ./configure --with-protoc=protoc
100 This will use the installed protoc (found in your $PATH) instead of
106 ./configure --with-protoc=../host/src/protoc
    [all...]
  /external/nanopb-c/
README.txt 14 1) Compile your .proto files for nanopb, using protoc.
24 Using the Protocol Buffers compiler (protoc)
26 The nanopb generator is implemented as a plugin for the Google's own protoc
32 Mac OS X version), the 'protoc' binary is included in the 'generator-bin'
35 generator-bin/protoc --nanopb_out=. myprotocol.proto
38 need to provide your own version of protoc and the Google's protobuf library.
42 protoc, you need to manually give the path to nanopb generator:
44 protoc --plugin=protoc-gen-nanopb=nanopb/generator/protoc-gen-nanopb ..
    [all...]
  /external/google-tv-pairing-protocol/cpp/
configure.ac 42 AC_PATH_PROG(PROTOC, protoc,
43 [AC_MSG_ERROR([protoc was not found in your path])])
  /external/nanopb-c/tests/alltypes/
SConscript 14 # Re-encode the data using protoc, and check that the results from nanopb
15 # match byte-per-byte to the protoc output.
  /external/nanopb-c/generator/proto/
plugin.proto 36 // protoc (aka the Protocol Compiler) can be extended via plugins. A plugin is
44 // plugin should be named "protoc-gen-$NAME", and will then be used when the
45 // flag "--${NAME}_out" is passed to protoc.
65 // protoc guarantees that all proto_files will be written after
70 // is not similarly optimized on protoc's end -- it will store all fields in
82 // problem in protoc itself -- such as the input CodeGeneratorRequest being
96 // and allows the generated text to be streamed back to protoc so that large
98 // this writing protoc does not optimize for this -- it will read the entire
134 // inserts into it must both run as part of a single invocation of protoc.
  /external/nanopb-c/examples/simple/
Makefile 20 $(PROTOC) $(PROTOC_OPTS) --nanopb_out=. simple.proto
  /external/nanopb-c/tests/site_scons/
site_init.py 46 # Build command that decodes a message using protoc
50 return '$PROTOC $PROTOCFLAGS %s --decode=%s %s <%s >%s' % (
57 # Build command that encodes a message using protoc
61 return '$PROTOC $PROTOCFLAGS %s --encode=%s %s <%s >%s' % (
  /external/protobuf/vsprojects/
lite-test.vcproj 239 CommandLine="Debug\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_lite.proto&#x0D;&#x0A;"
249 CommandLine="Release\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_lite.proto&#x0D;&#x0A;"
263 CommandLine="Debug\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_import_lite.proto&#x0D;&#x0A;"
273 CommandLine="Release\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_import_lite.proto&#x0D;&#x0A;"
287 CommandLine="Debug\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_import_public_lite.proto&#x0D;&#x0A;"
297 CommandLine="Release\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_import_public_lite.proto&#x0D;&#x0A;"
tests.vcproj 447 CommandLine="Debug\protoc -I../src --cpp_out=. ../src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto&#x0D;&#x0A;"
457 CommandLine="Release\protoc -I../src --cpp_out=. ../src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto&#x0D;&#x0A;"
471 CommandLine="Debug\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest.proto&#x0D;&#x0A;"
481 CommandLine="Release\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest.proto&#x0D;&#x0A;"
495 CommandLine="Debug\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_custom_options.proto&#x0D;&#x0A;"
505 CommandLine="Release\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_custom_options.proto&#x0D;&#x0A;"
519 CommandLine="Debug\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_embed_optimize_for.proto&#x0D;&#x0A;"
529 CommandLine="Release\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_embed_optimize_for.proto&#x0D;&#x0A;"
543 CommandLine="Debug\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_import.proto&#x0D;&#x0A;"
553 CommandLine="Release\protoc -I../src --cpp_out=. ../src/google/protobuf/unittest_import.proto&#x0D;&#x0A;
    [all...]
  /external/protobuf/java/
pom.xml 81 <exec executable="../src/protoc">
99 <exec executable="../src/protoc">
135 <exec executable="../src/protoc">
149 <exec executable="../src/protoc">
168 <exec executable="../src/protoc">
174 <exec executable="../src/protoc">
180 <exec executable="../src/protoc">
186 <exec executable="../src/protoc">
192 <exec executable="../src/protoc">
198 <exec executable="../src/protoc">
    [all...]
  /external/protobuf/src/google/protobuf/
SEBS 66 name = "protoc",
116 protoc = _cpp.Binary(
117 name = "protoc",
135 protoc.expand_once()
137 # We must build protoc for the host configuration to allow cross-compiling.
138 host_protoc = self.context.configured_artifact(protoc.binary, "host")

Completed in 978 milliseconds

1 2 3 4