Add cef_api_hash.h generated by the translator tool (see issue #2596)

This splits out the API hashes from the cef_version.h file which is generated at
build time. Changes to the cef_api_hash.h file are committed to the repo and
represent potentially breaking API changes. This commit history will be used to
calculate the version number.
This commit is contained in:
Marshall Greenblatt
2019-03-14 11:18:06 -04:00
parent 725ed88529
commit a76f40eb83
16 changed files with 244 additions and 83 deletions

View File

@ -8,6 +8,7 @@ import os
# Other headers that export C API functions.
OTHER_HEADERS = [
'cef_api_hash.h',
'cef_version.h',
'internal/cef_logging_internal.h',
'internal/cef_string_list.h',
@ -205,7 +206,7 @@ if __name__ == "__main__":
# Create the header object. Should match the logic in translator.py.
header = obj_header()
header.set_root_directory(cpp_header_dir)
excluded_files = ['cef_application_mac.h', 'cef_version.h']
excluded_files = ['cef_api_hash.h', 'cef_application_mac.h', 'cef_version.h']
header.add_directory(cpp_header_dir, excluded_files)
header.add_directory(os.path.join(cpp_header_dir, 'test'))
header.add_directory(os.path.join(cpp_header_dir, 'views'))