Functions | Variables
make_grpcio_tools Namespace Reference

Functions

def bazel_query (query)
 
def get_deps ()
 
def long_path (path)
 
def main ()
 
def protobuf_submodule_commit_hash ()
 

Variables

 BAZEL_DEPS
 
string BAZEL_DEPS_COMMON_PROTOS_QUERY = '//:well_known_protos'
 
string BAZEL_DEPS_PROTOC_LIB_QUERY = '//:protoc_lib'
 
string COMMIT_HASH_PREFIX = 'PROTOBUF_SUBMODULE_VERSION="'
 
string COMMIT_HASH_SUFFIX = '"'
 
string DEPS_FILE_CONTENT
 
 GRPC_INCLUDE = os.path.join(GRPC_ROOT, 'include')
 
 GRPC_PROTOBUF = os.path.join(GRPC_ROOT, GRPC_PYTHON_PROTOBUF_RELATIVE_ROOT)
 
 GRPC_PROTOBUF_SUBMODULE_ROOT
 
 GRPC_PROTOC_PLUGINS = os.path.join(GRPC_ROOT, 'src', 'compiler')
 
 GRPC_PYTHON_INCLUDE = os.path.join(GRPC_PYTHON_ROOT, 'grpc_root', 'include')
 
 GRPC_PYTHON_PROTOBUF
 
 GRPC_PYTHON_PROTOBUF_RELATIVE_ROOT
 
 GRPC_PYTHON_PROTOC_LIB_DEPS
 
 GRPC_PYTHON_PROTOC_PLUGINS
 
 GRPC_PYTHON_ROOT
 
 GRPC_ROOT
 
string PROTOBUF_CC_PREFIX = '//:src/'
 
string PROTOBUF_PROTO_PREFIX = '//:src/'
 

Function Documentation

◆ bazel_query()

def make_grpcio_tools.bazel_query (   query)

Definition at line 100 of file make_grpcio_tools.py.

◆ get_deps()

def make_grpcio_tools.get_deps ( )
Write the result of the bazel query `query` against protobuf to
 `out_file`.

Definition at line 106 of file make_grpcio_tools.py.

◆ long_path()

def make_grpcio_tools.long_path (   path)

Definition at line 131 of file make_grpcio_tools.py.

◆ main()

def make_grpcio_tools.main ( )

Definition at line 138 of file make_grpcio_tools.py.

◆ protobuf_submodule_commit_hash()

def make_grpcio_tools.protobuf_submodule_commit_hash ( )
Gets the commit hash for the HEAD of the protobuf submodule currently
 checked out.

Definition at line 90 of file make_grpcio_tools.py.

Variable Documentation

◆ BAZEL_DEPS

make_grpcio_tools.BAZEL_DEPS
Initial value:
1 = os.path.join(GRPC_ROOT, 'tools', 'distrib', 'python',
2  'bazel_deps.sh')

Definition at line 84 of file make_grpcio_tools.py.

◆ BAZEL_DEPS_COMMON_PROTOS_QUERY

string make_grpcio_tools.BAZEL_DEPS_COMMON_PROTOS_QUERY = '//:well_known_protos'

Definition at line 87 of file make_grpcio_tools.py.

◆ BAZEL_DEPS_PROTOC_LIB_QUERY

string make_grpcio_tools.BAZEL_DEPS_PROTOC_LIB_QUERY = '//:protoc_lib'

Definition at line 86 of file make_grpcio_tools.py.

◆ COMMIT_HASH_PREFIX

string make_grpcio_tools.COMMIT_HASH_PREFIX = 'PROTOBUF_SUBMODULE_VERSION="'

Definition at line 55 of file make_grpcio_tools.py.

◆ COMMIT_HASH_SUFFIX

string make_grpcio_tools.COMMIT_HASH_SUFFIX = '"'

Definition at line 56 of file make_grpcio_tools.py.

◆ DEPS_FILE_CONTENT

string make_grpcio_tools.DEPS_FILE_CONTENT
Initial value:
1 = """
2 # Copyright 2017 gRPC authors.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 
16 # AUTO-GENERATED BY make_grpcio_tools.py!
17 CC_FILES={cc_files}
18 PROTO_FILES={proto_files}
19 
20 CC_INCLUDE={cc_include}
21 PROTO_INCLUDE={proto_include}
22 
23 {commit_hash}
24 """

Definition at line 30 of file make_grpcio_tools.py.

◆ GRPC_INCLUDE

make_grpcio_tools.GRPC_INCLUDE = os.path.join(GRPC_ROOT, 'include')

Definition at line 81 of file make_grpcio_tools.py.

◆ GRPC_PROTOBUF

make_grpcio_tools.GRPC_PROTOBUF = os.path.join(GRPC_ROOT, GRPC_PYTHON_PROTOBUF_RELATIVE_ROOT)

Definition at line 70 of file make_grpcio_tools.py.

◆ GRPC_PROTOBUF_SUBMODULE_ROOT

make_grpcio_tools.GRPC_PROTOBUF_SUBMODULE_ROOT
Initial value:
1 = os.path.join(GRPC_ROOT, 'third_party',
2  'protobuf')

Definition at line 71 of file make_grpcio_tools.py.

◆ GRPC_PROTOC_PLUGINS

make_grpcio_tools.GRPC_PROTOC_PLUGINS = os.path.join(GRPC_ROOT, 'src', 'compiler')

Definition at line 73 of file make_grpcio_tools.py.

◆ GRPC_PYTHON_INCLUDE

make_grpcio_tools.GRPC_PYTHON_INCLUDE = os.path.join(GRPC_PYTHON_ROOT, 'grpc_root', 'include')

Definition at line 82 of file make_grpcio_tools.py.

◆ GRPC_PYTHON_PROTOBUF

make_grpcio_tools.GRPC_PYTHON_PROTOBUF
Initial value:
1 = os.path.join(GRPC_PYTHON_ROOT, 'third_party', 'protobuf',
2  'src')

Definition at line 74 of file make_grpcio_tools.py.

◆ GRPC_PYTHON_PROTOBUF_RELATIVE_ROOT

make_grpcio_tools.GRPC_PYTHON_PROTOBUF_RELATIVE_ROOT
Initial value:
1 = os.path.join('third_party', 'protobuf',
2  'src')

Definition at line 68 of file make_grpcio_tools.py.

◆ GRPC_PYTHON_PROTOC_LIB_DEPS

make_grpcio_tools.GRPC_PYTHON_PROTOC_LIB_DEPS
Initial value:
1 = os.path.join(GRPC_PYTHON_ROOT,
2  'protoc_lib_deps.py')

Definition at line 78 of file make_grpcio_tools.py.

◆ GRPC_PYTHON_PROTOC_PLUGINS

make_grpcio_tools.GRPC_PYTHON_PROTOC_PLUGINS
Initial value:
1 = os.path.join(GRPC_PYTHON_ROOT, 'grpc_root', 'src',
2  'compiler')

Definition at line 76 of file make_grpcio_tools.py.

◆ GRPC_PYTHON_ROOT

make_grpcio_tools.GRPC_PYTHON_ROOT
Initial value:
1 = os.path.join(GRPC_ROOT, 'tools', 'distrib', 'python',
2  'grpcio_tools')

Definition at line 65 of file make_grpcio_tools.py.

◆ GRPC_ROOT

make_grpcio_tools.GRPC_ROOT
Initial value:
1 = os.path.abspath(
2  os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', '..'))

Definition at line 62 of file make_grpcio_tools.py.

◆ PROTOBUF_CC_PREFIX

string make_grpcio_tools.PROTOBUF_CC_PREFIX = '//:src/'

Definition at line 59 of file make_grpcio_tools.py.

◆ PROTOBUF_PROTO_PREFIX

string make_grpcio_tools.PROTOBUF_PROTO_PREFIX = '//:src/'

Definition at line 60 of file make_grpcio_tools.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:41