src/upb/gen_build_yaml.py
Go to the documentation of this file.
1 #!/usr/bin/env python2.7
2 
3 # Copyright 2015 gRPC authors.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 
17 # TODO: This should ideally be in upb submodule to avoid hardcoding this here.
18 
19 import re
20 import os
21 import sys
22 import yaml
23 
24 out = {}
25 
26 try:
27  out['libs'] = [{
28  'name': 'upb',
29  'build': 'all',
30  'language': 'c',
31  'src': [
32  "third_party/upb/third_party/utf8_range/naive.c",
33  "third_party/upb/third_party/utf8_range/range2-neon.c",
34  "third_party/upb/third_party/utf8_range/range2-sse.c",
35  "third_party/upb/upb/decode_fast.c",
36  "third_party/upb/upb/decode.c",
37  "third_party/upb/upb/def.c",
38  "third_party/upb/upb/encode.c",
39  "third_party/upb/upb/json_encode.c",
40  "third_party/upb/upb/msg.c",
41  "third_party/upb/upb/reflection.c",
42  "third_party/upb/upb/table.c",
43  "third_party/upb/upb/text_encode.c",
44  "third_party/upb/upb/upb.c",
45  "src/core/ext/upb-generated/google/protobuf/descriptor.upb.c",
46  "src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c",
47  ],
48  'headers': [
49  "third_party/upb/third_party/utf8_range/utf8_range.h",
50  "third_party/upb/upb/decode_fast.h",
51  "third_party/upb/upb/decode_internal.h",
52  "third_party/upb/upb/decode.h",
53  "third_party/upb/upb/def.h",
54  "third_party/upb/upb/def.hpp",
55  "third_party/upb/upb/encode.h",
56  "third_party/upb/upb/json_encode.h",
57  "third_party/upb/upb/msg_internal.h",
58  "third_party/upb/upb/msg.h",
59  "third_party/upb/upb/port_def.inc",
60  "third_party/upb/upb/port_undef.inc",
61  "third_party/upb/upb/reflection.h",
62  "third_party/upb/upb/reflection.hpp",
63  "third_party/upb/upb/table_internal.h",
64  "third_party/upb/upb/text_encode.h",
65  "third_party/upb/upb/upb_internal.h",
66  "third_party/upb/upb/upb.h",
67  "third_party/upb/upb/upb.hpp",
68  "src/core/ext/upb-generated/google/protobuf/descriptor.upb.h",
69  "src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h",
70  ],
71  'secure': False,
72  }]
73 except:
74  pass
75 
76 print(yaml.dump(out))


grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:25