1617a3babSopenharmony_ci# Copyright (C) 2020 The Khronos Group Inc. 2617a3babSopenharmony_ci# 3617a3babSopenharmony_ci# All rights reserved. 4617a3babSopenharmony_ci# 5617a3babSopenharmony_ci# Redistribution and use in source and binary forms, with or without 6617a3babSopenharmony_ci# modification, are permitted provided that the following conditions 7617a3babSopenharmony_ci# are met: 8617a3babSopenharmony_ci# 9617a3babSopenharmony_ci# Redistributions of source code must retain the above copyright 10617a3babSopenharmony_ci# notice, this list of conditions and the following disclaimer. 11617a3babSopenharmony_ci# 12617a3babSopenharmony_ci# Redistributions in binary form must reproduce the above 13617a3babSopenharmony_ci# copyright notice, this list of conditions and the following 14617a3babSopenharmony_ci# disclaimer in the documentation and/or other materials provided 15617a3babSopenharmony_ci# with the distribution. 16617a3babSopenharmony_ci# 17617a3babSopenharmony_ci# Neither the name of The Khronos Group Inc. nor the names of its 18617a3babSopenharmony_ci# contributors may be used to endorse or promote products derived 19617a3babSopenharmony_ci# from this software without specific prior written permission. 20617a3babSopenharmony_ci# 21617a3babSopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22617a3babSopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23617a3babSopenharmony_ci# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 24617a3babSopenharmony_ci# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 25617a3babSopenharmony_ci# COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26617a3babSopenharmony_ci# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 27617a3babSopenharmony_ci# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28617a3babSopenharmony_ci# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29617a3babSopenharmony_ci# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30617a3babSopenharmony_ci# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31617a3babSopenharmony_ci# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32617a3babSopenharmony_ci# POSSIBILITY OF SUCH DAMAGE. 33617a3babSopenharmony_ci 34617a3babSopenharmony_ciuse_relative_paths = True 35617a3babSopenharmony_ci 36617a3babSopenharmony_cigclient_gn_args_file = 'build/config/gclient_args.gni' 37617a3babSopenharmony_ci 38617a3babSopenharmony_civars = { 39617a3babSopenharmony_ci 'chromium_git': 'https://chromium.googlesource.com', 40617a3babSopenharmony_ci 'build_with_chromium': False, 41617a3babSopenharmony_ci} 42617a3babSopenharmony_ci 43617a3babSopenharmony_cideps = { 44617a3babSopenharmony_ci 45617a3babSopenharmony_ci './build': { 46617a3babSopenharmony_ci 'url': '{chromium_git}/chromium/src/build.git@85ee3b7692e5284f08bd3c9459fb5685eed7b838', 47617a3babSopenharmony_ci 'condition': 'not build_with_chromium', 48617a3babSopenharmony_ci }, 49617a3babSopenharmony_ci 50617a3babSopenharmony_ci './buildtools': { 51617a3babSopenharmony_ci 'url': '{chromium_git}/chromium/src/buildtools.git@4be464e050b3d05060471788f926b34c641db9fd', 52617a3babSopenharmony_ci 'condition': 'not build_with_chromium', 53617a3babSopenharmony_ci }, 54617a3babSopenharmony_ci 55617a3babSopenharmony_ci './tools/clang': { 56617a3babSopenharmony_ci 'url': '{chromium_git}/chromium/src/tools/clang.git@3a982adabb720aa8f3e3885d40bf3fe506990157', 57617a3babSopenharmony_ci 'condition': 'not build_with_chromium', 58617a3babSopenharmony_ci }, 59617a3babSopenharmony_ci 60617a3babSopenharmony_ci} 61617a3babSopenharmony_ci 62617a3babSopenharmony_cihooks = [ 63617a3babSopenharmony_ci { 64617a3babSopenharmony_ci 'name': 'sysroot_x64', 65617a3babSopenharmony_ci 'pattern': '.', 66617a3babSopenharmony_ci 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)', 67617a3babSopenharmony_ci 'action': ['python', './build/linux/sysroot_scripts/install-sysroot.py', 68617a3babSopenharmony_ci '--arch=x64'], 69617a3babSopenharmony_ci }, 70617a3babSopenharmony_ci { 71617a3babSopenharmony_ci # Note: On Win, this should run after win_toolchain, as it may use it. 72617a3babSopenharmony_ci 'name': 'clang', 73617a3babSopenharmony_ci 'pattern': '.', 74617a3babSopenharmony_ci 'action': ['python', './tools/clang/scripts/update.py'], 75617a3babSopenharmony_ci 'condition': 'not build_with_chromium', 76617a3babSopenharmony_ci }, 77617a3babSopenharmony_ci] 78617a3babSopenharmony_ci 79617a3babSopenharmony_cirecursedeps = [ 80617a3babSopenharmony_ci # buildtools provides clang_format, libc++, and libc++abi 81617a3babSopenharmony_ci 'buildtools', 82617a3babSopenharmony_ci] 83