mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
translator: Add Python 3 support (see issue #2856)
This also fixes incorrect translation of types in capi header comments.
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
# reserved. Use of this source code is governed by a BSD-style license that
|
||||
# can be found in the LICENSE file.
|
||||
|
||||
from __future__ import absolute_import
|
||||
from date_util import *
|
||||
from file_util import *
|
||||
from optparse import OptionParser
|
||||
@ -54,6 +55,7 @@ def check_x11_build(gn_config):
|
||||
|
||||
return True
|
||||
|
||||
|
||||
def write_config_header(header, cef_gn_config):
|
||||
""" Creates the header file for the cef build configuration
|
||||
if the information has changed or if the file doesn't already exist. """
|
||||
@ -113,6 +115,7 @@ def write_config_header(header, cef_gn_config):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
written = write_config_header(options.header, options.cef_gn_config)
|
||||
if not options.quiet:
|
||||
if written:
|
||||
|
Reference in New Issue
Block a user