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
data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/pip-6.0-py2.py3-none-any.whl
DELETED
Binary file
|
Binary file
|
@@ -1,16 +0,0 @@
|
|
1
|
-
Including the following third parties:
|
2
|
-
|
3
|
-
7zip version 4.65
|
4
|
-
7za.exe is a free software distributed under the GNU LGPL.
|
5
|
-
Read license.txt for more information.
|
6
|
-
|
7
|
-
Source code of 7za.exe and 7-Zip can be found at
|
8
|
-
http://www.7-zip.org/
|
9
|
-
|
10
|
-
Note: packed with UPX to reduce code size.
|
11
|
-
|
12
|
-
|
13
|
-
wget 1.11.4 from http://www.gnu.org/software/wget/
|
14
|
-
|
15
|
-
Note: local compile without openssl support to reduce code size.
|
16
|
-
Note: packed with UPX to reduce code size.
|
@@ -1,96 +0,0 @@
|
|
1
|
-
#!/usr/bin/env python
|
2
|
-
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
3
|
-
# Use of this source code is governed by a BSD-style license that can be
|
4
|
-
# found in the LICENSE file.
|
5
|
-
|
6
|
-
"""Wrapper for chromite tools.
|
7
|
-
|
8
|
-
The script is intend to be symlinked to any number of chromite tools, attempts
|
9
|
-
to find the path for chromite, and hands off to the right tool via exec if
|
10
|
-
possible.
|
11
|
-
|
12
|
-
It is intended to used strictly outside of the chroot.
|
13
|
-
|
14
|
-
If you're looking at a copy and want to know where the original looks at, look
|
15
|
-
here:
|
16
|
-
http://git.chromium.org/gitweb/?p=chromite.git;a=blob;f=bin/chromite
|
17
|
-
|
18
|
-
Since this script is _copied_, it should remain small and not use internal libs.
|
19
|
-
|
20
|
-
"""
|
21
|
-
|
22
|
-
import errno
|
23
|
-
import os
|
24
|
-
import sys
|
25
|
-
|
26
|
-
# Due to historical reasons, and the fact depot_tools ToT is used by older
|
27
|
-
# factory branches (lacking chromite script cleanups), note we have to
|
28
|
-
# fallback to some odd import locations. This is the only reason for the
|
29
|
-
# fallback code- any/all new scripts symlinked to this script *must* exist
|
30
|
-
# in chromite/bin/ .
|
31
|
-
|
32
|
-
def _FindChromite(path):
|
33
|
-
"""Find the chromite dir in a repo, gclient, or submodule checkout."""
|
34
|
-
path = os.path.abspath(path)
|
35
|
-
# Depending on the checkout type (whether repo chromeos or gclient chrome)
|
36
|
-
# Chromite lives in a different location.
|
37
|
-
roots = (
|
38
|
-
('.repo', 'chromite/.git'),
|
39
|
-
('.gclient', 'src/third_party/chromite/.git'),
|
40
|
-
('src/.gitmodules', 'src/third_party/chromite/.git'),
|
41
|
-
)
|
42
|
-
|
43
|
-
while path != '/':
|
44
|
-
for root, chromite_git_dir in roots:
|
45
|
-
if all(os.path.exists(os.path.join(path, x))
|
46
|
-
for x in [root, chromite_git_dir]):
|
47
|
-
return os.path.dirname(os.path.join(path, chromite_git_dir))
|
48
|
-
path = os.path.dirname(path)
|
49
|
-
return None
|
50
|
-
|
51
|
-
|
52
|
-
def _MissingErrorOut(target):
|
53
|
-
sys.stderr.write(
|
54
|
-
"""ERROR: Couldn't find the chromite tool %s.
|
55
|
-
|
56
|
-
Please change to a directory inside your Chromium OS source tree
|
57
|
-
and retry. If you need to setup a Chromium OS source tree, see
|
58
|
-
http://www.chromium.org/chromium-os/developer-guide
|
59
|
-
""" % target)
|
60
|
-
return 127
|
61
|
-
|
62
|
-
|
63
|
-
def main():
|
64
|
-
chromite_dir = _FindChromite(os.getcwd())
|
65
|
-
target = os.path.basename(sys.argv[0])
|
66
|
-
if chromite_dir is None:
|
67
|
-
return _MissingErrorOut(target)
|
68
|
-
|
69
|
-
path = os.path.join(chromite_dir, 'bin', target)
|
70
|
-
try:
|
71
|
-
os.execv(path, [path] + sys.argv[1:])
|
72
|
-
except EnvironmentError, e:
|
73
|
-
if e.errno not in (errno.ENOENT, errno.EPERM):
|
74
|
-
raise
|
75
|
-
|
76
|
-
# Reaching here means it's either a bad target, or we're working against
|
77
|
-
# an old (pre 6be2efcf5bb575b03862113eec097c44d8d7f93e) revision of
|
78
|
-
# chromite. Fallback to trying to import it; this code works at least as
|
79
|
-
# far back as branch 0.11.241.B; likely further.
|
80
|
-
|
81
|
-
if target == 'cbuildbot':
|
82
|
-
target = 'chromite.buildbot.cbuildbot'
|
83
|
-
else:
|
84
|
-
target = 'chromite.bin.%s' % (target,)
|
85
|
-
|
86
|
-
# Adjust the path importation so we can import our our target.
|
87
|
-
sys.path.insert(0, os.path.dirname(chromite_dir))
|
88
|
-
|
89
|
-
try:
|
90
|
-
module = __import__(target, fromlist=['main'])
|
91
|
-
except ImportError:
|
92
|
-
return _MissingErrorOut(target)
|
93
|
-
return module.main()
|
94
|
-
|
95
|
-
if __name__ == '__main__':
|
96
|
-
sys.exit(main())
|
@@ -1,96 +0,0 @@
|
|
1
|
-
#!/usr/bin/env python
|
2
|
-
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
3
|
-
# Use of this source code is governed by a BSD-style license that can be
|
4
|
-
# found in the LICENSE file.
|
5
|
-
|
6
|
-
"""Wrapper for chromite tools.
|
7
|
-
|
8
|
-
The script is intend to be symlinked to any number of chromite tools, attempts
|
9
|
-
to find the path for chromite, and hands off to the right tool via exec if
|
10
|
-
possible.
|
11
|
-
|
12
|
-
It is intended to used strictly outside of the chroot.
|
13
|
-
|
14
|
-
If you're looking at a copy and want to know where the original looks at, look
|
15
|
-
here:
|
16
|
-
http://git.chromium.org/gitweb/?p=chromite.git;a=blob;f=bin/chromite
|
17
|
-
|
18
|
-
Since this script is _copied_, it should remain small and not use internal libs.
|
19
|
-
|
20
|
-
"""
|
21
|
-
|
22
|
-
import errno
|
23
|
-
import os
|
24
|
-
import sys
|
25
|
-
|
26
|
-
# Due to historical reasons, and the fact depot_tools ToT is used by older
|
27
|
-
# factory branches (lacking chromite script cleanups), note we have to
|
28
|
-
# fallback to some odd import locations. This is the only reason for the
|
29
|
-
# fallback code- any/all new scripts symlinked to this script *must* exist
|
30
|
-
# in chromite/bin/ .
|
31
|
-
|
32
|
-
def _FindChromite(path):
|
33
|
-
"""Find the chromite dir in a repo, gclient, or submodule checkout."""
|
34
|
-
path = os.path.abspath(path)
|
35
|
-
# Depending on the checkout type (whether repo chromeos or gclient chrome)
|
36
|
-
# Chromite lives in a different location.
|
37
|
-
roots = (
|
38
|
-
('.repo', 'chromite/.git'),
|
39
|
-
('.gclient', 'src/third_party/chromite/.git'),
|
40
|
-
('src/.gitmodules', 'src/third_party/chromite/.git'),
|
41
|
-
)
|
42
|
-
|
43
|
-
while path != '/':
|
44
|
-
for root, chromite_git_dir in roots:
|
45
|
-
if all(os.path.exists(os.path.join(path, x))
|
46
|
-
for x in [root, chromite_git_dir]):
|
47
|
-
return os.path.dirname(os.path.join(path, chromite_git_dir))
|
48
|
-
path = os.path.dirname(path)
|
49
|
-
return None
|
50
|
-
|
51
|
-
|
52
|
-
def _MissingErrorOut(target):
|
53
|
-
sys.stderr.write(
|
54
|
-
"""ERROR: Couldn't find the chromite tool %s.
|
55
|
-
|
56
|
-
Please change to a directory inside your Chromium OS source tree
|
57
|
-
and retry. If you need to setup a Chromium OS source tree, see
|
58
|
-
http://www.chromium.org/chromium-os/developer-guide
|
59
|
-
""" % target)
|
60
|
-
return 127
|
61
|
-
|
62
|
-
|
63
|
-
def main():
|
64
|
-
chromite_dir = _FindChromite(os.getcwd())
|
65
|
-
target = os.path.basename(sys.argv[0])
|
66
|
-
if chromite_dir is None:
|
67
|
-
return _MissingErrorOut(target)
|
68
|
-
|
69
|
-
path = os.path.join(chromite_dir, 'bin', target)
|
70
|
-
try:
|
71
|
-
os.execv(path, [path] + sys.argv[1:])
|
72
|
-
except EnvironmentError, e:
|
73
|
-
if e.errno not in (errno.ENOENT, errno.EPERM):
|
74
|
-
raise
|
75
|
-
|
76
|
-
# Reaching here means it's either a bad target, or we're working against
|
77
|
-
# an old (pre 6be2efcf5bb575b03862113eec097c44d8d7f93e) revision of
|
78
|
-
# chromite. Fallback to trying to import it; this code works at least as
|
79
|
-
# far back as branch 0.11.241.B; likely further.
|
80
|
-
|
81
|
-
if target == 'cbuildbot':
|
82
|
-
target = 'chromite.buildbot.cbuildbot'
|
83
|
-
else:
|
84
|
-
target = 'chromite.bin.%s' % (target,)
|
85
|
-
|
86
|
-
# Adjust the path importation so we can import our our target.
|
87
|
-
sys.path.insert(0, os.path.dirname(chromite_dir))
|
88
|
-
|
89
|
-
try:
|
90
|
-
module = __import__(target, fromlist=['main'])
|
91
|
-
except ImportError:
|
92
|
-
return _MissingErrorOut(target)
|
93
|
-
return module.main()
|
94
|
-
|
95
|
-
if __name__ == '__main__':
|
96
|
-
sys.exit(main())
|
data/vendor/depot_tools/cros
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
#!/usr/bin/env python
|
2
|
-
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
3
|
-
# Use of this source code is governed by a BSD-style license that can be
|
4
|
-
# found in the LICENSE file.
|
5
|
-
|
6
|
-
"""Wrapper for chromite tools.
|
7
|
-
|
8
|
-
The script is intend to be symlinked to any number of chromite tools, attempts
|
9
|
-
to find the path for chromite, and hands off to the right tool via exec if
|
10
|
-
possible.
|
11
|
-
|
12
|
-
It is intended to used strictly outside of the chroot.
|
13
|
-
|
14
|
-
If you're looking at a copy and want to know where the original looks at, look
|
15
|
-
here:
|
16
|
-
http://git.chromium.org/gitweb/?p=chromite.git;a=blob;f=bin/chromite
|
17
|
-
|
18
|
-
Since this script is _copied_, it should remain small and not use internal libs.
|
19
|
-
|
20
|
-
"""
|
21
|
-
|
22
|
-
import errno
|
23
|
-
import os
|
24
|
-
import sys
|
25
|
-
|
26
|
-
# Due to historical reasons, and the fact depot_tools ToT is used by older
|
27
|
-
# factory branches (lacking chromite script cleanups), note we have to
|
28
|
-
# fallback to some odd import locations. This is the only reason for the
|
29
|
-
# fallback code- any/all new scripts symlinked to this script *must* exist
|
30
|
-
# in chromite/bin/ .
|
31
|
-
|
32
|
-
def _FindChromite(path):
|
33
|
-
"""Find the chromite dir in a repo, gclient, or submodule checkout."""
|
34
|
-
path = os.path.abspath(path)
|
35
|
-
# Depending on the checkout type (whether repo chromeos or gclient chrome)
|
36
|
-
# Chromite lives in a different location.
|
37
|
-
roots = (
|
38
|
-
('.repo', 'chromite/.git'),
|
39
|
-
('.gclient', 'src/third_party/chromite/.git'),
|
40
|
-
('src/.gitmodules', 'src/third_party/chromite/.git'),
|
41
|
-
)
|
42
|
-
|
43
|
-
while path != '/':
|
44
|
-
for root, chromite_git_dir in roots:
|
45
|
-
if all(os.path.exists(os.path.join(path, x))
|
46
|
-
for x in [root, chromite_git_dir]):
|
47
|
-
return os.path.dirname(os.path.join(path, chromite_git_dir))
|
48
|
-
path = os.path.dirname(path)
|
49
|
-
return None
|
50
|
-
|
51
|
-
|
52
|
-
def _MissingErrorOut(target):
|
53
|
-
sys.stderr.write(
|
54
|
-
"""ERROR: Couldn't find the chromite tool %s.
|
55
|
-
|
56
|
-
Please change to a directory inside your Chromium OS source tree
|
57
|
-
and retry. If you need to setup a Chromium OS source tree, see
|
58
|
-
http://www.chromium.org/chromium-os/developer-guide
|
59
|
-
""" % target)
|
60
|
-
return 127
|
61
|
-
|
62
|
-
|
63
|
-
def main():
|
64
|
-
chromite_dir = _FindChromite(os.getcwd())
|
65
|
-
target = os.path.basename(sys.argv[0])
|
66
|
-
if chromite_dir is None:
|
67
|
-
return _MissingErrorOut(target)
|
68
|
-
|
69
|
-
path = os.path.join(chromite_dir, 'bin', target)
|
70
|
-
try:
|
71
|
-
os.execv(path, [path] + sys.argv[1:])
|
72
|
-
except EnvironmentError, e:
|
73
|
-
if e.errno not in (errno.ENOENT, errno.EPERM):
|
74
|
-
raise
|
75
|
-
|
76
|
-
# Reaching here means it's either a bad target, or we're working against
|
77
|
-
# an old (pre 6be2efcf5bb575b03862113eec097c44d8d7f93e) revision of
|
78
|
-
# chromite. Fallback to trying to import it; this code works at least as
|
79
|
-
# far back as branch 0.11.241.B; likely further.
|
80
|
-
|
81
|
-
if target == 'cbuildbot':
|
82
|
-
target = 'chromite.buildbot.cbuildbot'
|
83
|
-
else:
|
84
|
-
target = 'chromite.bin.%s' % (target,)
|
85
|
-
|
86
|
-
# Adjust the path importation so we can import our our target.
|
87
|
-
sys.path.insert(0, os.path.dirname(chromite_dir))
|
88
|
-
|
89
|
-
try:
|
90
|
-
module = __import__(target, fromlist=['main'])
|
91
|
-
except ImportError:
|
92
|
-
return _MissingErrorOut(target)
|
93
|
-
return module.main()
|
94
|
-
|
95
|
-
if __name__ == '__main__':
|
96
|
-
sys.exit(main())
|
data/vendor/depot_tools/cros_sdk
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
#!/usr/bin/env python
|
2
|
-
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
3
|
-
# Use of this source code is governed by a BSD-style license that can be
|
4
|
-
# found in the LICENSE file.
|
5
|
-
|
6
|
-
"""Wrapper for chromite tools.
|
7
|
-
|
8
|
-
The script is intend to be symlinked to any number of chromite tools, attempts
|
9
|
-
to find the path for chromite, and hands off to the right tool via exec if
|
10
|
-
possible.
|
11
|
-
|
12
|
-
It is intended to used strictly outside of the chroot.
|
13
|
-
|
14
|
-
If you're looking at a copy and want to know where the original looks at, look
|
15
|
-
here:
|
16
|
-
http://git.chromium.org/gitweb/?p=chromite.git;a=blob;f=bin/chromite
|
17
|
-
|
18
|
-
Since this script is _copied_, it should remain small and not use internal libs.
|
19
|
-
|
20
|
-
"""
|
21
|
-
|
22
|
-
import errno
|
23
|
-
import os
|
24
|
-
import sys
|
25
|
-
|
26
|
-
# Due to historical reasons, and the fact depot_tools ToT is used by older
|
27
|
-
# factory branches (lacking chromite script cleanups), note we have to
|
28
|
-
# fallback to some odd import locations. This is the only reason for the
|
29
|
-
# fallback code- any/all new scripts symlinked to this script *must* exist
|
30
|
-
# in chromite/bin/ .
|
31
|
-
|
32
|
-
def _FindChromite(path):
|
33
|
-
"""Find the chromite dir in a repo, gclient, or submodule checkout."""
|
34
|
-
path = os.path.abspath(path)
|
35
|
-
# Depending on the checkout type (whether repo chromeos or gclient chrome)
|
36
|
-
# Chromite lives in a different location.
|
37
|
-
roots = (
|
38
|
-
('.repo', 'chromite/.git'),
|
39
|
-
('.gclient', 'src/third_party/chromite/.git'),
|
40
|
-
('src/.gitmodules', 'src/third_party/chromite/.git'),
|
41
|
-
)
|
42
|
-
|
43
|
-
while path != '/':
|
44
|
-
for root, chromite_git_dir in roots:
|
45
|
-
if all(os.path.exists(os.path.join(path, x))
|
46
|
-
for x in [root, chromite_git_dir]):
|
47
|
-
return os.path.dirname(os.path.join(path, chromite_git_dir))
|
48
|
-
path = os.path.dirname(path)
|
49
|
-
return None
|
50
|
-
|
51
|
-
|
52
|
-
def _MissingErrorOut(target):
|
53
|
-
sys.stderr.write(
|
54
|
-
"""ERROR: Couldn't find the chromite tool %s.
|
55
|
-
|
56
|
-
Please change to a directory inside your Chromium OS source tree
|
57
|
-
and retry. If you need to setup a Chromium OS source tree, see
|
58
|
-
http://www.chromium.org/chromium-os/developer-guide
|
59
|
-
""" % target)
|
60
|
-
return 127
|
61
|
-
|
62
|
-
|
63
|
-
def main():
|
64
|
-
chromite_dir = _FindChromite(os.getcwd())
|
65
|
-
target = os.path.basename(sys.argv[0])
|
66
|
-
if chromite_dir is None:
|
67
|
-
return _MissingErrorOut(target)
|
68
|
-
|
69
|
-
path = os.path.join(chromite_dir, 'bin', target)
|
70
|
-
try:
|
71
|
-
os.execv(path, [path] + sys.argv[1:])
|
72
|
-
except EnvironmentError, e:
|
73
|
-
if e.errno not in (errno.ENOENT, errno.EPERM):
|
74
|
-
raise
|
75
|
-
|
76
|
-
# Reaching here means it's either a bad target, or we're working against
|
77
|
-
# an old (pre 6be2efcf5bb575b03862113eec097c44d8d7f93e) revision of
|
78
|
-
# chromite. Fallback to trying to import it; this code works at least as
|
79
|
-
# far back as branch 0.11.241.B; likely further.
|
80
|
-
|
81
|
-
if target == 'cbuildbot':
|
82
|
-
target = 'chromite.buildbot.cbuildbot'
|
83
|
-
else:
|
84
|
-
target = 'chromite.bin.%s' % (target,)
|
85
|
-
|
86
|
-
# Adjust the path importation so we can import our our target.
|
87
|
-
sys.path.insert(0, os.path.dirname(chromite_dir))
|
88
|
-
|
89
|
-
try:
|
90
|
-
module = __import__(target, fromlist=['main'])
|
91
|
-
except ImportError:
|
92
|
-
return _MissingErrorOut(target)
|
93
|
-
return module.main()
|
94
|
-
|
95
|
-
if __name__ == '__main__':
|
96
|
-
sys.exit(main())
|
@@ -1,52 +0,0 @@
|
|
1
|
-
#!/usr/bin/python
|
2
|
-
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
3
|
-
# Use of this source code is governed by a BSD-style license that can be
|
4
|
-
# found in the LICENSE file.
|
5
|
-
|
6
|
-
import os
|
7
|
-
import sys
|
8
|
-
from subprocess import Popen, PIPE
|
9
|
-
|
10
|
-
# Try locating depot_tools from the user's PATH.
|
11
|
-
depot_tools_path = None
|
12
|
-
|
13
|
-
# First parse PATH if there's a "depot_tools" inside
|
14
|
-
for path in os.environ.get("PATH").split(os.pathsep):
|
15
|
-
if not path.endswith("depot_tools") and not path.endswith("depot_tools/"):
|
16
|
-
continue
|
17
|
-
depot_tools_path = path
|
18
|
-
break
|
19
|
-
|
20
|
-
# If depot_tools dir is not called depot_tools, or other weirdness
|
21
|
-
if not depot_tools_path:
|
22
|
-
# Grab a `which gclient', which gives first match
|
23
|
-
# `which' also uses PATH, but is not restricted to specific directory name
|
24
|
-
path = Popen(["which", "gclient"], stdout=PIPE).communicate()[0].strip()
|
25
|
-
if path:
|
26
|
-
depot_tools_path = path.replace("/gclient","")
|
27
|
-
|
28
|
-
# If we found depot_tools, add it to the script's import path.
|
29
|
-
# Use realpath to normalize the actual path
|
30
|
-
if depot_tools_path:
|
31
|
-
sys.path.insert(0, os.path.realpath(depot_tools_path))
|
32
|
-
else:
|
33
|
-
print "ERROR: Could not find depot_tools in your PATH."
|
34
|
-
print "ERROR: Please add it to your PATH and try again."
|
35
|
-
sys.exit(1)
|
36
|
-
|
37
|
-
# Try importing git_cl_hooks from depot_tools.
|
38
|
-
try:
|
39
|
-
import git_cl_hooks
|
40
|
-
except ImportError:
|
41
|
-
print "ERROR: Could not import git_cl_hooks from depot_tools in your PATH."
|
42
|
-
print "ERROR: Make sure %s is up-to-date and try again." % depot_tools_path
|
43
|
-
sys.exit(1)
|
44
|
-
|
45
|
-
# Ensure we were called with the necessary number of arguments.
|
46
|
-
program_name = os.path.basename(sys.argv[0])
|
47
|
-
if len(sys.argv) != 2:
|
48
|
-
print "usage: %s [upstream branch]" % program_name
|
49
|
-
sys.exit(1)
|
50
|
-
|
51
|
-
# Run the hooks library with our arguments.
|
52
|
-
exec git_cl_hooks.RunHooks(hook_name=program_name, upstream_branch=sys.argv[1])
|