Skip to content
Snippets Groups Projects
Commit 6bac7d34 authored by Nicolas Noble's avatar Nicolas Noble
Browse files

Merge pull request #6399 from nicolasnoble/source-of-truth-api

Properly using our build.yaml source of truth to generate our list of public APIs.
parents 1a7adfb1 777c2632
No related branches found
No related tags found
No related merge requests found
...@@ -64,12 +64,13 @@ def headers_under(directory): ...@@ -64,12 +64,13 @@ def headers_under(directory):
def mako_plugin(dictionary): def mako_plugin(dictionary):
apis = [] apis = []
headers = []
# for lib in dictionary['libs']: for lib in dictionary['libs']:
# if lib['name'] == 'grpc': if lib['name'] in ['grpc', 'gpr']:
# apis.extend(list_c_apis(lib['public_headers'])) headers.extend(lib['public_headers'])
apis.extend(list_c_apis(sorted(headers_under('include/grpc'))))
apis.extend(list_c_apis(sorted(set(headers))))
dictionary['c_apis'] = apis dictionary['c_apis'] = apis
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment