diff options
Diffstat (limited to 'tools/buildscripts/repack_locales.py')
-rwxr-xr-x | tools/buildscripts/repack_locales.py | 41 |
1 files changed, 11 insertions, 30 deletions
diff --git a/tools/buildscripts/repack_locales.py b/tools/buildscripts/repack_locales.py index 8f1ae190b..99b91867c 100755 --- a/tools/buildscripts/repack_locales.py +++ b/tools/buildscripts/repack_locales.py @@ -1,32 +1,7 @@ -#!/usr/bin/env python -############################################################################# -## -## Copyright (c) 2012 The Chromium Authors. All rights reserved. -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the QtWebEngine module of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:GPL-EXCEPT$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 as published by the Free Software -## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################# +#!/usr/bin/env python3 +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Copyright (C) 2016 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 # This is esentially a trimmed down version of chrome's repack_locales script """Helper script to repack paks for a list of locales. @@ -89,6 +64,12 @@ def calc_inputs(locale): inputs.append(os.path.join(SHARE_INT_DIR, 'components', 'strings', 'components_%s_strings_%s.pak' % (BRANDING, locale))) + inputs.append(os.path.join(SHARE_INT_DIR, 'services', 'strings', + 'services_strings_%s.pak' % locale)) + + inputs.append(os.path.join(SHARE_INT_DIR, 'third_party', 'blink', 'public', 'strings, + 'blink_strings_%s.pak' % locale)) + if OS != 'ios': #e.g. '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak' inputs.append(os.path.join(SHARE_INT_DIR, 'content', 'app', 'strings', @@ -107,7 +88,7 @@ def calc_inputs(locale): inputs.append(os.path.join(SHARE_INT_DIR, 'chrome', 'generated_resources_%s.pak' % locale)) - #e.g. '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_da.pak' + #e.g. '<(SHARED_INTERMEDIATE_DIR)/chrome/chromium_strings_da.pak' inputs.append(os.path.join(SHARE_INT_DIR, 'chrome', 'chromium_strings_%s.pak' % locale)) |