views: Generate cef_color_ids.h header (see #3671)

This commit is contained in:
Marshall Greenblatt
2024-03-28 14:33:29 -04:00
parent 54a9c26b92
commit 29c21f58e8
9 changed files with 209 additions and 74 deletions

View File

@ -8,11 +8,8 @@ from cef_parser import *
def make_gypi_file(header):
# header string
result = \
"""# Copyright (c) $YEAR$ The Chromium Embedded Framework Authors. All rights
# reserved. Use of this source code is governed by a BSD-style license that
# can be found in the LICENSE file.
#
result = get_copyright(full=False, translator=False).replace('//', '#') + \
"""#
# ---------------------------------------------------------------------------
#
# This file was generated by the CEF translator tool and should not edited
@ -80,9 +77,6 @@ def make_gypi_file(header):
}
"""
# add the copyright year
result = result.replace('$YEAR$', get_year())
return result