Apply new Chromium style for #include sorting

Add "cef/" prefix for CEF #includes in libcef/ directory.

Sort #includes by following
https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes
This commit is contained in:
Marshall Greenblatt
2024-04-30 11:45:07 -04:00
parent b5d84c254d
commit 49a34d9160
877 changed files with 1921 additions and 1955 deletions

View File

@ -740,9 +740,10 @@ if mode == 'standard' or mode == 'minimal':
]
for include in generated_includes:
# Debug and Release build should be the same so grab whichever exists.
src_path = os.path.join(build_dir_release, 'includes', 'include', include)
rel_path = os.path.join('includes', 'cef', 'include', include)
src_path = os.path.join(build_dir_release, rel_path)
if not os.path.exists(src_path):
src_path = os.path.join(build_dir_debug, 'includes', 'include', include)
src_path = os.path.join(build_dir_debug, rel_path)
if not os.path.exists(src_path):
raise Exception('Missing generated header file: %s' % include)
copy_file(src_path, os.path.join(include_dir, include), options.quiet)