| 1 |
gclient_gn_args_file = 'build/config/gclient_args.gni' |
| 2 |
|
| 3 |
vars = { |
| 4 |
'chromium_git': 'https://chromium.googlesource.com', |
| 5 |
'ninja_version': 'version:[email protected]', |
| 6 |
} |
| 7 |
|
| 8 |
deps = { |
| 9 |
|
| 10 |
'build': { |
| 11 |
'url': '{chromium_git}/chromium/src/build.git@1015724d82945f9ef7e51c6f804034ccf5f79951', |
| 12 |
}, |
| 13 |
|
| 14 |
'buildtools': { |
| 15 |
'url': '{chromium_git}/chromium/src/buildtools.git@3c7e3f1b8b1e4c0b6ec693430379cea682de78d6', |
| 16 |
}, |
| 17 |
|
| 18 |
'buildtools/linux64': { |
| 19 |
'packages': [ |
| 20 |
{ |
| 21 |
'package': 'gn/gn/linux-${{arch}}', |
| 22 |
'version': 'git_revision:5e19d2fb166fbd4f6f32147fbb2f497091a54ad8', |
| 23 |
} |
| 24 |
], |
| 25 |
'dep_type': 'cipd', |
| 26 |
'condition': 'host_os == "linux"', |
| 27 |
}, |
| 28 |
|
| 29 |
'testing': { |
| 30 |
'url': '{chromium_git}/chromium/src/testing@949b2864b6bd27656753b917c9aa7731dc7a06f6', |
| 31 |
}, |
| 32 |
|
| 33 |
'tools/clang': { |
| 34 |
'url': '{chromium_git}/chromium/src/tools/clang.git@566877f1ff1a5fa6beaca3ab4b47bd0b92eb614f', |
| 35 |
}, |
| 36 |
|
| 37 |
'third_party/ninja': { |
| 38 |
'packages': [ |
| 39 |
{ |
| 40 |
'package': 'infra/3pp/tools/ninja/${{platform}}', |
| 41 |
'version': Var('ninja_version'), |
| 42 |
} |
| 43 |
], |
| 44 |
'dep_type': 'cipd', |
| 45 |
}, |
| 46 |
|
| 47 |
} |
| 48 |
|
| 49 |
hooks = [ |
| 50 |
{ |
| 51 |
'name': 'sysroot_x64', |
| 52 |
'pattern': '.', |
| 53 |
'condition': 'checkout_linux and checkout_x64', |
| 54 |
'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
| 55 |
'--arch=x64'], |
| 56 |
}, |
| 57 |
{ |
| 58 |
# Note: On Win, this should run after win_toolchain, as it may use it. |
| 59 |
'name': 'clang', |
| 60 |
'pattern': '.', |
| 61 |
'action': ['python3', 'tools/clang/scripts/update.py'], |
| 62 |
}, |
| 63 |
] |
| 64 |
|
| 65 |
recursedeps = [ |
| 66 |
# buildtools provides clang_format. |
| 67 |
'buildtools', |
| 68 |
] |