1*cc02d7e2SAndroid Build Coastguard Worker# Copyright 2022 The gRPC Authors 2*cc02d7e2SAndroid Build Coastguard Worker# 3*cc02d7e2SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 4*cc02d7e2SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 5*cc02d7e2SAndroid Build Coastguard Worker# You may obtain a copy of the License at 6*cc02d7e2SAndroid Build Coastguard Worker# 7*cc02d7e2SAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 8*cc02d7e2SAndroid Build Coastguard Worker# 9*cc02d7e2SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 10*cc02d7e2SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 11*cc02d7e2SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*cc02d7e2SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 13*cc02d7e2SAndroid Build Coastguard Worker# limitations under the License. 14*cc02d7e2SAndroid Build Coastguard Worker 15*cc02d7e2SAndroid Build Coastguard Worker# Regenerates all generated files in the Python examples directory. 16*cc02d7e2SAndroid Build Coastguard Worker 17*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS= 18*cc02d7e2SAndroid Build Coastguard Worker 19*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += helloworld/helloworld_pb2.py 20*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += helloworld/helloworld_pb2_grpc.py 21*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += helloworld/helloworld_pb2.pyi 22*cc02d7e2SAndroid Build Coastguard Worker 23*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += timeout/helloworld_pb2.py 24*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += timeout/helloworld_pb2_grpc.py 25*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += timeout/helloworld_pb2.pyi 26*cc02d7e2SAndroid Build Coastguard Worker 27*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += keep_alive/helloworld_pb2.py 28*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += keep_alive/helloworld_pb2_grpc.py 29*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += keep_alive/helloworld_pb2.pyi 30*cc02d7e2SAndroid Build Coastguard Worker 31*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += health_checking/helloworld_pb2.py 32*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += health_checking/helloworld_pb2_grpc.py 33*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += health_checking/helloworld_pb2.pyi 34*cc02d7e2SAndroid Build Coastguard Worker 35*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += async_streaming/phone_pb2.py 36*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += async_streaming/phone_pb2_grpc.py 37*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += async_streaming/phone_pb2.pyi 38*cc02d7e2SAndroid Build Coastguard Worker 39*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += hellostreamingworld/hellostreamingworld_pb2.py 40*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += hellostreamingworld/hellostreamingworld_pb2_grpc.py 41*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += hellostreamingworld/hellostreamingworld_pb2.pyi 42*cc02d7e2SAndroid Build Coastguard Worker 43*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += uds/helloworld_pb2.py 44*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += uds/helloworld_pb2_grpc.py 45*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += uds/helloworld_pb2.pyi 46*cc02d7e2SAndroid Build Coastguard Worker 47*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += xds/helloworld_pb2.py 48*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += xds/helloworld_pb2_grpc.py 49*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += xds/helloworld_pb2.pyi 50*cc02d7e2SAndroid Build Coastguard Worker 51*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += multiplex/helloworld_pb2.py 52*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += multiplex/helloworld_pb2_grpc.py 53*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += multiplex/helloworld_pb2.pyi 54*cc02d7e2SAndroid Build Coastguard Worker 55*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += multiplex/route_guide_pb2.py 56*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += multiplex/route_guide_pb2_grpc.py 57*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += multiplex/route_guide_pb2.pyi 58*cc02d7e2SAndroid Build Coastguard Worker 59*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += route_guide/route_guide_pb2.py 60*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += route_guide/route_guide_pb2_grpc.py 61*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += route_guide/route_guide_pb2.pyi 62*cc02d7e2SAndroid Build Coastguard Worker 63*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += interceptors/default_value/helloworld_pb2.py 64*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += interceptors/default_value/helloworld_pb2_grpc.py 65*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += interceptors/default_value/helloworld_pb2.pyi 66*cc02d7e2SAndroid Build Coastguard Worker 67*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += interceptors/headers/helloworld_pb2.py 68*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += interceptors/headers/helloworld_pb2_grpc.py 69*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += interceptors/headers/helloworld_pb2.pyi 70*cc02d7e2SAndroid Build Coastguard Worker 71*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += metadata/helloworld_pb2.py 72*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += metadata/helloworld_pb2_grpc.py 73*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += metadata/helloworld_pb2.pyi 74*cc02d7e2SAndroid Build Coastguard Worker 75*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += data_transmission/demo_pb2.py 76*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += data_transmission/demo_pb2_grpc.py 77*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += data_transmission/demo_pb2.pyi 78*cc02d7e2SAndroid Build Coastguard Worker 79*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += lb_policies/helloworld_pb2.py 80*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += lb_policies/helloworld_pb2_grpc.py 81*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += lb_policies/helloworld_pb2.pyi 82*cc02d7e2SAndroid Build Coastguard Worker 83*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += compression/helloworld_pb2.py 84*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += compression/helloworld_pb2_grpc.py 85*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += compression/helloworld_pb2.pyi 86*cc02d7e2SAndroid Build Coastguard Worker 87*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += observability/helloworld_pb2.py 88*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += observability/helloworld_pb2_grpc.py 89*cc02d7e2SAndroid Build Coastguard WorkerARTIFACTS += observability/helloworld_pb2.pyi 90*cc02d7e2SAndroid Build Coastguard Worker 91*cc02d7e2SAndroid Build Coastguard Worker.PHONY: all 92*cc02d7e2SAndroid Build Coastguard Workerall: ${ARTIFACTS} 93*cc02d7e2SAndroid Build Coastguard Worker 94*cc02d7e2SAndroid Build Coastguard Workerhelloworld/helloworld_pb2.py helloworld/helloworld_pb2_grpc.py helloworld/helloworld_pb2.pyi: ../protos/helloworld.proto 95*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=helloworld --grpc_python_out=helloworld --pyi_out=helloworld -I ../protos ../protos/helloworld.proto 96*cc02d7e2SAndroid Build Coastguard Worker 97*cc02d7e2SAndroid Build Coastguard Workertimeout/helloworld_pb2.py timeout/helloworld_pb2_grpc.py timeout/helloworld_pb2.pyi: ../protos/helloworld.proto 98*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=timeout --grpc_python_out=timeout --pyi_out=timeout -I ../protos ../protos/helloworld.proto 99*cc02d7e2SAndroid Build Coastguard Worker 100*cc02d7e2SAndroid Build Coastguard Workerkeep_alive/helloworld_pb2.py keep_alive/helloworld_pb2_grpc.py keep_alive/helloworld_pb2.pyi: ../protos/helloworld.proto 101*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=keep_alive --grpc_python_out=keep_alive --pyi_out=keep_alive -I ../protos ../protos/helloworld.proto 102*cc02d7e2SAndroid Build Coastguard Worker 103*cc02d7e2SAndroid Build Coastguard Workerhealth_checking/helloworld_pb2.py health_checking/helloworld_pb2_grpc.py health_checking/helloworld_pb2.pyi: ../protos/helloworld.proto 104*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=health_checking --grpc_python_out=health_checking --pyi_out=health_checking -I ../protos ../protos/helloworld.proto 105*cc02d7e2SAndroid Build Coastguard Worker 106*cc02d7e2SAndroid Build Coastguard Workerasync_streaming/phone_pb2.py async_streaming/phone_pb2_grpc.py async_streaming/phone_pb2.pyi: async_streaming/phone.proto 107*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=async_streaming --grpc_python_out=async_streaming --pyi_out=async_streaming -I async_streaming async_streaming/phone.proto 108*cc02d7e2SAndroid Build Coastguard Worker 109*cc02d7e2SAndroid Build Coastguard Workerhellostreamingworld/hellostreamingworld_pb2.py hellostreamingworld/hellostreamingworld_pb2_grpc.py hellostreamingworld/hellostreamingworld_pb2.pyi: ../protos/hellostreamingworld.proto 110*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=hellostreamingworld --grpc_python_out=hellostreamingworld --pyi_out=hellostreamingworld -I ../protos ../protos/hellostreamingworld.proto 111*cc02d7e2SAndroid Build Coastguard Worker 112*cc02d7e2SAndroid Build Coastguard Workeruds/helloworld_pb2.py uds/helloworld_pb2_grpc.py uds/helloworld_pb2.pyi: ../protos/helloworld.proto 113*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=uds --grpc_python_out=uds --pyi_out=uds -I ../protos ../protos/helloworld.proto 114*cc02d7e2SAndroid Build Coastguard Worker 115*cc02d7e2SAndroid Build Coastguard Workerxds/helloworld_pb2.py xds/helloworld_pb2_grpc.py xds/helloworld_pb2.pyi: ../protos/helloworld.proto 116*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=xds --grpc_python_out=xds --pyi_out=xds -I ../protos ../protos/helloworld.proto 117*cc02d7e2SAndroid Build Coastguard Worker 118*cc02d7e2SAndroid Build Coastguard Workermultiplex/helloworld_pb2.py multiplex/helloworld_pb2_grpc.py multiplex/helloworld_pb2.pyi: ../protos/helloworld.proto 119*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=multiplex --grpc_python_out=multiplex --pyi_out=multiplex -I ../protos ../protos/helloworld.proto 120*cc02d7e2SAndroid Build Coastguard Worker 121*cc02d7e2SAndroid Build Coastguard Workermultiplex/route_guide_pb2.py multiplex/route_guide_pb2_grpc.py multiplex/route_guide_pb2.pyi: ../protos/route_guide.proto 122*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=multiplex --grpc_python_out=multiplex --pyi_out=multiplex -I ../protos ../protos/route_guide.proto 123*cc02d7e2SAndroid Build Coastguard Worker 124*cc02d7e2SAndroid Build Coastguard Workerroute_guide/route_guide_pb2.py route_guide/route_guide_pb2_grpc.py route_guide/route_guide_pb2.pyi: ../protos/route_guide.proto 125*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=route_guide --grpc_python_out=route_guide --pyi_out=route_guide -I ../protos ../protos/route_guide.proto 126*cc02d7e2SAndroid Build Coastguard Worker 127*cc02d7e2SAndroid Build Coastguard Worker 128*cc02d7e2SAndroid Build Coastguard Workerinterceptors/default_value/helloworld_pb2.py interceptors/default_value/helloworld_pb2_grpc.py interceptors/default_value/helloworld_pb2.pyi: ../protos/helloworld.proto 129*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=interceptors/default_value --grpc_python_out=interceptors/default_value --pyi_out=interceptors/default_value -I ../protos ../protos/helloworld.proto 130*cc02d7e2SAndroid Build Coastguard Worker 131*cc02d7e2SAndroid Build Coastguard Workerinterceptors/headers/helloworld_pb2.py interceptors/headers/helloworld_pb2_grpc.py interceptors/headers/helloworld_pb2.pyi: ../protos/helloworld.proto 132*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=interceptors/headers --grpc_python_out=interceptors/headers --pyi_out=interceptors/headers -I ../protos ../protos/helloworld.proto 133*cc02d7e2SAndroid Build Coastguard Worker 134*cc02d7e2SAndroid Build Coastguard Workermetadata/helloworld_pb2.py metadata/helloworld_pb2_grpc.py metadata/helloworld_pb2.pyi: ../protos/helloworld.proto 135*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=metadata --grpc_python_out=metadata --pyi_out=metadata -I ../protos ../protos/helloworld.proto 136*cc02d7e2SAndroid Build Coastguard Worker 137*cc02d7e2SAndroid Build Coastguard Workerdata_transmission/demo_pb2.py data_transmission/demo_pb2_grpc.py data_transmission/demo_pb2.pyi: data_transmission/demo.proto 138*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=data_transmission --grpc_python_out=data_transmission --pyi_out=data_transmission -I data_transmission data_transmission/demo.proto 139*cc02d7e2SAndroid Build Coastguard Worker 140*cc02d7e2SAndroid Build Coastguard Workerlb_policies/helloworld_pb2.py lb_policies/helloworld_pb2_grpc.py lb_policies/helloworld_pb2.pyi: ../protos/helloworld.proto 141*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=lb_policies --grpc_python_out=lb_policies --pyi_out=lb_policies -I ../protos ../protos/helloworld.proto 142*cc02d7e2SAndroid Build Coastguard Worker 143*cc02d7e2SAndroid Build Coastguard Workercompression/helloworld_pb2.py compression/helloworld_pb2_grpc.py compression/helloworld_pb2.pyi: ../protos/helloworld.proto 144*cc02d7e2SAndroid Build Coastguard Worker python3 -m grpc_tools.protoc --python_out=compression --grpc_python_out=compression --pyi_out=compression -I ../protos ../protos/helloworld.proto 145*cc02d7e2SAndroid Build Coastguard Worker 146*cc02d7e2SAndroid Build Coastguard Worker.PHONY: clean 147*cc02d7e2SAndroid Build Coastguard Workerclean: 148*cc02d7e2SAndroid Build Coastguard Worker rm -f ${ARTIFACTS} 149