2022-09-06 19:14:07 -04:00
|
|
|
# Copyright 2014 The Crashpad Authors
|
2014-07-30 23:24:58 -04:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
vars = {
|
|
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
2022-12-16 15:07:32 -05:00
|
|
|
'gn_version': 'git_revision:5e19d2fb166fbd4f6f32147fbb2f497091a54ad8',
|
2022-11-07 15:44:43 +09:00
|
|
|
# ninja CIPD package version.
|
|
|
|
# https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
|
|
|
|
'ninja_version': 'version:2@1.8.2.chromium.3',
|
2018-06-21 10:37:32 -07:00
|
|
|
'pull_linux_clang': False,
|
2020-01-28 15:34:34 -05:00
|
|
|
'pull_win_toolchain': False,
|
|
|
|
# Controls whether crashpad/build/ios/setup-ios-gn.py is run as part of
|
|
|
|
# gclient hooks. It is enabled by default for developer's convenience. It can
|
|
|
|
# be disabled with custom_vars (done automatically on the bots).
|
|
|
|
'run_setup_ios_gn': True,
|
2014-07-30 23:24:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
deps = {
|
2017-01-04 18:56:45 -08:00
|
|
|
'buildtools':
|
Update DEPS for buildtools and GYP
Point buildtools to its new location and update it to 3e50219fc450.
https://chromium.googlesource.com/chromium/buildtools:
437a616be5b2 Roll doclava from Android version 6.0.0 to 8.1.0
e514b423cd41 Remove libunwind arm dependency from libc++abi
d8b13809dced Build libc++abi with LIBCXXABI_SILENT_TERMINATE set
dd61138d2390 Add libunwind include path to libunwind config
a2cbf26d9ed3 Roll lib{cxx,cxxabi,unwind}
95d2a25d1de9 Roll gn 5478ca083b..c67646fb60 (r528993:r531988)
cac097d5c2b8 Roll lib{cxx,cxxabi,unwind}
f115f4786771 Revert "Roll gn 5478ca083b..c67646fb60 (r528993:r531988)"
2637e7e91152 Roll gn 5478ca083b..a0a05a85c5 (r528993:r533513)
053f96910491 Add Windows support to libc++ target
a09e064635a4 Merge "Add Windows support to libc++ target."
2888931260f2 checkdeps: Add "noparent" support, similar to OWNERS files
3748a2a90871 Roll gn a0a05a85c5..ee966518c2 (r533513:r544233)
10d701fce52d Prepare for |is_posix| switch in the Fuchsia build
ce837ab781da Roll lib{c++,c++abi,unwind}
c81e25593ef4 [CFI] Update libc++abi to include cfi-icall fix
4c8aa3ad4fd3 Roll gn ee966518c2..b709e226c5 (r544233:r549249)
e8aa02ea839e Merge "Roll gn ee966518c2..b709e226c5 (r544233:r549249)"
8febfea9bc7e Move SVN revision comments to be variables in a gni file
ab7b6a7b350d Roll gn b709e226c5..76b9b6c759 (r549249:r552354)
b7d53a93026d Make libc++abi C++17 ready
50bedd71e73c Roll gn 76b9b6c759..8b9e025d4d (r552354:r554932)
0b71401b977f Roll gn 8b9e025d4d..0fbf0789d9 (r554932:r555198)
292896eef97e Roll libc++abi 52c7a376..05a73941
ae5162d61ffc Remove unnecessary android_crazy_linker dependency from
libc++abi
c2fb17cecaf9 Correctly configure __cxa_demangle visibility
a9e946f166b7 Exclude libc++abi target when use_custom_libcxx=false
e7546473ac90 Move extern-C before __attribute__ declarations
e0b3d0a72133 Roll gn 0fbf0789d9..ccbeab673a (r555198:r558753)
8ca403ab93e0 Merge "Move extern-C before __attribute__ declarations"
4cbff1e40ea6 Roll lib{cxx,unwind} to ToT
94288c26d2ff Revert "Roll gn 0fbf0789d9..ccbeab673a (r555198:r558753)"
893eb86b02b2 Set no_default_deps in shared libc++ builds
6f4dae280c6a Roll gn 0fbf0789d9..84176d72a4 (r555198:r564007)
5941c1b3df96 Roll gn 84176d72a4..a3bcd204a1 (r564007:r567268)
9c9fd97928dd Roll gn a3bcd204a1..7f29218b23 (r567268:r570036)
f45682622e92 Remove GN from buildtools
506ae1c73670 Add gn-has-moved binary in old gn location
49b054d87c53 Remove libcpp_is_static
aec56e26079f Roll to gn from gn.googlesource.com
2568b85b1fa9 Merge "Remove libcpp_is_static"
66c7d9dc3c26 Re-add .gitignore for GN
a57c8cf55208 Merge "Re-add .gitignore for GN"
7876a3a2adc9 Revert "Remove libcpp_is_static"
0dd5c6f980d2 Merge "Revert "Remove libcpp_is_static""
4ae75c1f8188 Add components/tracing in visibility for libunwind
637716e67c05 Remove libcpp_is_static
5a265b45c14c Merge "Remove libcpp_is_static"
691bfec9d73b Only set is_component_build if !is_component_build
9a90d9aaadeb Use new export_libcxxabi_from_executables variable
2dff9c9c74e9 Roll GN from "UNKNOWN" to 1413 (4cf8d15..e134e49)
13a00f110ef9 Roll lib{cxx,cxxabi,unwind}
fdce2ad26b26 Roll libcxx{abi}
24ebce457874 Update clang-format binaries and scripts for all platforms
da9b2941cbf6 Revert "Roll libcxx{abi}
04161ec8d7c7 Roll gn to version 1496 (0790d304)
7d88270de197 Added statically linked linux binary for clang-format
b07ce09e6870 Roll lib{c++,c++abi,unwind}
5cce74c6ae2e Roll libc++
93e021048e8a Add thomasanderson and thakis to libc++{abi} OWNERS
0e1cbc4eab68 Stop removing hide_all_but_jni_onload config from libc++
9d61cbb94fd6 Make libc++ a shared library on Android sanitizer builds
40194ab03962 Do TODOs related to Android/libc++
2f02e1f363b1 Don't export operator new/delete on Mac
6fbda1b24c18 Add eu-strip to buildtools/third_party/
d658e92a1fc2 Delete buildtools
https://chromium.googlesource.com/chromium/src/buildtools:
6b05562fca00 [buildtools] add owners
97f503c698ae Update libcxx{abi}
daac513c763a Fixes necessary for enabling libc++ on Windows
3e50219fc450 Fix mac/component/asan builds
Update GYP to 8bee09f4a578.
52d9dcea6525 Add prototype of Travis config
85a2192070ba
ac24c9a9501e osx
6dbd6e1ed2ad
2f9ae921f899 add copyright to .sh
2ea7773b5a97 set +x on buildbot/travis-checkout.sh
834a0592ddee fiddling with directories
c3b797d883df try exporting PATH and only build ninja for now
541da5393710 try other order for sync:
39ad9f30379c see if ninja is getting pulled
007db9efe490 see if ninja is getting pulled
0afd3fc18f12 try a wrapper script
7f2941039abf readd osx
d22dd9717aeb and try clang
deb62526ffbb Disable some tests that fail on bots to try to get a green
build
4d467626b0b9 Make Travis build only the master branch
81286d388abf infra: remove cq.cfg, which is no longer used
197c82b78bc8 Patch GYP so that building with Xcode 10 works
f825c98e4bff Fix issue with missing resources in Xcode ui tests targets
6dbf304b77cb Add a copyright header to TestCmd.py
9df93ee4302e Make Visual Studio 2017 Community Edition work w/ GYP
f989ef9f1c41 Use ast module instead of compiler module for parsing files
f2dca32f7856 Update simple_copy.py for Python3 types
ab4aca868d68 Mostly mechanical changes for Python3 support
732bde62a5eb Fix one dangling utf8 decode call needed for python 3
e22714e51525 Fixes needed for Python3 on Win32
703706c4995b src,win: add VS2019 version
bd11dd1c51ef More miscellaneous fixes for Python3 compatibility
8bee09f4a578 Changes for windows and easy xml to get gyp to run under
python 3
Change-Id: I7a0dc6638d275728aec2bd30c07b11492573d1e3
Reviewed-on: https://chromium-review.googlesource.com/c/1496661
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
2019-03-01 17:24:21 -05:00
|
|
|
Var('chromium_git') + '/chromium/src/buildtools.git@' +
|
2024-05-30 22:29:44 +00:00
|
|
|
'efa920ce144e4dc1c1841e73179cd7e23b9f0d5e',
|
2022-06-15 09:51:59 -04:00
|
|
|
'buildtools/clang_format/script':
|
|
|
|
Var('chromium_git') +
|
|
|
|
'/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' +
|
|
|
|
'c912837e0d82b5ca4b6e790b573b3956d3744c1c',
|
2020-01-30 22:11:26 -05:00
|
|
|
'crashpad/third_party/edo/edo': {
|
|
|
|
'url': Var('chromium_git') + '/external/github.com/google/eDistantObject.git@' +
|
2022-03-25 08:36:39 -04:00
|
|
|
'727e556705278598fce683522beedbb9946bfda0',
|
2020-01-30 22:11:26 -05:00
|
|
|
'condition': 'checkout_ios',
|
|
|
|
},
|
2020-05-06 20:39:19 -04:00
|
|
|
'crashpad/third_party/googletest/googletest':
|
2015-11-11 11:13:37 -05:00
|
|
|
Var('chromium_git') + '/external/github.com/google/googletest@' +
|
2022-03-25 22:16:27 -04:00
|
|
|
'af29db7ec28d6df1c7f0f745186884091e602e07',
|
2019-04-08 17:28:18 -07:00
|
|
|
'crashpad/third_party/lss/lss':
|
|
|
|
Var('chromium_git') + '/linux-syscall-support.git@' +
|
2023-05-05 22:13:31 +00:00
|
|
|
'9719c1e1e676814c456b55f5f070eabad6709d31',
|
2014-07-30 23:24:58 -04:00
|
|
|
'crashpad/third_party/mini_chromium/mini_chromium':
|
|
|
|
Var('chromium_git') + '/chromium/mini_chromium@' +
|
2024-12-17 16:47:02 -05:00
|
|
|
'22f743de47b7d14d824092c4803fc1288ab07367',
|
2018-06-04 16:16:19 -07:00
|
|
|
'crashpad/third_party/libfuzzer/src':
|
|
|
|
Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git@' +
|
|
|
|
'fda403cf93ecb8792cb1d061564d89a6553ca020',
|
2017-02-15 19:54:19 -05:00
|
|
|
'crashpad/third_party/zlib/zlib':
|
|
|
|
Var('chromium_git') + '/chromium/src/third_party/zlib@' +
|
2023-10-06 20:46:54 +00:00
|
|
|
'fef58692c1d7bec94c4ed3d030a45a1832a9615d',
|
2018-07-23 11:38:06 -07:00
|
|
|
|
2022-06-10 09:55:32 -04:00
|
|
|
# CIPD packages.
|
|
|
|
'buildtools/linux64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
2023-08-08 12:47:12 -04:00
|
|
|
'package': 'gn/gn/linux-${{arch}}',
|
2022-06-10 09:55:32 -04:00
|
|
|
'version': Var('gn_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
'condition': 'host_os == "linux"',
|
|
|
|
},
|
|
|
|
'buildtools/mac': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'gn/gn/mac-${{arch}}',
|
|
|
|
'version': Var('gn_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
'condition': 'host_os == "mac"',
|
|
|
|
},
|
|
|
|
'buildtools/win': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'gn/gn/windows-amd64',
|
|
|
|
'version': Var('gn_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
'condition': 'host_os == "win"',
|
|
|
|
},
|
2024-06-05 14:51:00 -07:00
|
|
|
'crashpad/build/fuchsia': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'chromium/fuchsia/test-scripts',
|
|
|
|
'version': 'latest',
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2018-07-23 11:38:06 -07:00
|
|
|
'crashpad/third_party/linux/clang/linux-amd64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
2023-10-06 20:46:54 +00:00
|
|
|
'package': 'fuchsia/third_party/clang/linux-amd64',
|
|
|
|
'version': 'Tpc85d1ZwSlZ6UKl2d96GRUBGNA5JKholOKe24sRDr0C',
|
2018-07-23 11:38:06 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'checkout_linux and pull_linux_clang',
|
|
|
|
'dep_type': 'cipd'
|
|
|
|
},
|
2020-04-13 14:54:33 -04:00
|
|
|
'crashpad/third_party/fuchsia/clang/mac-amd64': {
|
2018-07-23 11:38:06 -07:00
|
|
|
'packages': [
|
|
|
|
{
|
2023-10-06 20:46:54 +00:00
|
|
|
'package': 'fuchsia/third_party/clang/mac-amd64',
|
2024-05-10 09:54:15 -07:00
|
|
|
'version': 'latest',
|
2018-07-23 11:38:06 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'checkout_fuchsia and host_os == "mac"',
|
|
|
|
'dep_type': 'cipd'
|
|
|
|
},
|
|
|
|
'crashpad/third_party/fuchsia/clang/linux-amd64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
2023-10-06 20:46:54 +00:00
|
|
|
'package': 'fuchsia/third_party/clang/linux-amd64',
|
2024-05-10 09:54:15 -07:00
|
|
|
'version': 'latest',
|
2018-07-23 11:38:06 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'checkout_fuchsia and host_os == "linux"',
|
|
|
|
'dep_type': 'cipd'
|
|
|
|
},
|
2023-06-28 20:08:55 +00:00
|
|
|
'crashpad/third_party/fuchsia-gn-sdk': {
|
2024-06-05 14:51:00 -07:00
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'chromium/fuchsia/gn-sdk',
|
|
|
|
'version': 'latest'
|
|
|
|
},
|
|
|
|
],
|
2023-06-28 20:08:55 +00:00
|
|
|
'condition': 'checkout_fuchsia',
|
2024-06-05 14:51:00 -07:00
|
|
|
'dep_type': 'cipd'
|
2023-06-28 20:08:55 +00:00
|
|
|
},
|
2018-07-23 11:38:06 -07:00
|
|
|
'crashpad/third_party/fuchsia/sdk/linux-amd64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
2023-06-28 20:08:55 +00:00
|
|
|
'package': 'fuchsia/sdk/core/linux-amd64',
|
2024-06-06 01:54:04 +00:00
|
|
|
'version': 'latest'
|
2018-07-23 11:38:06 -07:00
|
|
|
},
|
|
|
|
],
|
2019-03-06 15:50:33 -05:00
|
|
|
'condition': 'checkout_fuchsia and host_os == "linux"',
|
2018-07-23 11:38:06 -07:00
|
|
|
'dep_type': 'cipd'
|
|
|
|
},
|
2022-11-07 15:44:43 +09:00
|
|
|
# depot_tools/ninja wrapper calls third_party/ninja/{ninja, ninja.exe}.
|
|
|
|
# crashpad/third_party/ninja/ninja is another wrapper to call linux ninja
|
|
|
|
# or mac ninja.
|
|
|
|
# This allows crashpad developers to work for multiple platforms on the same
|
|
|
|
# machine.
|
|
|
|
'crashpad/third_party/ninja': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'infra/3pp/tools/ninja/${{platform}}',
|
|
|
|
'version': Var('ninja_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'condition': 'host_os == "win"',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
|
|
|
'crashpad/third_party/ninja/linux': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'infra/3pp/tools/ninja/${{platform}}',
|
|
|
|
'version': Var('ninja_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'condition': 'host_os == "linux"',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
|
|
|
'crashpad/third_party/ninja/mac-amd64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'infra/3pp/tools/ninja/mac-amd64',
|
|
|
|
'version': Var('ninja_version'),
|
|
|
|
}
|
|
|
|
],
|
2022-11-23 13:11:01 -07:00
|
|
|
'condition': 'host_os == "mac" and host_cpu == "x64"',
|
2022-11-07 15:44:43 +09:00
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
|
|
|
'crashpad/third_party/ninja/mac-arm64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'infra/3pp/tools/ninja/mac-arm64',
|
|
|
|
'version': Var('ninja_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'condition': 'host_os == "mac" and host_cpu == "arm64"',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2018-07-23 11:38:06 -07:00
|
|
|
'crashpad/third_party/win/toolchain': {
|
|
|
|
# This package is only updated when the solution in .gclient includes an
|
|
|
|
# entry like:
|
|
|
|
# "custom_vars": { "pull_win_toolchain": True }
|
|
|
|
# This is because the contained bits are not redistributable.
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'chrome_internal/third_party/sdk/windows',
|
2021-12-14 09:22:22 -08:00
|
|
|
'version': 'uploaded:2021-04-28'
|
2018-07-23 11:38:06 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'checkout_win and pull_win_toolchain',
|
|
|
|
'dep_type': 'cipd'
|
|
|
|
},
|
2014-07-30 23:24:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
hooks = [
|
2018-02-23 20:27:50 -08:00
|
|
|
{
|
|
|
|
# If using a local clang ("pull_linux_clang" above), also pull down a
|
|
|
|
# sysroot.
|
2018-04-04 15:03:43 -07:00
|
|
|
'name': 'sysroot_linux',
|
2018-02-23 20:27:50 -08:00
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_linux and pull_linux_clang',
|
|
|
|
'action': [
|
|
|
|
'crashpad/build/install_linux_sysroot.py',
|
|
|
|
],
|
|
|
|
},
|
2024-06-05 14:51:00 -07:00
|
|
|
{
|
|
|
|
# Avoid introducing unnecessary PRESUBMIT.py file from build/fuchsia.
|
|
|
|
# Never fail and ignore the error if the file does not exist.
|
|
|
|
'name': 'Remove the PRESUBMIT.py from build/fuchsia',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
'action': [
|
|
|
|
'rm',
|
|
|
|
'-f',
|
|
|
|
'crashpad/build/fuchsia/PRESUBMIT.py',
|
|
|
|
],
|
|
|
|
},
|
2023-06-28 20:08:55 +00:00
|
|
|
{
|
|
|
|
'name': 'Generate Fuchsia Build Definitions',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
'action': [
|
|
|
|
'python3',
|
2024-06-05 14:51:00 -07:00
|
|
|
'crashpad/build/fuchsia_envs.py',
|
2023-06-28 20:08:55 +00:00
|
|
|
'crashpad/build/fuchsia/gen_build_defs.py'
|
|
|
|
],
|
|
|
|
},
|
2020-01-28 15:34:34 -05:00
|
|
|
{
|
|
|
|
'name': 'setup_gn_ios',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'run_setup_ios_gn and checkout_ios',
|
|
|
|
'action': [
|
2022-03-23 20:43:12 -04:00
|
|
|
'python3',
|
2020-04-27 10:35:35 -04:00
|
|
|
'crashpad/build/ios/setup_ios_gn.py'
|
2020-01-28 15:34:34 -05:00
|
|
|
],
|
|
|
|
},
|
2014-07-30 23:24:58 -04:00
|
|
|
]
|
2017-02-07 14:20:30 -05:00
|
|
|
|
|
|
|
recursedeps = [
|
|
|
|
'buildtools',
|
|
|
|
]
|