mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user