Remove Blink templates from this repository.

The templates will live in the Chromium prototype. This also removes
the blink/ prefix from the Blink template filenames as this won't be
present in anymore.
This commit is contained in:
Corentin Wallez
2017-11-01 16:53:47 -04:00
committed by Corentin Wallez
parent 0d045029fa
commit f280e87f36
7 changed files with 5 additions and 429 deletions

View File

@@ -444,16 +444,16 @@ def main():
if 'blink' in targets:
js_params = {'native_methods': lambda typ: js_native_methods(api_params['types'], typ)}
renders.append(FileRender('blink/autogen.gni', 'autogen.gni', [base_params, api_params, js_params]))
renders.append(FileRender('blink/Objects.cpp', 'NXT.cpp', [base_params, api_params, js_params]))
renders.append(FileRender('blink/Forward.h', 'Forward.h', [base_params, api_params, js_params]))
renders.append(FileRender('autogen.gni', 'autogen.gni', [base_params, api_params, js_params]))
renders.append(FileRender('Objects.cpp', 'NXT.cpp', [base_params, api_params, js_params]))
renders.append(FileRender('Forward.h', 'Forward.h', [base_params, api_params, js_params]))
for typ in api_params['by_category']['object']:
file_prefix = 'NXT' + typ.name.CamelCase()
params = [base_params, api_params, js_params, {'type': typ}]
renders.append(FileRender('blink/Object.h', file_prefix + '.h', params))
renders.append(FileRender('blink/Object.idl', file_prefix + '.idl', params))
renders.append(FileRender('Object.h', file_prefix + '.h', params))
renders.append(FileRender('Object.idl', file_prefix + '.idl', params))
output_separator = '\n' if args.gn else ';'
if args.print_dependencies: