libv8 4.5.95.5 → 5.0.71.48.0beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +45 -19
- data/CHANGELOG.md +14 -0
- data/README.md +30 -15
- data/Rakefile +7 -6
- data/ext/libv8/arch.rb +5 -4
- data/ext/libv8/builder.rb +25 -19
- data/ext/libv8/compiler.rb +6 -33
- data/ext/libv8/location.rb +7 -8
- data/lib/libv8/version.rb +1 -1
- data/libv8.gemspec +1 -1
- data/patches/build-standalone-static-library.patch +14 -0
- data/patches/disable-building-tests.patch +48 -10
- data/patches/fPIC-for-static.patch +3 -3
- data/release/x86-linux/Vagrantfile +8 -4
- data/release/x86_64-freebsd10/Vagrantfile +86 -0
- data/release/x86_64-linux/Vagrantfile +8 -4
- data/spec/compiler_spec.rb +5 -29
- data/spec/support/compiler_helpers.rb +2 -4
- data/vendor/depot_tools/.gitignore +15 -3
- data/vendor/depot_tools/OWNERS +2 -2
- data/vendor/depot_tools/PRESUBMIT.py +4 -2
- data/vendor/depot_tools/WATCHLISTS +6 -0
- data/vendor/depot_tools/apply_issue.py +70 -38
- data/vendor/depot_tools/bootstrap/win/README.md +66 -0
- data/vendor/depot_tools/bootstrap/win/git-bash.template.sh +12 -0
- data/vendor/depot_tools/bootstrap/win/git.template.bat +5 -0
- data/vendor/depot_tools/bootstrap/win/profile.d.python.sh +20 -0
- data/vendor/depot_tools/bootstrap/win/win_tools.bat +96 -45
- data/vendor/depot_tools/breakpad.py +6 -141
- data/vendor/depot_tools/buildbucket.py +45 -31
- data/vendor/depot_tools/cbuildbot +1 -0
- data/vendor/depot_tools/checkout.py +2 -1
- data/vendor/depot_tools/chrome_set_ver +1 -0
- data/vendor/depot_tools/cit +8 -0
- data/vendor/depot_tools/cit.bat +11 -0
- data/vendor/depot_tools/cit.py +120 -0
- data/vendor/depot_tools/codereview.settings +0 -2
- data/vendor/depot_tools/commit_queue +1 -5
- data/vendor/depot_tools/commit_queue.bat +1 -4
- data/vendor/depot_tools/commit_queue.py +78 -29
- data/vendor/depot_tools/cpplint.py +22 -14
- data/vendor/depot_tools/cros +1 -0
- data/vendor/depot_tools/cros_sdk +1 -0
- data/vendor/depot_tools/depot-tools-auth.py +3 -3
- data/vendor/depot_tools/download_from_google_storage.py +101 -21
- data/vendor/depot_tools/drover.py +2 -3
- data/vendor/depot_tools/fetch.py +31 -27
- data/vendor/depot_tools/{recipes → fetch_configs}/android.py +4 -4
- data/vendor/depot_tools/fetch_configs/breakpad.py +45 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/chromium.py +3 -3
- data/vendor/depot_tools/{recipes/recipe_util.py → fetch_configs/config_util.py} +3 -3
- data/vendor/depot_tools/fetch_configs/crashpad.py +41 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/dart.py +3 -3
- data/vendor/depot_tools/{recipes/pdfium.py → fetch_configs/dartino.py} +14 -13
- data/vendor/depot_tools/{recipes → fetch_configs}/dartium.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/depot_tools.py +3 -3
- data/vendor/depot_tools/fetch_configs/gyp.py +42 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/infra.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/infra_internal.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/ios.py +4 -4
- data/vendor/depot_tools/{recipes → fetch_configs}/mojo.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/nacl.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/naclports.py +3 -3
- data/vendor/depot_tools/fetch_configs/pdfium.py +40 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/skia.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/skia_buildbot.py +3 -3
- data/vendor/depot_tools/fetch_configs/syzygy.py +41 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/v8.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_android.py +4 -4
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_ios.py +4 -4
- data/vendor/depot_tools/fix_encoding.py +6 -6
- data/vendor/depot_tools/gcl.py +11 -21
- data/vendor/depot_tools/gclient +10 -0
- data/vendor/depot_tools/gclient-new-workdir.py +7 -38
- data/vendor/depot_tools/gclient.bat +2 -2
- data/vendor/depot_tools/gclient.py +85 -65
- data/vendor/depot_tools/gclient_scm.py +83 -10
- data/vendor/depot_tools/gclient_utils.py +5 -1
- data/vendor/depot_tools/gerrit_util.py +243 -26
- data/vendor/depot_tools/git-auto-svn +1 -1
- data/vendor/depot_tools/git-cache +1 -1
- data/vendor/depot_tools/git-cherry-pick-upload +1 -1
- data/vendor/depot_tools/git-cl +1 -1
- data/vendor/depot_tools/git-drover +6 -0
- data/vendor/depot_tools/git-find-releases +6 -0
- data/vendor/depot_tools/git-footers +1 -1
- data/vendor/depot_tools/git-freeze +1 -1
- data/vendor/depot_tools/git-gs +1 -1
- data/vendor/depot_tools/git-hyper-blame +6 -0
- data/vendor/depot_tools/git-map +1 -1
- data/vendor/depot_tools/git-map-branches +1 -1
- data/vendor/depot_tools/git-mark-merge-base +1 -1
- data/vendor/depot_tools/git-nav-downstream +1 -1
- data/vendor/depot_tools/git-new-branch +1 -1
- data/vendor/depot_tools/git-number +1 -1
- data/vendor/depot_tools/git-rebase-update +1 -1
- data/vendor/depot_tools/git-rename-branch +1 -1
- data/vendor/depot_tools/git-reparent-branch +1 -1
- data/vendor/depot_tools/git-retry +1 -1
- data/vendor/depot_tools/git-squash-branch +1 -1
- data/vendor/depot_tools/git-thaw +1 -1
- data/vendor/depot_tools/git-try +1 -1
- data/vendor/depot_tools/git-upstream-diff +1 -1
- data/vendor/depot_tools/git_auto_svn.py +24 -6
- data/vendor/depot_tools/git_cache.py +74 -27
- data/vendor/depot_tools/git_cl.py +2118 -747
- data/vendor/depot_tools/git_common.py +100 -6
- data/vendor/depot_tools/git_dates.py +62 -0
- data/vendor/depot_tools/git_drover.py +424 -0
- data/vendor/depot_tools/git_find_releases.py +65 -0
- data/vendor/depot_tools/git_footers.py +42 -0
- data/vendor/depot_tools/git_hyper_blame.py +391 -0
- data/vendor/depot_tools/git_map_branches.py +8 -6
- data/vendor/depot_tools/git_new_branch.py +6 -1
- data/vendor/depot_tools/git_rebase_update.py +56 -16
- data/vendor/depot_tools/git_reparent_branch.py +13 -0
- data/vendor/depot_tools/git_try.py +0 -2
- data/vendor/depot_tools/gsutil.py +51 -20
- data/vendor/depot_tools/infra/config/OWNERS +3 -1
- data/vendor/depot_tools/infra/config/cq.cfg +7 -3
- data/vendor/depot_tools/infra/config/recipes.cfg +9 -0
- data/vendor/depot_tools/luci_hacks/README.md +35 -0
- data/vendor/depot_tools/{bootstrap/virtualenv/tests → luci_hacks}/__init__.py +0 -0
- data/vendor/depot_tools/luci_hacks/luci_recipe_run.isolate +12 -0
- data/vendor/depot_tools/luci_hacks/luci_recipe_run.py +81 -0
- data/vendor/depot_tools/luci_hacks/trigger_luci_job.py +128 -0
- data/vendor/depot_tools/man/html/depot_tools.html +9 -1
- data/vendor/depot_tools/man/html/depot_tools_tutorial.html +4 -4
- data/vendor/depot_tools/man/html/git-drover.html +191 -35
- data/vendor/depot_tools/man/html/git-hyper-blame.html +878 -0
- data/vendor/depot_tools/man/html/git-rebase-update.html +9 -4
- data/vendor/depot_tools/man/man1/git-drover.1 +189 -36
- data/vendor/depot_tools/man/man1/git-hyper-blame.1 +128 -0
- data/vendor/depot_tools/man/man1/git-rebase-update.1 +8 -6
- data/vendor/depot_tools/man/man7/depot_tools.7 +9 -4
- data/vendor/depot_tools/man/src/_git-hyper-blame_desc.helper.txt +1 -0
- data/vendor/depot_tools/man/src/common_demo_functions.sh +5 -0
- data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +1 -1
- data/vendor/depot_tools/man/src/git-drover.demo.1.sh +11 -16
- data/vendor/depot_tools/man/src/git-drover.demo.3.sh +27 -0
- data/vendor/depot_tools/man/src/git-drover.demo.4.sh +39 -0
- data/vendor/depot_tools/man/src/git-drover.txt +49 -3
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.1.sh +3 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.2.sh +4 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.common.sh +57 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.txt +85 -0
- data/vendor/depot_tools/man/src/git-rebase-update.txt +5 -1
- data/vendor/depot_tools/my_activity.py +6 -21
- data/vendor/depot_tools/ninja +2 -2
- data/vendor/depot_tools/ninja-linux32 +0 -0
- data/vendor/depot_tools/ninja-linux64 +0 -0
- data/vendor/depot_tools/ninja-mac +0 -0
- data/vendor/depot_tools/ninja.exe +0 -0
- data/vendor/depot_tools/presubmit_canned_checks.py +83 -69
- data/vendor/depot_tools/presubmit_support.py +126 -42
- data/vendor/depot_tools/pylint.py +5 -1
- data/vendor/depot_tools/python_runner.sh +55 -0
- data/vendor/depot_tools/recipe_modules/bot_update/__init__.py +32 -0
- data/vendor/depot_tools/recipe_modules/bot_update/api.py +283 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic.json +56 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_output_manifest.json +63 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +57 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/clobber.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/forced.json +57 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/no_shallow.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/off.json +43 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +43 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/svn_mode.json +59 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange.json +58 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2.json +60 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob.json +58 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +60 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +81 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +81 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +49 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8.json +61 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +51 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.py +172 -0
- data/vendor/depot_tools/{bootstrap/virtualenv/virtualenv_support → recipe_modules/bot_update/resources}/__init__.py +0 -0
- data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +1764 -0
- data/vendor/depot_tools/recipe_modules/bot_update/test_api.py +86 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/__init__.py +3 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/api.py +27 -0
- data/vendor/depot_tools/recipe_modules/gclient/__init__.py +10 -0
- data/vendor/depot_tools/recipe_modules/gclient/api.py +378 -0
- data/vendor/depot_tools/recipe_modules/gclient/config.py +671 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +172 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +174 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +185 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.py +100 -0
- data/vendor/depot_tools/recipe_modules/gclient/test_api.py +37 -0
- data/vendor/depot_tools/recipe_modules/git/__init__.py +9 -0
- data/vendor/depot_tools/recipe_modules/git/api.py +377 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_branch.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_file_name.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_hash.json +176 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_ref.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_submodule_update_force.json +178 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +153 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/cannot_fail_build.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/cat-file_test.json +199 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_delta.json +250 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_failed.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json +182 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +102 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +186 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/set_got_revision.json +178 -0
- data/vendor/depot_tools/recipe_modules/git/example.py +147 -0
- data/vendor/depot_tools/recipe_modules/git/resources/git_setup.py +61 -0
- data/vendor/depot_tools/recipe_modules/git/test_api.py +18 -0
- data/vendor/depot_tools/recipe_modules/git_cl/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/git_cl/api.py +25 -0
- data/vendor/depot_tools/recipe_modules/git_cl/config.py +22 -0
- data/vendor/depot_tools/recipe_modules/git_cl/example.expected/basic.json +66 -0
- data/vendor/depot_tools/recipe_modules/git_cl/example.py +41 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/api.py +12 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/basic.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_linux.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_mac.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_win.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.py +28 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +45 -0
- data/vendor/depot_tools/recipe_modules/presubmit/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/presubmit/api.py +20 -0
- data/vendor/depot_tools/recipe_modules/presubmit/example.expected/basic.json +18 -0
- data/vendor/depot_tools/recipe_modules/presubmit/example.py +15 -0
- data/vendor/depot_tools/recipe_modules/rietveld/__init__.py +5 -0
- data/vendor/depot_tools/recipe_modules/rietveld/api.py +94 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.expected/basic.json +30 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.py +24 -0
- data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +15 -0
- data/vendor/depot_tools/recipe_modules/tryserver/api.py +280 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +104 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +58 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +58 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_svn_patch.json +68 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +43 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +43 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.py +53 -0
- data/vendor/depot_tools/recipe_modules/tryserver/test_api.py +7 -0
- data/vendor/depot_tools/recipes.py +136 -0
- data/vendor/depot_tools/repo +1 -1
- data/vendor/depot_tools/rietveld.py +46 -15
- data/vendor/depot_tools/roll_dep.py +97 -36
- data/vendor/depot_tools/scm.py +3 -3
- data/vendor/depot_tools/setup_color.py +94 -0
- data/vendor/depot_tools/subprocess2.py +10 -1
- data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -1
- data/vendor/depot_tools/third_party/cq_client/README.md +47 -9
- data/vendor/depot_tools/third_party/cq_client/cq.pb.go +617 -0
- data/vendor/depot_tools/third_party/cq_client/cq.proto +75 -17
- data/vendor/depot_tools/third_party/cq_client/cq_pb2.py +168 -41
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_gerrit.cfg +55 -0
- data/vendor/depot_tools/third_party/cq_client/{test/cq_example.cfg → testdata/cq_rietveld.cfg} +14 -6
- data/vendor/depot_tools/third_party/fancy_urllib/README +5 -4
- data/vendor/depot_tools/third_party/fancy_urllib/__init__.py +114 -52
- data/vendor/depot_tools/third_party/protobuf26/README.chromium +9 -6
- data/vendor/depot_tools/third_party/upload.py +17 -31
- data/vendor/depot_tools/trychange.py +0 -2
- data/vendor/depot_tools/update_depot_tools +29 -11
- data/vendor/depot_tools/update_depot_tools.bat +4 -9
- data/vendor/depot_tools/upload_to_google_storage.py +42 -5
- data/vendor/depot_tools/win_toolchain/OWNERS +1 -0
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +227 -52
- data/vendor/depot_tools/win_toolchain/package_from_installed.py +203 -88
- metadata +161 -81
- data/patches/arm/do-not-imply-vfp3-and-armv7.patch +0 -16
- data/patches/arm/do-not-use-vfp2.patch +0 -13
- data/patches/clang51/no-unused-variable.patch +0 -12
- data/vendor/depot_tools/bootstrap/.gitignore +0 -2
- data/vendor/depot_tools/bootstrap/bootstrap.py +0 -234
- data/vendor/depot_tools/bootstrap/deps.pyl +0 -15
- data/vendor/depot_tools/bootstrap/util.py +0 -87
- data/vendor/depot_tools/bootstrap/virtualenv/.gitignore +0 -10
- data/vendor/depot_tools/bootstrap/virtualenv/.travis.yml +0 -28
- data/vendor/depot_tools/bootstrap/virtualenv/AUTHORS.txt +0 -91
- data/vendor/depot_tools/bootstrap/virtualenv/CONTRIBUTING.rst +0 -21
- data/vendor/depot_tools/bootstrap/virtualenv/LICENSE.txt +0 -22
- data/vendor/depot_tools/bootstrap/virtualenv/MANIFEST.in +0 -11
- data/vendor/depot_tools/bootstrap/virtualenv/README.rst +0 -10
- data/vendor/depot_tools/bootstrap/virtualenv/bin/rebuild-script.py +0 -71
- data/vendor/depot_tools/bootstrap/virtualenv/docs/changes.rst +0 -747
- data/vendor/depot_tools/bootstrap/virtualenv/docs/conf.py +0 -149
- data/vendor/depot_tools/bootstrap/virtualenv/docs/development.rst +0 -61
- data/vendor/depot_tools/bootstrap/virtualenv/docs/index.rst +0 -137
- data/vendor/depot_tools/bootstrap/virtualenv/docs/installation.rst +0 -58
- data/vendor/depot_tools/bootstrap/virtualenv/docs/make.bat +0 -170
- data/vendor/depot_tools/bootstrap/virtualenv/docs/reference.rst +0 -256
- data/vendor/depot_tools/bootstrap/virtualenv/docs/userguide.rst +0 -249
- data/vendor/depot_tools/bootstrap/virtualenv/scripts/virtualenv +0 -3
- data/vendor/depot_tools/bootstrap/virtualenv/setup.py +0 -111
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate.sh +0 -94
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate_expected.output +0 -2
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_virtualenv.py +0 -139
- data/vendor/depot_tools/bootstrap/virtualenv/tests/tox.ini +0 -12
- data/vendor/depot_tools/bootstrap/virtualenv/tox.ini +0 -17
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv.py +0 -2367
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.bat +0 -26
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.csh +0 -42
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.fish +0 -74
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.ps1 +0 -150
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.sh +0 -80
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate_this.py +0 -34
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/deactivate.bat +0 -20
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils-init.py +0 -101
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils.cfg +0 -6
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/site.py +0 -758
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/pip-6.0-py2.py3-none-any.whl +0 -0
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/setuptools-8.2.1-py2.py3-none-any.whl +0 -0
- data/vendor/depot_tools/bootstrap/win/README.google +0 -16
- data/vendor/depot_tools/cbuildbot +0 -96
- data/vendor/depot_tools/chrome_set_ver +0 -96
- data/vendor/depot_tools/cros +0 -96
- data/vendor/depot_tools/cros_sdk +0 -96
- data/vendor/depot_tools/git-cl-upload-hook +0 -52
- data/vendor/depot_tools/git-crup +0 -45
- data/vendor/depot_tools/python_git_runner.sh +0 -36
- data/vendor/depot_tools/recipes/blink.py +0 -59
- data/vendor/depot_tools/third_party/cq_client/test/validate_config_test.py +0 -52
- data/vendor/depot_tools/third_party/cq_client/validate_config.py +0 -108
- data/vendor/depot_tools/win_toolchain/toolchain2013.py +0 -494
@@ -18,7 +18,11 @@ _RC_FILE = os.path.join(_HERE, 'pylintrc')
|
|
18
18
|
# Run pylint. We prepend the command-line with the depot_tools rcfile. If
|
19
19
|
# another rcfile is to be used, passing --rcfile a second time on the command-
|
20
20
|
# line will work fine.
|
21
|
-
command = [sys.executable, _PYLINT
|
21
|
+
command = [sys.executable, _PYLINT]
|
22
|
+
if os.path.isfile(_RC_FILE):
|
23
|
+
# The file can be removed to test 'normal' pylint behavior.
|
24
|
+
command.append('--rcfile=%s' % _RC_FILE)
|
25
|
+
command.extend(sys.argv[1:])
|
22
26
|
try:
|
23
27
|
sys.exit(subprocess.call(command))
|
24
28
|
except KeyboardInterrupt:
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Copyright 2015 The Chromium Authors. All rights reserved.
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
3
|
+
# found in the LICENSE file.
|
4
|
+
|
5
|
+
## This file is designed to be sourced from a bash script whose name takes the
|
6
|
+
## form 'command-name'. This script will then instead invoke
|
7
|
+
## '[depot_tools]/command_name.py' correctly under mingw as well
|
8
|
+
## as posix-ey systems, passing along all other command line flags.
|
9
|
+
|
10
|
+
## Example:
|
11
|
+
## echo ". python_runner.sh" > git-foo-command
|
12
|
+
## ./git-foo-command #=> runs `python git_foo_command.py`
|
13
|
+
|
14
|
+
## Constants
|
15
|
+
PYTHONDONTWRITEBYTECODE=1
|
16
|
+
|
17
|
+
## "Input parameters".
|
18
|
+
# If set before the script is sourced, then we'll use the pre-set values.
|
19
|
+
#
|
20
|
+
# SCRIPT defaults to the basename of $0, with dashes replaced with underscores
|
21
|
+
|
22
|
+
# "$0" can have several different formats depending on how the script was called
|
23
|
+
# and the environment being used, including having different formats even in the
|
24
|
+
# same environment (e.g. in msys, 'git cl' causes $0 to have a Windows-style
|
25
|
+
# path, but calling 'git-cl' results in a POSIX-style path), so don't assume a
|
26
|
+
# particular format.
|
27
|
+
# First try to split it using Windows format ...
|
28
|
+
DEPOT_TOOLS="${0%\\*}"
|
29
|
+
if [[ "$DEPOT_TOOLS" = "$0" ]]; then
|
30
|
+
# If that didn't work, try POSIX format ...
|
31
|
+
DEPOT_TOOLS="${0%/*}"
|
32
|
+
if [[ "$DEPOT_TOOLS" = "$0" ]]; then
|
33
|
+
# Sometimes commands will run with no path (e.g. a git command run from
|
34
|
+
# within the depot_tools dir itself). In that case, treat it as if run like:
|
35
|
+
# "./command"
|
36
|
+
DEPOT_TOOLS="."
|
37
|
+
BASENAME="$0"
|
38
|
+
else
|
39
|
+
BASENAME="${0##*/}"
|
40
|
+
fi
|
41
|
+
else
|
42
|
+
BASENAME="${0##*\\}"
|
43
|
+
fi
|
44
|
+
|
45
|
+
SCRIPT="${SCRIPT-${BASENAME//-/_}.py}"
|
46
|
+
|
47
|
+
if [[ $PYTHON_DIRECT = 1 ]]; then
|
48
|
+
python.exe "$DEPOT_TOOLS\\$SCRIPT" "$@"
|
49
|
+
else
|
50
|
+
if [[ -e "$DEPOT_TOOLS/python.bat" && $OSTYPE = msys ]]; then
|
51
|
+
cmd.exe //c "$DEPOT_TOOLS\\python.bat" "$DEPOT_TOOLS\\$SCRIPT" "$@"
|
52
|
+
else
|
53
|
+
exec "$DEPOT_TOOLS/$SCRIPT" "$@"
|
54
|
+
fi
|
55
|
+
fi
|
@@ -0,0 +1,32 @@
|
|
1
|
+
DEPS = [
|
2
|
+
'gclient',
|
3
|
+
'recipe_engine/json',
|
4
|
+
'recipe_engine/path',
|
5
|
+
'recipe_engine/platform',
|
6
|
+
'recipe_engine/properties',
|
7
|
+
'recipe_engine/python',
|
8
|
+
'recipe_engine/raw_io',
|
9
|
+
'rietveld',
|
10
|
+
'recipe_engine/step',
|
11
|
+
'tryserver',
|
12
|
+
]
|
13
|
+
|
14
|
+
from recipe_engine.recipe_api import Property
|
15
|
+
from recipe_engine.types import freeze
|
16
|
+
|
17
|
+
PROPERTIES = {
|
18
|
+
'mastername': Property(default=None),
|
19
|
+
'buildername': Property(default=None),
|
20
|
+
'slavename': Property(default=None),
|
21
|
+
'issue': Property(default=None),
|
22
|
+
'patchset': Property(default=None),
|
23
|
+
'patch_url': Property(default=None),
|
24
|
+
'patch_project': Property(default=None),
|
25
|
+
'repository': Property(default=None),
|
26
|
+
'event.patchSet.ref': Property(default=None, param_name="gerrit_ref"),
|
27
|
+
'rietveld': Property(default=None),
|
28
|
+
'revision': Property(default=None),
|
29
|
+
'parent_got_revision': Property(default=None),
|
30
|
+
'deps_revision_overrides': Property(default=freeze({})),
|
31
|
+
'fail_patch': Property(default=None, kind=str),
|
32
|
+
}
|
@@ -0,0 +1,283 @@
|
|
1
|
+
# Copyright 2014 The Chromium Authors. All rights reserved.
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
3
|
+
# found in the LICENSE file.
|
4
|
+
|
5
|
+
|
6
|
+
"""Recipe module to ensure a checkout is consistant on a bot."""
|
7
|
+
|
8
|
+
from recipe_engine import recipe_api
|
9
|
+
|
10
|
+
|
11
|
+
# This is just for testing, to indicate if a master is using a Git scheduler
|
12
|
+
# or not.
|
13
|
+
SVN_MASTERS = (
|
14
|
+
'experimental.svn',
|
15
|
+
)
|
16
|
+
|
17
|
+
|
18
|
+
class BotUpdateApi(recipe_api.RecipeApi):
|
19
|
+
|
20
|
+
def __init__(self, mastername, buildername, slavename, issue, patchset,
|
21
|
+
patch_url, repository, gerrit_ref, rietveld, revision,
|
22
|
+
parent_got_revision, deps_revision_overrides, fail_patch,
|
23
|
+
*args, **kwargs):
|
24
|
+
self._mastername = mastername
|
25
|
+
self._buildername = buildername
|
26
|
+
self._slavename = slavename
|
27
|
+
self._issue = issue
|
28
|
+
self._patchset = patchset
|
29
|
+
self._patch_url = patch_url
|
30
|
+
self._repository = repository
|
31
|
+
self._gerrit_ref = gerrit_ref
|
32
|
+
self._rietveld = rietveld
|
33
|
+
self._revision = revision
|
34
|
+
self._parent_got_revision = parent_got_revision
|
35
|
+
self._deps_revision_overrides = deps_revision_overrides
|
36
|
+
self._fail_patch = fail_patch
|
37
|
+
|
38
|
+
self._last_returned_properties = {}
|
39
|
+
super(BotUpdateApi, self).__init__(*args, **kwargs)
|
40
|
+
|
41
|
+
def __call__(self, name, cmd, **kwargs):
|
42
|
+
"""Wrapper for easy calling of bot_update."""
|
43
|
+
assert isinstance(cmd, (list, tuple))
|
44
|
+
bot_update_path = self.resource('bot_update.py')
|
45
|
+
kwargs.setdefault('infra_step', True)
|
46
|
+
kwargs.setdefault('env', {})
|
47
|
+
kwargs['env'].setdefault('PATH', '%(PATH)s')
|
48
|
+
kwargs['env']['PATH'] = self.m.path.pathsep.join([
|
49
|
+
kwargs['env']['PATH'], str(self._module.PACKAGE_REPO_ROOT)])
|
50
|
+
return self.m.python(name, bot_update_path, cmd, **kwargs)
|
51
|
+
|
52
|
+
@property
|
53
|
+
def last_returned_properties(self):
|
54
|
+
return self._last_returned_properties
|
55
|
+
|
56
|
+
def ensure_checkout(self, gclient_config=None, suffix=None,
|
57
|
+
patch=True, update_presentation=True,
|
58
|
+
force=False, patch_root=None, no_shallow=False,
|
59
|
+
with_branch_heads=False, refs=None,
|
60
|
+
patch_oauth2=False,
|
61
|
+
output_manifest=True, clobber=False,
|
62
|
+
root_solution_revision=None, rietveld=None, issue=None,
|
63
|
+
patchset=None, gerrit_no_reset=False, **kwargs):
|
64
|
+
"""
|
65
|
+
Args:
|
66
|
+
gclient_config: The gclient configuration to use when running bot_update.
|
67
|
+
If omitted, the current gclient configuration is used.
|
68
|
+
rietveld: The rietveld server to use. If omitted, will infer from
|
69
|
+
the 'rietveld' property.
|
70
|
+
issue: The rietveld issue number to use. If omitted, will infer from
|
71
|
+
the 'issue' property.
|
72
|
+
patchset: The rietveld issue patchset to use. If omitted, will infer from
|
73
|
+
the 'patchset' property.
|
74
|
+
"""
|
75
|
+
refs = refs or []
|
76
|
+
# We can re-use the gclient spec from the gclient module, since all the
|
77
|
+
# data bot_update needs is already configured into the gclient spec.
|
78
|
+
cfg = gclient_config or self.m.gclient.c
|
79
|
+
|
80
|
+
# Used by bot_update to determine if we want to run or not.
|
81
|
+
master = self._mastername
|
82
|
+
builder = self._buildername
|
83
|
+
slave = self._slavename
|
84
|
+
|
85
|
+
# Construct our bot_update command. This basically be inclusive of
|
86
|
+
# everything required for bot_update to know:
|
87
|
+
root = patch_root
|
88
|
+
if root is None:
|
89
|
+
root = self.m.gclient.calculate_patch_root(
|
90
|
+
self.m.properties.get('patch_project'), cfg)
|
91
|
+
|
92
|
+
if patch:
|
93
|
+
issue = issue or self._issue
|
94
|
+
patchset = patchset or self._patchset
|
95
|
+
patch_url = self._patch_url
|
96
|
+
gerrit_repo = self._repository
|
97
|
+
gerrit_ref = self._gerrit_ref
|
98
|
+
else:
|
99
|
+
# The trybot recipe sometimes wants to de-apply the patch. In which case
|
100
|
+
# we pretend the issue/patchset/patch_url never existed.
|
101
|
+
issue = patchset = patch_url = email_file = key_file = None
|
102
|
+
gerrit_repo = gerrit_ref = None
|
103
|
+
|
104
|
+
# Issue and patchset must come together.
|
105
|
+
if issue:
|
106
|
+
assert patchset
|
107
|
+
if patchset:
|
108
|
+
assert issue
|
109
|
+
if patch_url:
|
110
|
+
# If patch_url is present, bot_update will actually ignore issue/ps.
|
111
|
+
issue = patchset = None
|
112
|
+
|
113
|
+
# The gerrit_ref and gerrit_repo must be together or not at all. If one is
|
114
|
+
# missing, clear both of them.
|
115
|
+
if not gerrit_ref or not gerrit_repo:
|
116
|
+
gerrit_repo = gerrit_ref = None
|
117
|
+
assert (gerrit_ref != None) == (gerrit_repo != None)
|
118
|
+
|
119
|
+
# Point to the oauth2 auth files if specified.
|
120
|
+
# These paths are where the bots put their credential files.
|
121
|
+
if patch_oauth2:
|
122
|
+
email_file = self.m.path['build'].join(
|
123
|
+
'site_config', '.rietveld_client_email')
|
124
|
+
key_file = self.m.path['build'].join(
|
125
|
+
'site_config', '.rietveld_secret_key')
|
126
|
+
else:
|
127
|
+
email_file = key_file = None
|
128
|
+
|
129
|
+
# Allow patch_project's revision if necessary.
|
130
|
+
# This is important for projects which are checked out as DEPS of the
|
131
|
+
# gclient solution.
|
132
|
+
self.m.gclient.set_patch_project_revision(
|
133
|
+
self.m.properties.get('patch_project'), cfg)
|
134
|
+
|
135
|
+
rev_map = cfg.got_revision_mapping.as_jsonish()
|
136
|
+
|
137
|
+
flags = [
|
138
|
+
# 1. Do we want to run? (master/builder/slave).
|
139
|
+
['--master', master],
|
140
|
+
['--builder', builder],
|
141
|
+
['--slave', slave],
|
142
|
+
|
143
|
+
# 2. What do we want to check out (spec/root/rev/rev_map).
|
144
|
+
['--spec', self.m.gclient.config_to_pythonish(cfg)],
|
145
|
+
['--root', root],
|
146
|
+
['--revision_mapping_file', self.m.json.input(rev_map)],
|
147
|
+
['--git-cache-dir', cfg.cache_dir],
|
148
|
+
|
149
|
+
# 3. How to find the patch, if any (issue/patchset/patch_url).
|
150
|
+
['--issue', issue],
|
151
|
+
['--patchset', patchset],
|
152
|
+
['--patch_url', patch_url],
|
153
|
+
['--rietveld_server', rietveld or self._rietveld],
|
154
|
+
['--gerrit_repo', gerrit_repo],
|
155
|
+
['--gerrit_ref', gerrit_ref],
|
156
|
+
['--apply_issue_email_file', email_file],
|
157
|
+
['--apply_issue_key_file', key_file],
|
158
|
+
|
159
|
+
# 4. Hookups to JSON output back into recipes.
|
160
|
+
['--output_json', self.m.json.output()],]
|
161
|
+
|
162
|
+
|
163
|
+
# Collect all fixed revisions to simulate them in the json output.
|
164
|
+
# Fixed revision are the explicit input revisions of bot_update.py, i.e.
|
165
|
+
# every command line parameter "--revision name@value".
|
166
|
+
fixed_revisions = {}
|
167
|
+
|
168
|
+
revisions = {}
|
169
|
+
for solution in cfg.solutions:
|
170
|
+
if solution.revision:
|
171
|
+
revisions[solution.name] = solution.revision
|
172
|
+
elif solution == cfg.solutions[0]:
|
173
|
+
revisions[solution.name] = (
|
174
|
+
self._parent_got_revision or
|
175
|
+
self._revision or
|
176
|
+
'HEAD')
|
177
|
+
if self.m.gclient.c and self.m.gclient.c.revisions:
|
178
|
+
revisions.update(self.m.gclient.c.revisions)
|
179
|
+
if cfg.solutions and root_solution_revision:
|
180
|
+
revisions[cfg.solutions[0].name] = root_solution_revision
|
181
|
+
# Allow for overrides required to bisect into rolls.
|
182
|
+
revisions.update(self._deps_revision_overrides)
|
183
|
+
for name, revision in sorted(revisions.items()):
|
184
|
+
fixed_revision = self.m.gclient.resolve_revision(revision)
|
185
|
+
if fixed_revision:
|
186
|
+
fixed_revisions[name] = fixed_revision
|
187
|
+
flags.append(['--revision', '%s@%s' % (name, fixed_revision)])
|
188
|
+
|
189
|
+
# Add extra fetch refspecs.
|
190
|
+
for ref in refs:
|
191
|
+
flags.append(['--refs', ref])
|
192
|
+
|
193
|
+
# Filter out flags that are None.
|
194
|
+
cmd = [item for flag_set in flags
|
195
|
+
for item in flag_set if flag_set[1] is not None]
|
196
|
+
|
197
|
+
if clobber:
|
198
|
+
cmd.append('--clobber')
|
199
|
+
if force:
|
200
|
+
cmd.append('--force')
|
201
|
+
if no_shallow:
|
202
|
+
cmd.append('--no_shallow')
|
203
|
+
if output_manifest:
|
204
|
+
cmd.append('--output_manifest')
|
205
|
+
if with_branch_heads or cfg.with_branch_heads:
|
206
|
+
cmd.append('--with_branch_heads')
|
207
|
+
if gerrit_no_reset:
|
208
|
+
cmd.append('--gerrit_no_reset')
|
209
|
+
|
210
|
+
# Inject Json output for testing.
|
211
|
+
git_mode = self._mastername not in SVN_MASTERS
|
212
|
+
first_sln = cfg.solutions[0].name
|
213
|
+
step_test_data = lambda: self.test_api.output_json(
|
214
|
+
master, builder, slave, root, first_sln, rev_map, git_mode, force,
|
215
|
+
self._fail_patch,
|
216
|
+
output_manifest=output_manifest, fixed_revisions=fixed_revisions)
|
217
|
+
|
218
|
+
# Add suffixes to the step name, if specified.
|
219
|
+
name = 'bot_update'
|
220
|
+
if not patch:
|
221
|
+
name += ' (without patch)'
|
222
|
+
if suffix:
|
223
|
+
name += ' - %s' % suffix
|
224
|
+
|
225
|
+
# Ah hah! Now that everything is in place, lets run bot_update!
|
226
|
+
try:
|
227
|
+
# 87 and 88 are the 'patch failure' codes for patch download and patch
|
228
|
+
# apply, respectively. We don't actually use the error codes, and instead
|
229
|
+
# rely on emitted json to determine cause of failure.
|
230
|
+
self(name, cmd, step_test_data=step_test_data,
|
231
|
+
ok_ret=(0, 87, 88), **kwargs)
|
232
|
+
finally:
|
233
|
+
step_result = self.m.step.active_result
|
234
|
+
self._last_returned_properties = step_result.json.output.get(
|
235
|
+
'properties', {})
|
236
|
+
|
237
|
+
if update_presentation:
|
238
|
+
# Set properties such as got_revision.
|
239
|
+
for prop_name, prop_value in self.last_returned_properties.iteritems():
|
240
|
+
step_result.presentation.properties[prop_name] = prop_value
|
241
|
+
# Add helpful step description in the step UI.
|
242
|
+
if 'step_text' in step_result.json.output:
|
243
|
+
step_text = step_result.json.output['step_text']
|
244
|
+
step_result.presentation.step_text = step_text
|
245
|
+
# Add log line output.
|
246
|
+
if 'log_lines' in step_result.json.output:
|
247
|
+
for log_name, log_lines in step_result.json.output['log_lines']:
|
248
|
+
step_result.presentation.logs[log_name] = log_lines.splitlines()
|
249
|
+
|
250
|
+
# Set the "checkout" path for the main solution.
|
251
|
+
# This is used by the Chromium module to figure out where to look for
|
252
|
+
# the checkout.
|
253
|
+
# If there is a patch failure, emit another step that said things failed.
|
254
|
+
if step_result.json.output.get('patch_failure'):
|
255
|
+
return_code = step_result.json.output.get('patch_apply_return_code')
|
256
|
+
if return_code == 3:
|
257
|
+
# This is download failure, hence an infra failure.
|
258
|
+
# Sadly, python.failing_step doesn't support kwargs.
|
259
|
+
self.m.python.inline(
|
260
|
+
'Patch failure',
|
261
|
+
('import sys;'
|
262
|
+
'print "Patch download failed. See bot_update step for details";'
|
263
|
+
'sys.exit(1)'),
|
264
|
+
infra_step=True,
|
265
|
+
step_test_data=lambda: self.m.raw_io.test_api.output(
|
266
|
+
'Patch download failed. See bot_update step for details',
|
267
|
+
retcode=1)
|
268
|
+
)
|
269
|
+
else:
|
270
|
+
# This is actual patch failure.
|
271
|
+
self.m.tryserver.set_patch_failure_tryjob_result()
|
272
|
+
self.m.python.failing_step(
|
273
|
+
'Patch failure', 'Check the bot_update step for details')
|
274
|
+
|
275
|
+
# bot_update actually just sets root to be the folder name of the
|
276
|
+
# first solution.
|
277
|
+
if step_result.json.output['did_run']:
|
278
|
+
co_root = step_result.json.output['root']
|
279
|
+
cwd = kwargs.get('cwd', self.m.path['slave_build'])
|
280
|
+
if 'checkout' not in self.m.path:
|
281
|
+
self.m.path['checkout'] = cwd.join(*co_root.split(self.m.path.sep))
|
282
|
+
|
283
|
+
return step_result
|
@@ -0,0 +1,56 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"cmd": [
|
4
|
+
"python",
|
5
|
+
"-u",
|
6
|
+
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
7
|
+
"--master",
|
8
|
+
"chromium.linux",
|
9
|
+
"--builder",
|
10
|
+
"Linux Builder",
|
11
|
+
"--slave",
|
12
|
+
"totallyaslave-m1",
|
13
|
+
"--spec",
|
14
|
+
"cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]",
|
15
|
+
"--root",
|
16
|
+
"src",
|
17
|
+
"--revision_mapping_file",
|
18
|
+
"{\"src\": \"got_cr_revision\"}",
|
19
|
+
"--git-cache-dir",
|
20
|
+
"[GIT_CACHE]",
|
21
|
+
"--output_json",
|
22
|
+
"/path/to/tmp/json",
|
23
|
+
"--revision",
|
24
|
+
"src@abc"
|
25
|
+
],
|
26
|
+
"env": {
|
27
|
+
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
28
|
+
},
|
29
|
+
"name": "bot_update (without patch)",
|
30
|
+
"~followup_annotations": [
|
31
|
+
"@@@STEP_TEXT@Some step text@@@",
|
32
|
+
"@@@STEP_LOG_LINE@json.output@{@@@",
|
33
|
+
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
|
34
|
+
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
35
|
+
"@@@STEP_LOG_LINE@json.output@ \"src\": \"abc\"@@@",
|
36
|
+
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
37
|
+
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
|
38
|
+
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
|
39
|
+
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
|
40
|
+
"@@@STEP_LOG_LINE@json.output@ \"got_cr_revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
|
41
|
+
"@@@STEP_LOG_LINE@json.output@ \"got_cr_revision_cp\": \"refs/heads/master@{#170242}\"@@@",
|
42
|
+
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
43
|
+
"@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
|
44
|
+
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
|
45
|
+
"@@@STEP_LOG_LINE@json.output@}@@@",
|
46
|
+
"@@@STEP_LOG_END@json.output@@@",
|
47
|
+
"@@@SET_BUILD_PROPERTY@got_cr_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
|
48
|
+
"@@@SET_BUILD_PROPERTY@got_cr_revision_cp@\"refs/heads/master@{#170242}\"@@@"
|
49
|
+
]
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"name": "$result",
|
53
|
+
"recipe_result": null,
|
54
|
+
"status_code": 0
|
55
|
+
}
|
56
|
+
]
|
@@ -0,0 +1,63 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"cmd": [
|
4
|
+
"python",
|
5
|
+
"-u",
|
6
|
+
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
7
|
+
"--master",
|
8
|
+
"chromium.linux",
|
9
|
+
"--builder",
|
10
|
+
"Linux Builder",
|
11
|
+
"--slave",
|
12
|
+
"totallyaslave-m1",
|
13
|
+
"--spec",
|
14
|
+
"cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]",
|
15
|
+
"--root",
|
16
|
+
"src",
|
17
|
+
"--revision_mapping_file",
|
18
|
+
"{\"src\": \"got_cr_revision\"}",
|
19
|
+
"--git-cache-dir",
|
20
|
+
"[GIT_CACHE]",
|
21
|
+
"--output_json",
|
22
|
+
"/path/to/tmp/json",
|
23
|
+
"--revision",
|
24
|
+
"src@HEAD",
|
25
|
+
"--output_manifest"
|
26
|
+
],
|
27
|
+
"env": {
|
28
|
+
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
29
|
+
},
|
30
|
+
"name": "bot_update",
|
31
|
+
"~followup_annotations": [
|
32
|
+
"@@@STEP_TEXT@Some step text@@@",
|
33
|
+
"@@@STEP_LOG_LINE@json.output@{@@@",
|
34
|
+
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
|
35
|
+
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
36
|
+
"@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@",
|
37
|
+
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
38
|
+
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
|
39
|
+
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
|
40
|
+
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src.git\", @@@",
|
41
|
+
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
|
42
|
+
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
43
|
+
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
44
|
+
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
|
45
|
+
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
|
46
|
+
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
|
47
|
+
"@@@STEP_LOG_LINE@json.output@ \"got_cr_revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
|
48
|
+
"@@@STEP_LOG_LINE@json.output@ \"got_cr_revision_cp\": \"refs/heads/master@{#170242}\"@@@",
|
49
|
+
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
50
|
+
"@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
|
51
|
+
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
|
52
|
+
"@@@STEP_LOG_LINE@json.output@}@@@",
|
53
|
+
"@@@STEP_LOG_END@json.output@@@",
|
54
|
+
"@@@SET_BUILD_PROPERTY@got_cr_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
|
55
|
+
"@@@SET_BUILD_PROPERTY@got_cr_revision_cp@\"refs/heads/master@{#170242}\"@@@"
|
56
|
+
]
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"name": "$result",
|
60
|
+
"recipe_result": null,
|
61
|
+
"status_code": 0
|
62
|
+
}
|
63
|
+
]
|