blob: 745114f32a64f5e46c92c3ee7fb96cfa0ad7e05c [file] [log] [blame]
vars = {
'chromium_git': 'https://chromium.googlesource.com',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling build tools
# and whatever else without interference from each other.
'buildtools_revision': '3b302fef93f7cc58d9b8168466905237484b2772',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling build tools
# and whatever else without interference from each other.
}
deps = {
'gn/buildtools':
Var('chromium_git') + '/chromium/buildtools.git' '@' + Var('buildtools_revision'),
'gn/base':
Var('chromium_git') + '/chromium/src/base.git@6ec23b2f3a69dfb8c7bb933f4e012e7c22e01444',
'gn/build/config':
Var('chromium_git') + '/chromium/src/build/config.git@7bbfc34a6e6e4b7c419c4ce3a1ff864b66623736',
'gn/build/toolchain':
Var('chromium_git') + '/chromium/src/build/toolchain.git@00dac9ced416992b61f40610210ac50c9fccc770',
'gn/tools/gn':
Var('chromium_git') + '/chromium/src/tools/gn.git@2db498a5dd668a557562881189779d4b4ed05117',
'gn/testing/gtest':
Var('chromium_git') + '/external/googletest.git@be1868139ffe0ccd0e8e3b37292b84c821d9c8ad',
'gn/testing/gmock':
Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271', # from svn revision 501
'gn/third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'eda9e75b1fa17f57ffa369ee3543a2301b68d0a9',
'gn/tools/gyp':
Var('chromium_git') + '/external/gyp.git' + '@' + 'd174d75bf69c682cb62af9187879e01513b35e52',
}
hooks = [
# Pull GN binaries. This needs to be before running GYP below.
{
'name': 'gn_win',
'pattern': '.',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=win32',
'--no_auth',
'--bucket', 'chromium-gn',
'-s', 'gn/buildtools/win/gn.exe.sha1',
],
},
{
'name': 'gn_mac',
'pattern': '.',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=darwin',
'--no_auth',
'--bucket', 'chromium-gn',
'-s', 'gn/buildtools/mac/gn.sha1',
],
},
{
'name': 'gn_linux32',
'pattern': '.',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=linux*',
'--no_auth',
'--bucket', 'chromium-gn',
'-s', 'gn/buildtools/linux32/gn.sha1',
],
},
{
'name': 'gn_linux64',
'pattern': '.',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=linux*',
'--no_auth',
'--bucket', 'chromium-gn',
'-s', 'gn/buildtools/linux64/gn.sha1',
],
},
{
# Pull clang if needed or requested via GYP_DEFINES.
# Note: On Win, this should run after win_toolchain, as it may use it.
'name': 'clang',
'pattern': '.',
'action': ['python', 'gn/tools/clang/scripts/update.py', '--if-needed'],
},
{
# Update LASTCHANGE. This is also run by export_tarball.py in
# src/tools/export_tarball - please keep them in sync.
'name': 'lastchange',
'pattern': '.',
'action': ['python', 'gn/build/util/lastchange.py',
'-o', 'gn/build/util/LASTCHANGE'],
},
]