123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- From: Jan Engelhardt <jengelh@inai.de>
- Date: Thu, 20 Apr 2017 16:25:49 +0200
- Subject: build: remove calling untrusted hooks
- Avoid downloading untrusted executables and wasting time with a
- sysroot.
- ---
- DEPS | 84 +++---------------------------------------------------------
- 1 file changed, 3 insertions(+), 81 deletions(-)
- diff --git a/DEPS b/DEPS
- --- a/DEPS
- +++ b/DEPS
- @@ -94,7 +94,7 @@ vars = {
-
- # Check out and download nacl by default. This can be disabled e.g. with
- # custom_vars.
- - 'checkout_nacl': True,
- + 'checkout_nacl': False,
-
- # By default, do not check out src-internal. This can be overridden e.g. with
- # custom_vars.
- @@ -125,8 +125,8 @@ vars = {
- # support for other platforms may be added in the future.
- 'checkout_openxr' : 'checkout_win',
-
- - 'checkout_traffic_annotation_tools': 'checkout_configuration != "small"',
- - 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration != "small"',
- + 'checkout_traffic_annotation_tools': False,
- + 'checkout_instrumented_libraries': False,
-
- # By default bot checkouts the WPR archive files only when this
- # flag is set True.
- @@ -3584,49 +3584,6 @@ hooks = [
- 'sync', '--extract',
- ],
- },
- - {
- - 'name': 'sysroot_arm',
- - 'pattern': '.',
- - 'condition': 'checkout_linux and checkout_arm',
- - 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
- - '--arch=arm'],
- - },
- - {
- - 'name': 'sysroot_arm64',
- - 'pattern': '.',
- - 'condition': 'checkout_linux and checkout_arm64',
- - 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
- - '--arch=arm64'],
- - },
- - {
- - 'name': 'sysroot_x86',
- - 'pattern': '.',
- - 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)',
- - 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
- - '--arch=x86'],
- - },
- - {
- - 'name': 'sysroot_mips',
- - 'pattern': '.',
- - 'condition': 'checkout_linux and checkout_mips',
- - 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
- - '--arch=mips'],
- - },
- - {
- - 'name': 'sysroot_mips64',
- - 'pattern': '.',
- - 'condition': 'checkout_linux and checkout_mips64',
- - 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
- - '--arch=mips64el'],
- - },
- -
- - {
- - 'name': 'sysroot_x64',
- - 'pattern': '.',
- - 'condition': 'checkout_linux and checkout_x64',
- - 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
- - '--arch=x64'],
- - },
- {
- # Case-insensitivity for the Win SDK. Must run before win_toolchain below.
- 'name': 'ciopfs_linux',
- @@ -3757,18 +3714,6 @@ hooks = [
- '-s', 'src/buildtools/mac/clang-format.sha1',
- ],
- },
- - {
- - 'name': 'clang_format_linux',
- - 'pattern': '.',
- - 'condition': 'host_os == "linux"',
- - 'action': [ 'python',
- - 'src/third_party/depot_tools/download_from_google_storage.py',
- - '--no_resume',
- - '--no_auth',
- - '--bucket', 'chromium-clang-format',
- - '-s', 'src/buildtools/linux64/clang-format.sha1',
- - ],
- - },
- # Pull rc binaries using checked-in hashes.
- {
- 'name': 'rc_win',
- @@ -3794,29 +3739,6 @@ hooks = [
- '-s', 'src/build/toolchain/win/rc/mac/rc.sha1',
- ],
- },
- - {
- - 'name': 'rc_linux',
- - 'pattern': '.',
- - 'condition': 'checkout_win and host_os == "linux"',
- - 'action': [ 'python',
- - 'src/third_party/depot_tools/download_from_google_storage.py',
- - '--no_resume',
- - '--no_auth',
- - '--bucket', 'chromium-browser-clang/rc',
- - '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1',
- - ]
- - },
- - {
- - 'name': 'test_fonts',
- - 'pattern': '.',
- - 'action': [ 'download_from_google_storage',
- - '--no_resume',
- - '--extract',
- - '--no_auth',
- - '--bucket', 'chromium-fonts',
- - '-s', 'src/third_party/test_fonts/test_fonts.tar.gz.sha1',
- - ],
- - },
- # Download test resources for opus, i.e. audio files.
- {
- 'name': 'opus_test_files',
- --
- 2.17.1
|