libv8 5.7.492.65.1 → 5.9.211.38.0beta0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +8 -2
- data/CHANGELOG.md +4 -0
- data/README.md +4 -3
- data/Rakefile +27 -10
- data/ext/libv8/builder.rb +4 -0
- data/lib/libv8/version.rb +1 -1
- data/libv8.gemspec +1 -1
- data/patches/0001-Build-a-standalone-static-library.patch +5 -5
- data/patches/0002-Don-t-compile-unnecessary-stuff.patch +20 -24
- data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +5 -5
- data/patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch +5 -5
- data/patches/0005-Fix-GCC-7-build-errors.patch +147 -0
- data/scaleway.png +0 -0
- data/vendor/depot_tools/.gitattributes +52 -0
- data/vendor/depot_tools/.gitignore +10 -0
- data/vendor/depot_tools/README.md +7 -3
- data/vendor/depot_tools/apply_issue.bat +4 -3
- data/vendor/depot_tools/apply_issue.py +0 -10
- data/vendor/depot_tools/autoninja +12 -0
- data/vendor/depot_tools/autoninja.bat +9 -0
- data/vendor/depot_tools/autoninja.py +70 -0
- data/vendor/depot_tools/bootstrap/win/README.md +108 -26
- data/vendor/depot_tools/bootstrap/win/git-bash.template.sh +3 -3
- data/vendor/depot_tools/bootstrap/win/git.template.bat +2 -2
- data/vendor/depot_tools/bootstrap/win/manifest.txt +18 -0
- data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +18 -0
- data/vendor/depot_tools/bootstrap/win/python27.new.bat +49 -0
- data/vendor/depot_tools/bootstrap/win/win_tools.bat +55 -59
- data/vendor/depot_tools/bootstrap/win/win_tools.py +335 -0
- data/vendor/depot_tools/cipd +16 -2
- data/vendor/depot_tools/cipd.bat +20 -2
- data/vendor/depot_tools/cipd.ps1 +36 -22
- data/vendor/depot_tools/cipd_bin_setup.bat +6 -0
- data/vendor/depot_tools/cipd_bin_setup.sh +10 -0
- data/vendor/depot_tools/cipd_client_version +1 -1
- data/vendor/depot_tools/cipd_manifest.txt +9 -0
- data/vendor/depot_tools/cit.bat +12 -11
- data/vendor/depot_tools/clang-format.bat +4 -3
- data/vendor/depot_tools/clang_format_merge_driver.bat +12 -11
- data/vendor/depot_tools/commit_queue.bat +4 -3
- data/vendor/depot_tools/cpplint.bat +9 -3
- data/vendor/depot_tools/cpplint.py +3 -3
- data/vendor/depot_tools/depot-tools-auth.bat +4 -3
- data/vendor/depot_tools/download_from_google_storage.bat +5 -3
- data/vendor/depot_tools/download_from_google_storage.py +6 -1
- data/vendor/depot_tools/fetch.bat +5 -4
- data/vendor/depot_tools/fetch.py +4 -5
- data/vendor/depot_tools/gclient-new-workdir.py +82 -46
- data/vendor/depot_tools/gclient.bat +5 -4
- data/vendor/depot_tools/gclient.py +713 -319
- data/vendor/depot_tools/gclient_eval.py +284 -0
- data/vendor/depot_tools/gclient_utils.py +70 -4
- data/vendor/depot_tools/gerrit_client.py +26 -1
- data/vendor/depot_tools/gerrit_util.py +120 -127
- data/vendor/depot_tools/git-crrev-parse +1 -0
- data/vendor/depot_tools/git-gs +1 -1
- data/vendor/depot_tools/git_cl.py +731 -415
- data/vendor/depot_tools/git_common.py +23 -3
- data/vendor/depot_tools/git_drover.py +10 -1
- data/vendor/depot_tools/git_footers.py +62 -22
- data/vendor/depot_tools/git_hyper_blame.py +3 -2
- data/vendor/depot_tools/git_map.py +30 -3
- data/vendor/depot_tools/git_map_branches.py +18 -4
- data/vendor/depot_tools/git_number.py +8 -2
- data/vendor/depot_tools/git_retry.py +21 -0
- data/vendor/depot_tools/gn.bat +4 -3
- data/vendor/depot_tools/infra/config/cq.cfg +1 -5
- data/vendor/depot_tools/infra/config/recipes.cfg +18 -16
- data/vendor/depot_tools/led +12 -0
- data/vendor/depot_tools/led.bat +7 -0
- data/vendor/depot_tools/man/html/git-cl.html +9 -1
- data/vendor/depot_tools/man/html/git-drover.html +22 -18
- data/vendor/depot_tools/man/man1/git-cl.1 +8 -3
- data/vendor/depot_tools/man/man1/git-drover.1 +22 -20
- data/vendor/depot_tools/man/src/git-cl.txt +3 -0
- data/vendor/depot_tools/man/src/git-drover.txt +8 -0
- data/vendor/depot_tools/my_activity.py +8 -5
- data/vendor/depot_tools/owners.py +103 -11
- data/vendor/depot_tools/owners_finder.py +14 -2
- data/vendor/depot_tools/presubmit_canned_checks.py +25 -67
- data/vendor/depot_tools/presubmit_support.py +87 -35
- data/vendor/depot_tools/recipes/OWNERS +2 -0
- data/vendor/depot_tools/recipes/README.recipes.md +842 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +5 -3
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +181 -60
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.expected → examples/full.expected}/apply_gerrit_ref.json +4 -2
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic.json +82 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic_with_branch_heads.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/buildbot.json +82 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/clobber.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +122 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_rebase_patch_ref.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_reset.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_shallow.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/reset_root_solution_revision.json +148 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange.json +150 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.expected → examples/full.expected}/trychange_oauth2.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_buildbot.json +152 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json.json +150 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json_win.json +150 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob.json +156 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +91 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +118 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +118 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle.json +202 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle_deprecated.json +158 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_feature_branch.json +196 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8.json +202 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8_feature_branch.json +202 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +162 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +162 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_tags.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.py → examples/full.py} +46 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +139 -133
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +25 -13
- data/vendor/depot_tools/recipes/recipe_modules/cipd/api.py +40 -9
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/basic.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/basic_pkg.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/describe-failed.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/describe-many-instances.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/mac64.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_file.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_mode.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_verfile.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/win64.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.py → examples/full.py} +1 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/junk arch.json +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/junk bits.json +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_arm_32.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_arm_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_intel_32.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_intel_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_mips_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/mac_intel_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/win_intel_32.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/win_intel_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.py +59 -0
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/api.py +5 -0
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.expected → examples/full.expected}/basic.json +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.expected → examples/full.expected}/win.json +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.py → examples/full.py} +2 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/__init__.py +1 -4
- data/vendor/depot_tools/recipes/recipe_modules/gclient/api.py +28 -14
- data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +10 -235
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/basic.json +9 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/buildbot.json +9 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/revision.json +9 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/tryserver.json +9 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.py → examples/full.py} +5 -21
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/patch_project.py +45 -0
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/__init__.py +1 -0
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/api.py +97 -2
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +283 -0
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/{example.py → examples/full.py} +31 -2
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/test_api.py +30 -1
- data/vendor/depot_tools/recipes/recipe_modules/git/__init__.py +1 -4
- data/vendor/depot_tools/recipes/recipe_modules/git/api.py +7 -35
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_branch.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_file_name.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_hash.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_ref.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_submodule_update_force.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/can_fail_build.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/cannot_fail_build.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/cat-file_test.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_delta.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_failed.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_with_bad_output.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_with_bad_output_fails_build.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/curl_trace_file.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/git-cache-checkout.json +6 -6
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/platform_win.json +223 -0
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/rebase_failed.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/remote_not_origin.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/set_got_revision.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.py → examples/full.py} +2 -1
- data/vendor/depot_tools/recipes/recipe_modules/git/resources/git_setup.py +12 -21
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/__init__.py +1 -4
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/api.py +13 -11
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/{example.expected → examples/full.expected}/basic.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/{example.py → examples/full.py} +4 -2
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/OWNERS +3 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/__init__.py +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/api.py +135 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/examples/full.expected/basic.json +537 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/examples/full.py +61 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/resources/gerrit_client.py +192 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/test_api.py +95 -0
- data/vendor/depot_tools/recipes/recipe_modules/gsutil/{example.expected → examples/full.expected}/basic.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/gsutil/{example.py → examples/full.py} +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/__init__.py +0 -3
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/basic.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_linux.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_mac.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_win.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_generic_linux.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_generic_mac.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_generic_win.json +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_linux.json +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_mac.json +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_win.json +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.py → examples/full.py} +2 -1
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/path_config.py +12 -3
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/__init__.py +1 -0
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/api.py +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/{example.expected → examples/full.expected}/basic.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/{example.py → examples/full.py} +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/__init__.py +0 -4
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.expected → examples/full.expected}/basic.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.expected → examples/full.expected}/buildbot.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/no_auth.json +27 -0
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.py → examples/full.py} +9 -1
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/__init__.py +3 -5
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/api.py +21 -96
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/basic_tags.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/set_failure_hash_with_no_steps.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch.json +56 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected/with_gerrit_patch_deprecated.json → examples/full.expected/with_git_patch.json} +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected/with_gerrit_patch.json → examples/full.expected/with_git_patch_luci.json} +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_rietveld_patch.json +0 -20
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_rietveld_patch_new.json +0 -20
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_wrong_patch.json +1 -13
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_wrong_patch_new.json +1 -13
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.py → examples/full.py} +3 -17
- data/vendor/depot_tools/recipes/recipes.py +141 -96
- data/vendor/depot_tools/rietveld.py +8 -1
- data/vendor/depot_tools/roll-dep-svn.bat +12 -10
- data/vendor/depot_tools/roll-dep.bat +5 -3
- data/vendor/depot_tools/scm.py +8 -1
- data/vendor/depot_tools/setup_color.py +0 -0
- data/vendor/depot_tools/split_cl.py +193 -0
- data/vendor/depot_tools/third_party/schema/.editorconfig +15 -0
- data/vendor/depot_tools/third_party/schema/.gitignore +174 -0
- data/vendor/depot_tools/third_party/schema/.travis.yml +37 -0
- data/vendor/depot_tools/third_party/schema/LICENSE-MIT +19 -0
- data/vendor/depot_tools/third_party/schema/MANIFEST.in +1 -0
- data/vendor/depot_tools/third_party/schema/README.chromium +12 -0
- data/vendor/depot_tools/third_party/schema/README.rst +382 -0
- data/vendor/depot_tools/third_party/schema/__init__.py +1 -0
- data/vendor/depot_tools/third_party/schema/schema.py +338 -0
- data/vendor/depot_tools/third_party/schema/setup.cfg +5 -0
- data/vendor/depot_tools/third_party/schema/setup.py +30 -0
- data/vendor/depot_tools/third_party/schema/test_schema.py +556 -0
- data/vendor/depot_tools/third_party/schema/tox.ini +33 -0
- data/vendor/depot_tools/third_party/upload.py +4 -0
- data/vendor/depot_tools/update_depot_tools +4 -16
- data/vendor/depot_tools/update_depot_tools.bat +4 -17
- data/vendor/depot_tools/update_depot_tools_toggle.py +38 -0
- data/vendor/depot_tools/vpython +12 -0
- data/vendor/depot_tools/vpython.bat +7 -0
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +17 -5
- data/vendor/depot_tools/win_toolchain/package_from_installed.py +63 -33
- metadata +161 -113
- data/vendor/depot_tools/bootstrap/gclient.bat +0 -22
- data/vendor/depot_tools/bootstrap/win/get_file.js +0 -119
- data/vendor/depot_tools/bootstrap/win/git_bootstrap.py +0 -193
- data/vendor/depot_tools/bootstrap/win/git_version.txt +0 -1
- data/vendor/depot_tools/bootstrap/win/git_version_bleeding_edge.txt +0 -1
- data/vendor/depot_tools/bootstrap/win/python276.new.bat +0 -8
- data/vendor/depot_tools/bootstrap/win/svn.new.bat +0 -4
- data/vendor/depot_tools/bootstrap/win/svnversion.new.bat +0 -4
- data/vendor/depot_tools/bootstrap/win/unzip.js +0 -91
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic.json +0 -53
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic_output_manifest.json +0 -60
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/buildbot.json +0 -53
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/clobber.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/no_shallow.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +0 -53
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange.json +0 -55
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json +0 -57
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json +0 -55
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json +0 -55
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob.json +0 -59
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail.json +0 -62
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +0 -83
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +0 -84
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +0 -60
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json +0 -60
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_v8.json +0 -62
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +0 -62
- data/vendor/depot_tools/recipes/recipe_modules/gclient/bundle_extra_paths.txt +0 -4
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/example.expected/basic.json +0 -66
- data/vendor/depot_tools/recipes/recipe_modules/git/bundle_extra_paths.txt +0 -28
- data/vendor/depot_tools/recipes/recipe_modules/git/example.expected/platform_win.json +0 -237
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_generic_win.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/bundle_extra_paths.txt +0 -30
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/example.expected/with_git_patch.json +0 -109
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/example.expected/with_git_patch_luci.json +0 -8
@@ -80,12 +80,12 @@ class GclientApi(recipe_api.RecipeApi):
|
|
80
80
|
prefix = ('[spec: %s] ' % self.spec_alias) + prefix
|
81
81
|
|
82
82
|
# TODO(phajdan.jr): create a helper for adding to PATH.
|
83
|
-
env = self.m.
|
83
|
+
env = self.m.context.env
|
84
84
|
env.setdefault('PATH', '%(PATH)s')
|
85
85
|
env['PATH'] = self.m.path.pathsep.join([
|
86
86
|
env['PATH'], str(self._module.PACKAGE_REPO_ROOT)])
|
87
87
|
|
88
|
-
with self.m.
|
88
|
+
with self.m.context(env=env):
|
89
89
|
return self.m.python(prefix + name,
|
90
90
|
self.package_repo_resource('gclient.py'),
|
91
91
|
cmd,
|
@@ -126,6 +126,24 @@ class GclientApi(recipe_api.RecipeApi):
|
|
126
126
|
def config_to_pythonish(cfg):
|
127
127
|
return jsonish_to_python(cfg.as_jsonish(), True)
|
128
128
|
|
129
|
+
# TODO(machenbach): Remove this method when the old mapping is deprecated.
|
130
|
+
@staticmethod
|
131
|
+
def got_revision_reverse_mapping(cfg):
|
132
|
+
"""Returns the merged got_revision_reverse_mapping.
|
133
|
+
|
134
|
+
Returns (dict): A mapping from property name -> project name. It merges the
|
135
|
+
values of the deprecated got_revision_mapping and the new
|
136
|
+
got_revision_reverse_mapping.
|
137
|
+
"""
|
138
|
+
rev_map = cfg.got_revision_mapping.as_jsonish()
|
139
|
+
reverse_rev_map = cfg.got_revision_reverse_mapping.as_jsonish()
|
140
|
+
combined_length = len(rev_map) + len(reverse_rev_map)
|
141
|
+
reverse_rev_map.update({v: k for k, v in rev_map.iteritems()})
|
142
|
+
|
143
|
+
# Make sure we never have duplicate values in the old map.
|
144
|
+
assert combined_length == len(reverse_rev_map)
|
145
|
+
return reverse_rev_map
|
146
|
+
|
129
147
|
def resolve_revision(self, revision):
|
130
148
|
if hasattr(revision, 'resolve'):
|
131
149
|
return revision.resolve(self.m.properties)
|
@@ -148,7 +166,7 @@ class GclientApi(recipe_api.RecipeApi):
|
|
148
166
|
if fixed_revision:
|
149
167
|
revisions.extend(['--revision', '%s@%s' % (name, fixed_revision)])
|
150
168
|
|
151
|
-
test_data_paths = set(cfg.
|
169
|
+
test_data_paths = set(self.got_revision_reverse_mapping(cfg).values() +
|
152
170
|
[s.name for s in cfg.solutions])
|
153
171
|
step_test_data = lambda: (
|
154
172
|
self.test_api.output_json(test_data_paths))
|
@@ -177,12 +195,12 @@ class GclientApi(recipe_api.RecipeApi):
|
|
177
195
|
**kwargs)
|
178
196
|
finally:
|
179
197
|
result = self.m.step.active_result
|
180
|
-
|
181
|
-
for
|
198
|
+
solutions = result.json.output['solutions']
|
199
|
+
for propname, path in sorted(
|
200
|
+
self.got_revision_reverse_mapping(cfg).iteritems()):
|
182
201
|
# gclient json paths always end with a slash
|
183
|
-
|
184
|
-
if
|
185
|
-
propname = cfg.got_revision_mapping[path]
|
202
|
+
info = solutions.get(path + '/') or solutions.get(path)
|
203
|
+
if info:
|
186
204
|
result.presentation.properties[propname] = info['revision']
|
187
205
|
|
188
206
|
return result
|
@@ -250,12 +268,8 @@ class GclientApi(recipe_api.RecipeApi):
|
|
250
268
|
def runhooks(self, args=None, name='runhooks', **kwargs):
|
251
269
|
args = args or []
|
252
270
|
assert isinstance(args, (list, tuple))
|
253
|
-
context
|
254
|
-
|
255
|
-
context['cwd'] = self.m.path['checkout']
|
256
|
-
with self.m.step.context(context):
|
257
|
-
return self(
|
258
|
-
name, ['runhooks'] + list(args), infra_step=False, **kwargs)
|
271
|
+
with self.m.context(cwd=(self.m.context.cwd or self.m.path['checkout'])):
|
272
|
+
return self(name, ['runhooks'] + list(args), infra_step=False, **kwargs)
|
259
273
|
|
260
274
|
@property
|
261
275
|
def is_blink_mode(self):
|
@@ -42,8 +42,13 @@ def BaseConfig(USE_MIRROR=True, CACHE_DIR=None,
|
|
42
42
|
src_root = Single(basestring, required=False, hidden=True),
|
43
43
|
|
44
44
|
# Maps 'solution' -> build_property
|
45
|
+
# TODO(machenbach): Deprecate this in favor of the one below.
|
46
|
+
# http://crbug.com/713356
|
45
47
|
got_revision_mapping = Dict(hidden=True),
|
46
48
|
|
49
|
+
# Maps build_property -> 'solution'
|
50
|
+
got_revision_reverse_mapping = Dict(hidden=True),
|
51
|
+
|
47
52
|
# Addition revisions we want to pass in. For now theres a duplication
|
48
53
|
# of code here of setting custom vars AND passing in --revision. We hope
|
49
54
|
# to remove custom vars later.
|
@@ -85,6 +90,8 @@ def BaseConfig(USE_MIRROR=True, CACHE_DIR=None,
|
|
85
90
|
required=False,
|
86
91
|
hidden=True),
|
87
92
|
|
93
|
+
disable_syntax_validation = Single(bool, empty_val=False, required=False),
|
94
|
+
|
88
95
|
USE_MIRROR = Static(bool(USE_MIRROR)),
|
89
96
|
# TODO(tandrii): remove PATCH_PROJECT field.
|
90
97
|
# DON'T USE THIS. WILL BE REMOVED.
|
@@ -97,154 +104,18 @@ config_ctx = config_item_context(BaseConfig)
|
|
97
104
|
def ChromiumGitURL(_c, *pieces):
|
98
105
|
return '/'.join(('https://chromium.googlesource.com',) + pieces)
|
99
106
|
|
100
|
-
def ChromiumSrcURL(c):
|
101
|
-
return ChromiumGitURL(c, 'chromium', 'src.git')
|
102
|
-
|
103
107
|
# TODO(phajdan.jr): Move to proper repo and add coverage.
|
104
108
|
def ChromeInternalGitURL(_c, *pieces): # pragma: no cover
|
105
109
|
return '/'.join(('https://chrome-internal.googlesource.com',) + pieces)
|
106
110
|
|
107
|
-
def ChromeInternalSrcURL(c):
|
108
|
-
return ChromeInternalGitURL(c, 'chrome', 'src-internal.git')
|
109
|
-
|
110
|
-
def mirror_only(c, obj, default=None):
|
111
|
-
return obj if c.USE_MIRROR else (default or obj.__class__())
|
112
|
-
|
113
|
-
@config_ctx()
|
114
|
-
def chromium_bare(c):
|
115
|
-
s = c.solutions.add()
|
116
|
-
s.name = 'src'
|
117
|
-
s.url = ChromiumSrcURL(c)
|
118
|
-
s.custom_vars = {}
|
119
|
-
m = c.got_revision_mapping
|
120
|
-
m['src'] = 'got_revision'
|
121
|
-
m['src/native_client'] = 'got_nacl_revision'
|
122
|
-
m['src/tools/swarming_client'] = 'got_swarming_client_revision'
|
123
|
-
m['src/v8'] = 'got_v8_revision'
|
124
|
-
m['src/third_party/angle'] = 'got_angle_revision'
|
125
|
-
m['src/third_party/webrtc'] = 'got_webrtc_revision'
|
126
|
-
m['src/buildtools'] = 'got_buildtools_revision'
|
127
|
-
|
128
|
-
p = c.parent_got_revision_mapping
|
129
|
-
p['parent_got_revision'] = None
|
130
|
-
p['parent_got_angle_revision'] = 'angle_revision'
|
131
|
-
p['parent_got_nacl_revision'] = 'nacl_revision'
|
132
|
-
p['parent_got_swarming_client_revision'] = 'swarming_revision'
|
133
|
-
p['parent_got_v8_revision'] = 'v8_revision'
|
134
|
-
p['parent_got_webrtc_revision'] = 'webrtc_revision'
|
135
|
-
|
136
|
-
p = c.patch_projects
|
137
|
-
p['angle/angle'] = ('src/third_party/angle', None)
|
138
|
-
p['blink'] = ('src/third_party/WebKit', None)
|
139
|
-
p['buildtools'] = ('src/buildtools', 'HEAD')
|
140
|
-
p['catapult'] = ('src/third_party/catapult', 'HEAD')
|
141
|
-
p['flac'] = ('src/third_party/flac', 'HEAD')
|
142
|
-
p['icu'] = ('src/third_party/icu', 'HEAD')
|
143
|
-
p['pdfium'] = ('src/third_party/pdfium', 'HEAD')
|
144
|
-
p['skia'] = ('src/third_party/skia', 'HEAD')
|
145
|
-
p['v8'] = ('src/v8', 'HEAD')
|
146
|
-
p['v8/v8'] = ('src/v8', 'HEAD')
|
147
|
-
p['webrtc'] = ('src/third_party/webrtc', 'HEAD')
|
148
|
-
|
149
|
-
@config_ctx(includes=['chromium_bare'])
|
150
|
-
def chromium_empty(c):
|
151
|
-
c.solutions[0].deps_file = '' # pragma: no cover
|
152
|
-
|
153
|
-
@config_ctx(includes=['chromium_bare'])
|
154
|
-
def chromium(c):
|
155
|
-
s = c.solutions[0]
|
156
|
-
s.custom_deps = mirror_only(c, {})
|
157
|
-
|
158
|
-
@config_ctx(includes=['chromium'])
|
159
|
-
def chromium_lkcr(c):
|
160
|
-
s = c.solutions[0]
|
161
|
-
s.revision = 'origin/lkcr'
|
162
|
-
|
163
|
-
@config_ctx(includes=['chromium'])
|
164
|
-
def chromium_lkgr(c):
|
165
|
-
s = c.solutions[0]
|
166
|
-
s.revision = 'origin/lkgr'
|
167
|
-
|
168
|
-
@config_ctx(includes=['chromium_bare'])
|
169
|
-
def android_bare(c):
|
170
|
-
# We inherit from chromium_bare to get the got_revision mapping.
|
171
|
-
# NOTE: We don't set a specific got_revision mapping for src/repo.
|
172
|
-
del c.solutions[0]
|
173
|
-
c.got_revision_mapping['src'] = 'got_src_revision'
|
174
|
-
s = c.solutions.add()
|
175
|
-
s.deps_file = '.DEPS.git'
|
176
|
-
|
177
|
-
# TODO(iannucci,vadimsh): Switch this to src-limited
|
178
111
|
@config_ctx()
|
179
|
-
def
|
180
|
-
|
181
|
-
s.name = 'src-internal'
|
182
|
-
s.url = ChromeInternalSrcURL(c)
|
183
|
-
# Remove some things which are generally not needed
|
184
|
-
s.custom_deps = {
|
185
|
-
"src/data/autodiscovery" : None,
|
186
|
-
"src/data/page_cycler" : None,
|
187
|
-
"src/tools/grit/grit/test/data" : None,
|
188
|
-
"src/chrome/test/data/perf/frame_rate/private" : None,
|
189
|
-
"src/data/mozilla_js_tests" : None,
|
190
|
-
"src/chrome/test/data/firefox2_profile/searchplugins" : None,
|
191
|
-
"src/chrome/test/data/firefox2_searchplugins" : None,
|
192
|
-
"src/chrome/test/data/firefox3_profile/searchplugins" : None,
|
193
|
-
"src/chrome/test/data/firefox3_searchplugins" : None,
|
194
|
-
"src/chrome/test/data/ssl/certs" : None,
|
195
|
-
"src/data/mach_ports" : None,
|
196
|
-
"src/data/esctf" : None,
|
197
|
-
"src/data/selenium_core" : None,
|
198
|
-
"src/chrome/test/data/plugin" : None,
|
199
|
-
"src/data/memory_test" : None,
|
200
|
-
"src/data/tab_switching" : None,
|
201
|
-
"src/chrome/test/data/osdd" : None,
|
202
|
-
"src/webkit/data/bmp_decoder":None,
|
203
|
-
"src/webkit/data/ico_decoder":None,
|
204
|
-
"src/webkit/data/test_shell/plugins":None,
|
205
|
-
"src/webkit/data/xbm_decoder":None,
|
206
|
-
}
|
207
|
-
|
208
|
-
@config_ctx(includes=['chromium'])
|
209
|
-
def blink(c):
|
210
|
-
c.solutions[0].revision = 'HEAD'
|
211
|
-
del c.solutions[0].custom_deps
|
212
|
-
c.revisions['src/third_party/WebKit'] = 'HEAD'
|
213
|
-
|
214
|
-
# TODO(phajdan.jr): Move to proper repo and add coverage.
|
215
|
-
@config_ctx(includes=['chromium'])
|
216
|
-
def blink_merged(c): # pragma: no cover
|
217
|
-
c.solutions[0].url = \
|
218
|
-
'https://chromium.googlesource.com/playground/chromium-blink-merge.git'
|
112
|
+
def disable_syntax_validation(c):
|
113
|
+
c.disable_syntax_validation = True
|
219
114
|
|
220
115
|
@config_ctx()
|
221
116
|
def android(c):
|
222
117
|
c.target_os.add('android')
|
223
118
|
|
224
|
-
@config_ctx(includes=['chromium', 'chrome_internal'])
|
225
|
-
def ios(c):
|
226
|
-
c.target_os.add('ios')
|
227
|
-
|
228
|
-
@config_ctx(includes=['chromium'])
|
229
|
-
def show_v8_revision(c):
|
230
|
-
# Have the V8 revision appear in the web UI instead of Chromium's.
|
231
|
-
c.got_revision_mapping['src'] = 'got_cr_revision'
|
232
|
-
c.got_revision_mapping['src/v8'] = 'got_revision'
|
233
|
-
# Needed to get the testers to properly sync the right revision.
|
234
|
-
c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision'
|
235
|
-
|
236
|
-
@config_ctx(includes=['chromium'])
|
237
|
-
def v8_bleeding_edge_git(c):
|
238
|
-
c.solutions[0].revision = 'HEAD'
|
239
|
-
# TODO(machenbach): If bot_update is activated for all v8-chromium bots
|
240
|
-
# and there's no gclient fallback, then the following line can be removed.
|
241
|
-
c.solutions[0].custom_vars['v8_branch'] = 'branches/bleeding_edge'
|
242
|
-
c.revisions['src/v8'] = 'HEAD'
|
243
|
-
|
244
|
-
@config_ctx()
|
245
|
-
def v8_canary(c):
|
246
|
-
c.revisions['src/v8'] = 'origin/canary'
|
247
|
-
|
248
119
|
@config_ctx()
|
249
120
|
def nacl(c):
|
250
121
|
s = c.solutions.add()
|
@@ -359,74 +230,6 @@ def internal_deps(c):
|
|
359
230
|
'chrome/tools/build/internal.DEPS.git')
|
360
231
|
c.got_revision_mapping['build_internal/internal.DEPS'] = 'got_revision'
|
361
232
|
|
362
|
-
@config_ctx(includes=['chromium', 'chrome_internal'])
|
363
|
-
def perf(c):
|
364
|
-
s = c.solutions[0]
|
365
|
-
s.managed = False
|
366
|
-
needed_components_internal = [
|
367
|
-
"src/data/page_cycler",
|
368
|
-
]
|
369
|
-
for key in needed_components_internal:
|
370
|
-
del c.solutions[1].custom_deps[key]
|
371
|
-
c.solutions[1].managed = False
|
372
|
-
|
373
|
-
@config_ctx(includes=['chromium', 'chrome_internal'])
|
374
|
-
def chromium_perf(c):
|
375
|
-
pass
|
376
|
-
|
377
|
-
@config_ctx(includes=['chromium_perf', 'android'])
|
378
|
-
def chromium_perf_android(c):
|
379
|
-
pass
|
380
|
-
|
381
|
-
@config_ctx(includes=['chromium'])
|
382
|
-
def chromium_skia(c):
|
383
|
-
c.solutions[0].revision = 'HEAD'
|
384
|
-
del c.solutions[0].custom_deps
|
385
|
-
c.revisions['src/third_party/skia'] = (
|
386
|
-
gclient_api.RevisionFallbackChain('origin/master'))
|
387
|
-
c.got_revision_mapping['src'] = 'got_chromium_revision'
|
388
|
-
c.got_revision_mapping['src/third_party/skia'] = 'got_revision'
|
389
|
-
c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision'
|
390
|
-
|
391
|
-
@config_ctx(includes=['chromium'])
|
392
|
-
def chromium_webrtc(c):
|
393
|
-
c.got_revision_mapping['src/third_party/libvpx/source'] = (
|
394
|
-
'got_libvpx_revision')
|
395
|
-
|
396
|
-
@config_ctx(includes=['chromium_webrtc'])
|
397
|
-
def chromium_webrtc_tot(c):
|
398
|
-
"""Configures WebRTC ToT revision for Chromium src/third_party/webrtc.
|
399
|
-
|
400
|
-
Sets up ToT instead of the DEPS-pinned revision for WebRTC.
|
401
|
-
This is used for some bots to provide data about which revisions are green to
|
402
|
-
roll into Chromium.
|
403
|
-
"""
|
404
|
-
c.revisions['src'] = 'HEAD'
|
405
|
-
c.revisions['src/third_party/webrtc'] = 'HEAD'
|
406
|
-
|
407
|
-
# Have the WebRTC revision appear in the web UI instead of Chromium's.
|
408
|
-
# This is also important for set_component_rev to work, since got_revision
|
409
|
-
# will become a WebRTC revision instead of Chromium.
|
410
|
-
c.got_revision_mapping['src'] = 'got_cr_revision'
|
411
|
-
c.got_revision_mapping['src/third_party/webrtc'] = 'got_revision'
|
412
|
-
|
413
|
-
# Needed to get the testers to properly sync the right revision.
|
414
|
-
c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision'
|
415
|
-
c.parent_got_revision_mapping['parent_got_webrtc_revision'] = (
|
416
|
-
'got_webrtc_revision')
|
417
|
-
|
418
|
-
@config_ctx()
|
419
|
-
def webrtc_test_resources(c):
|
420
|
-
"""Add webrtc.DEPS solution for test resources and tools.
|
421
|
-
|
422
|
-
The webrtc.DEPS solution pulls in additional resources needed for running
|
423
|
-
WebRTC-specific test setups in Chromium.
|
424
|
-
"""
|
425
|
-
s = c.solutions.add()
|
426
|
-
s.name = 'webrtc.DEPS'
|
427
|
-
s.url = ChromiumGitURL(c, 'chromium', 'deps', 'webrtc', 'webrtc.DEPS')
|
428
|
-
s.deps_file = 'DEPS'
|
429
|
-
|
430
233
|
@config_ctx()
|
431
234
|
def pdfium(c):
|
432
235
|
soln = c.solutions.add()
|
@@ -547,6 +350,7 @@ def infradata_master_manager(c):
|
|
547
350
|
soln.name = 'infra-data-master-manager'
|
548
351
|
soln.url = (
|
549
352
|
'https://chrome-internal.googlesource.com/infradata/master-manager.git')
|
353
|
+
del c.got_revision_mapping['infra_internal']
|
550
354
|
c.got_revision_mapping['infra-data-master-manager'] = 'got_revision'
|
551
355
|
|
552
356
|
@config_ctx()
|
@@ -562,37 +366,8 @@ def custom_tabs_client(c):
|
|
562
366
|
'GoogleChrome/custom-tabs-client.git')
|
563
367
|
c.got_revision_mapping['custom_tabs_client'] = 'got_revision'
|
564
368
|
|
565
|
-
# TODO(phajdan.jr): Move to proper repo and add coverage.
|
566
|
-
@config_ctx()
|
567
|
-
def angle_top_of_tree(c): # pragma: no cover
|
568
|
-
"""Configures the top-of-tree ANGLE in a Chromium checkout.
|
569
|
-
|
570
|
-
Sets up ToT instead of the DEPS-pinned revision for ANGLE.
|
571
|
-
"""
|
572
|
-
# TODO(tandrii): I think patch_projects in bare_chromium fixed this.
|
573
|
-
c.solutions[0].revision = 'HEAD'
|
574
|
-
c.revisions['src/third_party/angle'] = 'HEAD'
|
575
|
-
|
576
369
|
@config_ctx()
|
577
370
|
def gerrit_test_cq_normal(c):
|
578
371
|
soln = c.solutions.add()
|
579
372
|
soln.name = 'gerrit-test-cq-normal'
|
580
373
|
soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git'
|
581
|
-
|
582
|
-
# TODO(phajdan.jr): Move to proper repo and add coverage.
|
583
|
-
@config_ctx()
|
584
|
-
def valgrind(c): # pragma: no cover
|
585
|
-
"""Add Valgrind binaries to the gclient solution."""
|
586
|
-
c.solutions[0].custom_deps['src/third_party/valgrind'] = \
|
587
|
-
ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')
|
588
|
-
|
589
|
-
@config_ctx(includes=['chromium'])
|
590
|
-
def chromedriver(c):
|
591
|
-
"""Add Selenium Java tests to the gclient solution."""
|
592
|
-
c.solutions[0].custom_deps[
|
593
|
-
'src/chrome/test/chromedriver/third_party/java_tests'] = (
|
594
|
-
ChromiumGitURL(c, 'chromium', 'deps', 'webdriver'))
|
595
|
-
|
596
|
-
@config_ctx()
|
597
|
-
def ndk_next(c):
|
598
|
-
c.revisions['src/third_party/android_tools/ndk'] = 'origin/next'
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
|
10
10
|
],
|
11
11
|
"env": {
|
12
|
-
"PATH": "
|
12
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
13
13
|
},
|
14
14
|
"infra_step": true,
|
15
15
|
"name": "gclient setup"
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"/path/to/tmp/json"
|
34
34
|
],
|
35
35
|
"env": {
|
36
|
-
"PATH": "
|
36
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
37
37
|
},
|
38
38
|
"infra_step": true,
|
39
39
|
"name": "gclient sync",
|
@@ -60,7 +60,7 @@
|
|
60
60
|
"local_bot"
|
61
61
|
],
|
62
62
|
"env": {
|
63
|
-
"PATH": "
|
63
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
64
64
|
},
|
65
65
|
"infra_step": true,
|
66
66
|
"name": "gclient recurse (git config user.name)"
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"local_bot@example.com"
|
78
78
|
],
|
79
79
|
"env": {
|
80
|
-
"PATH": "
|
80
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
81
81
|
},
|
82
82
|
"infra_step": true,
|
83
83
|
"name": "gclient recurse (git config user.email)"
|
@@ -93,7 +93,7 @@
|
|
93
93
|
],
|
94
94
|
"cwd": "[START_DIR]/src/third_party",
|
95
95
|
"env": {
|
96
|
-
"PATH": "
|
96
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
97
97
|
},
|
98
98
|
"infra_step": true,
|
99
99
|
"name": "[spec: Angle] gclient setup"
|
@@ -120,7 +120,7 @@
|
|
120
120
|
],
|
121
121
|
"cwd": "[START_DIR]/src/third_party",
|
122
122
|
"env": {
|
123
|
-
"PATH": "
|
123
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
124
124
|
},
|
125
125
|
"infra_step": true,
|
126
126
|
"name": "[spec: Angle] gclient sync",
|
@@ -152,7 +152,7 @@
|
|
152
152
|
],
|
153
153
|
"cwd": "[START_DIR]/src/third_party",
|
154
154
|
"env": {
|
155
|
-
"PATH": "
|
155
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
156
156
|
},
|
157
157
|
"infra_step": true,
|
158
158
|
"name": "[spec: Angle] gclient recurse (git config user.name)"
|
@@ -170,7 +170,7 @@
|
|
170
170
|
],
|
171
171
|
"cwd": "[START_DIR]/src/third_party",
|
172
172
|
"env": {
|
173
|
-
"PATH": "
|
173
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
174
174
|
},
|
175
175
|
"infra_step": true,
|
176
176
|
"name": "[spec: Angle] gclient recurse (git config user.email)"
|
@@ -208,7 +208,7 @@
|
|
208
208
|
],
|
209
209
|
"cwd": "[START_DIR]/src",
|
210
210
|
"env": {
|
211
|
-
"PATH": "
|
211
|
+
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
212
212
|
},
|
213
213
|
"name": "gclient runhooks"
|
214
214
|
},
|