1*8975f5c5SAndroid Build Coastguard Worker# Copyright (C) 2020 The Khronos Group Inc. 2*8975f5c5SAndroid Build Coastguard Worker# 3*8975f5c5SAndroid Build Coastguard Worker# All rights reserved. 4*8975f5c5SAndroid Build Coastguard Worker# 5*8975f5c5SAndroid Build Coastguard Worker# Redistribution and use in source and binary forms, with or without 6*8975f5c5SAndroid Build Coastguard Worker# modification, are permitted provided that the following conditions 7*8975f5c5SAndroid Build Coastguard Worker# are met: 8*8975f5c5SAndroid Build Coastguard Worker# 9*8975f5c5SAndroid Build Coastguard Worker# Redistributions of source code must retain the above copyright 10*8975f5c5SAndroid Build Coastguard Worker# notice, this list of conditions and the following disclaimer. 11*8975f5c5SAndroid Build Coastguard Worker# 12*8975f5c5SAndroid Build Coastguard Worker# Redistributions in binary form must reproduce the above 13*8975f5c5SAndroid Build Coastguard Worker# copyright notice, this list of conditions and the following 14*8975f5c5SAndroid Build Coastguard Worker# disclaimer in the documentation and/or other materials provided 15*8975f5c5SAndroid Build Coastguard Worker# with the distribution. 16*8975f5c5SAndroid Build Coastguard Worker# 17*8975f5c5SAndroid Build Coastguard Worker# Neither the name of The Khronos Group Inc. nor the names of its 18*8975f5c5SAndroid Build Coastguard Worker# contributors may be used to endorse or promote products derived 19*8975f5c5SAndroid Build Coastguard Worker# from this software without specific prior written permission. 20*8975f5c5SAndroid Build Coastguard Worker# 21*8975f5c5SAndroid Build Coastguard Worker# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22*8975f5c5SAndroid Build Coastguard Worker# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23*8975f5c5SAndroid Build Coastguard Worker# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 24*8975f5c5SAndroid Build Coastguard Worker# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 25*8975f5c5SAndroid Build Coastguard Worker# COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26*8975f5c5SAndroid Build Coastguard Worker# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 27*8975f5c5SAndroid Build Coastguard Worker# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28*8975f5c5SAndroid Build Coastguard Worker# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29*8975f5c5SAndroid Build Coastguard Worker# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30*8975f5c5SAndroid Build Coastguard Worker# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31*8975f5c5SAndroid Build Coastguard Worker# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32*8975f5c5SAndroid Build Coastguard Worker# POSSIBILITY OF SUCH DAMAGE. 33*8975f5c5SAndroid Build Coastguard Worker 34*8975f5c5SAndroid Build Coastguard Workeruse_relative_paths = True 35*8975f5c5SAndroid Build Coastguard Worker 36*8975f5c5SAndroid Build Coastguard Workergclient_gn_args_file = 'build/config/gclient_args.gni' 37*8975f5c5SAndroid Build Coastguard Worker 38*8975f5c5SAndroid Build Coastguard Workervars = { 39*8975f5c5SAndroid Build Coastguard Worker 'chromium_git': 'https://chromium.googlesource.com', 40*8975f5c5SAndroid Build Coastguard Worker 'build_with_chromium': False, 41*8975f5c5SAndroid Build Coastguard Worker} 42*8975f5c5SAndroid Build Coastguard Worker 43*8975f5c5SAndroid Build Coastguard Workerdeps = { 44*8975f5c5SAndroid Build Coastguard Worker 45*8975f5c5SAndroid Build Coastguard Worker './build': { 46*8975f5c5SAndroid Build Coastguard Worker 'url': '{chromium_git}/chromium/src/build.git@85ee3b7692e5284f08bd3c9459fb5685eed7b838', 47*8975f5c5SAndroid Build Coastguard Worker 'condition': 'not build_with_chromium', 48*8975f5c5SAndroid Build Coastguard Worker }, 49*8975f5c5SAndroid Build Coastguard Worker 50*8975f5c5SAndroid Build Coastguard Worker './buildtools': { 51*8975f5c5SAndroid Build Coastguard Worker 'url': '{chromium_git}/chromium/src/buildtools.git@4be464e050b3d05060471788f926b34c641db9fd', 52*8975f5c5SAndroid Build Coastguard Worker 'condition': 'not build_with_chromium', 53*8975f5c5SAndroid Build Coastguard Worker }, 54*8975f5c5SAndroid Build Coastguard Worker 55*8975f5c5SAndroid Build Coastguard Worker './tools/clang': { 56*8975f5c5SAndroid Build Coastguard Worker 'url': '{chromium_git}/chromium/src/tools/clang.git@3a982adabb720aa8f3e3885d40bf3fe506990157', 57*8975f5c5SAndroid Build Coastguard Worker 'condition': 'not build_with_chromium', 58*8975f5c5SAndroid Build Coastguard Worker }, 59*8975f5c5SAndroid Build Coastguard Worker 60*8975f5c5SAndroid Build Coastguard Worker} 61*8975f5c5SAndroid Build Coastguard Worker 62*8975f5c5SAndroid Build Coastguard Workerhooks = [ 63*8975f5c5SAndroid Build Coastguard Worker { 64*8975f5c5SAndroid Build Coastguard Worker 'name': 'sysroot_x64', 65*8975f5c5SAndroid Build Coastguard Worker 'pattern': '.', 66*8975f5c5SAndroid Build Coastguard Worker 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)', 67*8975f5c5SAndroid Build Coastguard Worker 'action': ['python', './build/linux/sysroot_scripts/install-sysroot.py', 68*8975f5c5SAndroid Build Coastguard Worker '--arch=x64'], 69*8975f5c5SAndroid Build Coastguard Worker }, 70*8975f5c5SAndroid Build Coastguard Worker { 71*8975f5c5SAndroid Build Coastguard Worker # Note: On Win, this should run after win_toolchain, as it may use it. 72*8975f5c5SAndroid Build Coastguard Worker 'name': 'clang', 73*8975f5c5SAndroid Build Coastguard Worker 'pattern': '.', 74*8975f5c5SAndroid Build Coastguard Worker 'action': ['python', './tools/clang/scripts/update.py'], 75*8975f5c5SAndroid Build Coastguard Worker 'condition': 'not build_with_chromium', 76*8975f5c5SAndroid Build Coastguard Worker }, 77*8975f5c5SAndroid Build Coastguard Worker] 78*8975f5c5SAndroid Build Coastguard Worker 79*8975f5c5SAndroid Build Coastguard Workerrecursedeps = [ 80*8975f5c5SAndroid Build Coastguard Worker # buildtools provides clang_format, libc++, and libc++abi 81*8975f5c5SAndroid Build Coastguard Worker 'buildtools', 82*8975f5c5SAndroid Build Coastguard Worker] 83