xref: /aosp_15_r20/external/grpc-grpc/src/csharp/Grpc.Tools.Tests/scripts/fakeprotoc.bat (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1*cc02d7e2SAndroid Build Coastguard Worker@rem Copyright 2022 The gRPC Authors
2*cc02d7e2SAndroid Build Coastguard Worker@rem
3*cc02d7e2SAndroid Build Coastguard Worker@rem Licensed under the Apache License, Version 2.0 (the "License");
4*cc02d7e2SAndroid Build Coastguard Worker@rem you may not use this file except in compliance with the License.
5*cc02d7e2SAndroid Build Coastguard Worker@rem You may obtain a copy of the License at
6*cc02d7e2SAndroid Build Coastguard Worker@rem
7*cc02d7e2SAndroid Build Coastguard Worker@rem     http://www.apache.org/licenses/LICENSE-2.0
8*cc02d7e2SAndroid Build Coastguard Worker@rem
9*cc02d7e2SAndroid Build Coastguard Worker@rem Unless required by applicable law or agreed to in writing, software
10*cc02d7e2SAndroid Build Coastguard Worker@rem distributed under the License is distributed on an "AS IS" BASIS,
11*cc02d7e2SAndroid Build Coastguard Worker@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*cc02d7e2SAndroid Build Coastguard Worker@rem See the License for the specific language governing permissions and
13*cc02d7e2SAndroid Build Coastguard Worker@rem limitations under the License.
14*cc02d7e2SAndroid Build Coastguard Worker
15*cc02d7e2SAndroid Build Coastguard Worker@echo off
16*cc02d7e2SAndroid Build Coastguard Workerset script_dir=%~dp0.
17*cc02d7e2SAndroid Build Coastguard Workerpython.exe "%script_dir%\fakeprotoc.py" %*
18*cc02d7e2SAndroid Build Coastguard Workerexit /B %errorlevel%
19