libv8 5.3.332.38.5 → 5.6.326.50.0beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGELOG.md +2 -0
- data/ext/libv8/builder.rb +2 -2
- data/lib/libv8/version.rb +1 -1
- data/patches/0001-Build-a-standalone-static-library.patch +4 -4
- data/patches/0002-Don-t-compile-unnecessary-stuff.patch +16 -11
- data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +4 -4
- data/patches/{0005-Do-not-embed-debug-symbols-in-macOS-libraries.patch → 0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch} +4 -4
- data/vendor/depot_tools/.gitignore +4 -0
- data/vendor/depot_tools/OWNERS +0 -2
- data/vendor/depot_tools/PRESUBMIT.py +20 -23
- data/vendor/depot_tools/README.gclient.md +3 -3
- data/vendor/depot_tools/README.git-cl.md +13 -12
- data/vendor/depot_tools/README.md +2 -3
- data/vendor/depot_tools/WATCHLISTS +0 -1
- data/vendor/depot_tools/appengine_mapper.py +23 -0
- data/vendor/depot_tools/apply_issue.py +2 -8
- data/vendor/depot_tools/bootstrap/win/README.md +1 -8
- data/vendor/depot_tools/bootstrap/win/git_bootstrap.py +6 -16
- data/vendor/depot_tools/bootstrap/win/git_version.txt +1 -1
- data/vendor/depot_tools/bootstrap/win/git_version_bleeding_edge.txt +1 -1
- data/vendor/depot_tools/checkout.py +20 -433
- data/vendor/depot_tools/cipd +73 -0
- data/vendor/depot_tools/cipd.bat +12 -0
- data/vendor/depot_tools/cipd.ps1 +57 -0
- data/vendor/depot_tools/cipd_client_version +1 -0
- data/vendor/depot_tools/clang_format.py +9 -6
- data/vendor/depot_tools/clang_format_merge_driver +8 -0
- data/vendor/depot_tools/clang_format_merge_driver.bat +11 -0
- data/vendor/depot_tools/clang_format_merge_driver.py +67 -0
- data/vendor/depot_tools/codereview.settings +3 -2
- data/vendor/depot_tools/commit_queue.py +1 -1
- data/vendor/depot_tools/cpplint.py +2 -0
- data/vendor/depot_tools/fetch.py +1 -54
- data/vendor/depot_tools/fetch_configs/android.py +2 -2
- data/vendor/depot_tools/fetch_configs/breakpad.py +2 -3
- data/vendor/depot_tools/fetch_configs/chromium.py +2 -3
- data/vendor/depot_tools/fetch_configs/crashpad.py +2 -2
- data/vendor/depot_tools/fetch_configs/dart.py +2 -3
- data/vendor/depot_tools/fetch_configs/dartino.py +2 -3
- data/vendor/depot_tools/fetch_configs/dartium.py +2 -3
- data/vendor/depot_tools/fetch_configs/depot_tools.py +3 -6
- data/vendor/depot_tools/fetch_configs/gyp.py +2 -3
- data/vendor/depot_tools/fetch_configs/infra.py +2 -2
- data/vendor/depot_tools/fetch_configs/infra_internal.py +2 -2
- data/vendor/depot_tools/fetch_configs/ios.py +2 -2
- data/vendor/depot_tools/fetch_configs/ios_internal.py +2 -3
- data/vendor/depot_tools/fetch_configs/mojo.py +2 -3
- data/vendor/depot_tools/fetch_configs/nacl.py +2 -3
- data/vendor/depot_tools/fetch_configs/naclports.py +2 -3
- data/vendor/depot_tools/fetch_configs/pdfium.py +2 -2
- data/vendor/depot_tools/fetch_configs/skia.py +2 -2
- data/vendor/depot_tools/fetch_configs/skia_buildbot.py +2 -2
- data/vendor/depot_tools/fetch_configs/syzygy.py +2 -2
- data/vendor/depot_tools/fetch_configs/v8.py +2 -3
- data/vendor/depot_tools/fetch_configs/webrtc.py +5 -3
- data/vendor/depot_tools/fetch_configs/webrtc_android.py +2 -2
- data/vendor/depot_tools/fetch_configs/webrtc_ios.py +2 -2
- data/vendor/depot_tools/fix_encoding.py +6 -6
- data/vendor/depot_tools/gclient.py +136 -368
- data/vendor/depot_tools/gclient_scm.py +108 -647
- data/vendor/depot_tools/gclient_utils.py +22 -86
- data/vendor/depot_tools/gerrit_client.py +105 -0
- data/vendor/depot_tools/gerrit_util.py +174 -67
- data/vendor/depot_tools/git-crrev-parse +6 -7
- data/vendor/depot_tools/git-gs +1 -1
- data/vendor/depot_tools/git_cache.py +68 -18
- data/vendor/depot_tools/git_cherry_pick_upload.py +4 -4
- data/vendor/depot_tools/git_cl.py +1028 -961
- data/vendor/depot_tools/git_common.py +2 -3
- data/vendor/depot_tools/git_drover.py +0 -1
- data/vendor/depot_tools/git_footers.py +3 -43
- data/vendor/depot_tools/git_rebase_update.py +9 -1
- data/vendor/depot_tools/git_squash_branch.py +1 -1
- data/vendor/depot_tools/infra/config/cq.cfg +8 -1
- data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
- data/vendor/depot_tools/man/html/depot_tools.html +3 -11
- data/vendor/depot_tools/man/html/depot_tools_tutorial.html +9 -9
- data/vendor/depot_tools/man/html/git-cherry-pick-upload.html +2 -2
- data/vendor/depot_tools/man/html/git-drover.html +17 -17
- data/vendor/depot_tools/man/html/git-footers.html +2 -2
- data/vendor/depot_tools/man/html/git-freeze.html +4 -4
- data/vendor/depot_tools/man/html/git-hyper-blame.html +2 -2
- data/vendor/depot_tools/man/html/git-map-branches.html +2 -2
- data/vendor/depot_tools/man/html/git-map.html +2 -2
- data/vendor/depot_tools/man/html/git-mark-merge-base.html +2 -2
- data/vendor/depot_tools/man/html/git-nav-downstream.html +2 -2
- data/vendor/depot_tools/man/html/git-nav-upstream.html +2 -2
- data/vendor/depot_tools/man/html/git-new-branch.html +2 -2
- data/vendor/depot_tools/man/html/git-rebase-update.html +2 -2
- data/vendor/depot_tools/man/html/git-rename-branch.html +2 -2
- data/vendor/depot_tools/man/html/git-reparent-branch.html +2 -2
- data/vendor/depot_tools/man/html/git-retry.html +3 -3
- data/vendor/depot_tools/man/html/git-squash-branch.html +3 -3
- data/vendor/depot_tools/man/html/git-thaw.html +2 -2
- data/vendor/depot_tools/man/html/git-upstream-diff.html +3 -3
- data/vendor/depot_tools/man/man1/git-cherry-pick-upload.1 +4 -4
- data/vendor/depot_tools/man/man1/git-drover.1 +19 -19
- data/vendor/depot_tools/man/man1/git-footers.1 +4 -4
- data/vendor/depot_tools/man/man1/git-freeze.1 +6 -6
- data/vendor/depot_tools/man/man1/git-hyper-blame.1 +4 -4
- data/vendor/depot_tools/man/man1/git-map-branches.1 +4 -4
- data/vendor/depot_tools/man/man1/git-map.1 +4 -4
- data/vendor/depot_tools/man/man1/git-mark-merge-base.1 +4 -4
- data/vendor/depot_tools/man/man1/git-nav-downstream.1 +4 -4
- data/vendor/depot_tools/man/man1/git-nav-upstream.1 +4 -4
- data/vendor/depot_tools/man/man1/git-new-branch.1 +4 -4
- data/vendor/depot_tools/man/man1/git-rebase-update.1 +4 -4
- data/vendor/depot_tools/man/man1/git-rename-branch.1 +4 -4
- data/vendor/depot_tools/man/man1/git-reparent-branch.1 +4 -4
- data/vendor/depot_tools/man/man1/git-retry.1 +5 -5
- data/vendor/depot_tools/man/man1/git-squash-branch.1 +5 -5
- data/vendor/depot_tools/man/man1/git-thaw.1 +4 -4
- data/vendor/depot_tools/man/man1/git-upstream-diff.1 +5 -5
- data/vendor/depot_tools/man/man7/depot_tools.7 +5 -10
- data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +4 -4
- data/vendor/depot_tools/man/src/depot_tools.txt +1 -1
- data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +7 -7
- data/vendor/depot_tools/man/src/filter_demo_output.py +2 -2
- data/vendor/depot_tools/man/src/git-footers.demo.1.sh +1 -1
- data/vendor/depot_tools/man/src/git-retry.txt +1 -1
- data/vendor/depot_tools/man/src/git-squash-branch.txt +2 -2
- data/vendor/depot_tools/man/src/git-upstream-diff.txt +1 -1
- data/vendor/depot_tools/my_activity.py +6 -3
- data/vendor/depot_tools/my_reviews.py +1 -1
- 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/owners.py +14 -3
- data/vendor/depot_tools/presubmit_canned_checks.py +46 -67
- data/vendor/depot_tools/presubmit_support.py +109 -371
- data/vendor/depot_tools/pylintrc +83 -56
- data/vendor/depot_tools/recipe_modules/OWNERS +1 -0
- data/vendor/depot_tools/recipe_modules/bot_update/__init__.py +18 -9
- data/vendor/depot_tools/recipe_modules/bot_update/api.py +56 -55
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic.json +3 -7
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_output_manifest.json +3 -7
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +3 -7
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/buildbot.json +52 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/clobber.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/no_shallow.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange.json +3 -7
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2.json +2 -54
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json +56 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/{forced.json → trychange_oauth2_json.json} +6 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json +54 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +20 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json +59 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +20 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.py +45 -63
- data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +210 -807
- data/vendor/depot_tools/recipe_modules/bot_update/test_api.py +34 -45
- data/vendor/depot_tools/recipe_modules/cipd/api.py +59 -84
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/basic.json +71 -117
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/describe-failed.json +14 -60
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/describe-many-instances.json +71 -117
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/mac64.json +71 -117
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/win64.json +71 -117
- data/vendor/depot_tools/recipe_modules/cipd/example.py +2 -12
- data/vendor/depot_tools/recipe_modules/cipd/test_api.py +0 -9
- data/vendor/depot_tools/recipe_modules/depot_tools/api.py +6 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/example.expected/basic.json +7 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/example.expected/win.json +7 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/example.py +3 -0
- data/vendor/depot_tools/recipe_modules/gclient/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/gclient/api.py +9 -22
- data/vendor/depot_tools/recipe_modules/gclient/config.py +18 -5
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +14 -14
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/buildbot.json +211 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +16 -14
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +16 -14
- data/vendor/depot_tools/recipe_modules/gclient/example.py +13 -11
- data/vendor/depot_tools/recipe_modules/gerrit/__init__.py +6 -0
- data/vendor/depot_tools/recipe_modules/gerrit/api.py +63 -0
- data/vendor/depot_tools/recipe_modules/gerrit/example.expected/basic.json +64 -0
- data/vendor/depot_tools/recipe_modules/gerrit/example.py +35 -0
- data/vendor/depot_tools/recipe_modules/gerrit/test_api.py +24 -0
- data/vendor/depot_tools/recipe_modules/git/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/git/api.py +155 -142
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_branch.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_file_name.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_hash.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_ref.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_submodule_update_force.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +13 -13
- data/vendor/depot_tools/recipe_modules/git/example.expected/cannot_fail_build.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/cat-file_test.json +45 -19
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_delta.json +45 -19
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_failed.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +8 -8
- data/vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json +44 -18
- data/vendor/depot_tools/recipe_modules/git/example.expected/git-cache-checkout.json +48 -22
- data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +42 -16
- data/vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/set_got_revision.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.py +9 -3
- data/vendor/depot_tools/recipe_modules/git_cl/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/git_cl/api.py +8 -8
- data/vendor/depot_tools/recipe_modules/git_cl/example.py +1 -1
- data/vendor/depot_tools/recipe_modules/gsutil/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/gsutil/api.py +196 -0
- data/vendor/depot_tools/recipe_modules/gsutil/example.expected/basic.json +186 -0
- data/vendor/depot_tools/recipe_modules/gsutil/example.py +77 -0
- data/vendor/depot_tools/recipe_modules/gsutil/resources/gsutil_smart_retry.py +69 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/__init__.py +3 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/api.py +20 -3
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/basic.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_linux.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_mac.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_win.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_linux.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_mac.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_win.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.py +6 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +4 -6
- data/vendor/depot_tools/recipe_modules/rietveld/__init__.py +5 -0
- data/vendor/depot_tools/recipe_modules/rietveld/api.py +12 -9
- data/vendor/depot_tools/recipe_modules/rietveld/example.expected/basic.json +2 -24
- data/vendor/depot_tools/recipe_modules/rietveld/example.expected/buildbot.json +30 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.py +12 -6
- data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/tryserver/api.py +46 -70
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/set_failure_hash_with_no_steps.json +8 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/{with_svn_patch.json → with_gerrit_patch.json} +1 -31
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_gerrit_patch_deprecated.json +39 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +2 -2
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch_luci.json +8 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +3 -3
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +3 -3
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +1 -1
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +1 -1
- data/vendor/depot_tools/recipe_modules/tryserver/example.py +35 -5
- data/vendor/depot_tools/recipes.py +52 -28
- data/vendor/depot_tools/repo +216 -69
- data/vendor/depot_tools/rietveld.py +20 -15
- data/vendor/depot_tools/roll_dep.py +1 -1
- data/vendor/depot_tools/scm.py +11 -826
- data/vendor/depot_tools/subprocess2.py +5 -5
- data/vendor/depot_tools/third_party/cq_client/README.depot_tools.md +2 -0
- data/vendor/depot_tools/third_party/cq_client/README.md +5 -1
- data/vendor/depot_tools/third_party/cq_client/cq.pb.go +183 -104
- data/vendor/depot_tools/third_party/cq_client/cq.proto +43 -27
- data/vendor/depot_tools/third_party/cq_client/cq_pb2.py +95 -29
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_both.cfg +67 -0
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_gerrit.cfg +1 -2
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_rietveld.cfg +0 -3
- data/vendor/depot_tools/third_party/upload.py +44 -24
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +0 -5
- metadata +38 -93
- data/patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch +0 -25
- data/vendor/depot_tools/git-auto-svn +0 -6
- data/vendor/depot_tools/git_auto_svn.py +0 -122
- data/vendor/depot_tools/man/html/git-auto-svn.html +0 -837
- data/vendor/depot_tools/man/man1/git-auto-svn.1 +0 -113
- data/vendor/depot_tools/man/src/_git-auto-svn_desc.helper.txt +0 -1
- data/vendor/depot_tools/man/src/git-auto-svn.txt +0 -69
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/off.json +0 -43
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/install-failed.json +0 -31
- data/vendor/depot_tools/recipe_modules/cipd/resources/bootstrap.py +0 -218
- data/vendor/depot_tools/recipe_modules/tryserver/test_api.py +0 -7
- data/vendor/depot_tools/third_party/gsutil/CHECKSUM +0 -1
- data/vendor/depot_tools/third_party/gsutil/COPYING +0 -202
- data/vendor/depot_tools/third_party/gsutil/LICENSE.third_party +0 -295
- data/vendor/depot_tools/third_party/gsutil/MANIFEST.in +0 -5
- data/vendor/depot_tools/third_party/gsutil/README +0 -38
- data/vendor/depot_tools/third_party/gsutil/README.chromium +0 -25
- data/vendor/depot_tools/third_party/gsutil/README.pkg +0 -49
- data/vendor/depot_tools/third_party/gsutil/ReleaseNotes.txt +0 -825
- data/vendor/depot_tools/third_party/gsutil/VERSION +0 -1
- data/vendor/depot_tools/third_party/gsutil/gslib/README +0 -5
- data/vendor/depot_tools/third_party/gsutil/gslib/__init__.py +0 -22
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/__init__.py +0 -15
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/acls.py +0 -234
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/anon.py +0 -57
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/command_opts.py +0 -116
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/dev.py +0 -139
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/metadata.py +0 -186
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/naming.py +0 -173
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/prod.py +0 -160
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/projects.py +0 -130
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/subdirs.py +0 -110
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/support.py +0 -86
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/versioning.py +0 -242
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/wildcards.py +0 -170
- data/vendor/depot_tools/third_party/gsutil/gslib/bucket_listing_ref.py +0 -175
- data/vendor/depot_tools/third_party/gsutil/gslib/command.py +0 -725
- data/vendor/depot_tools/third_party/gsutil/gslib/command_runner.py +0 -102
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/__init__.py +0 -15
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/cat.py +0 -131
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/chacl.py +0 -523
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/config.py +0 -662
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/cp.py +0 -1819
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/disablelogging.py +0 -101
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/enablelogging.py +0 -149
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getacl.py +0 -82
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getcors.py +0 -121
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getdefacl.py +0 -86
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getlogging.py +0 -137
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getversioning.py +0 -116
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getwebcfg.py +0 -122
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/help.py +0 -218
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/ls.py +0 -578
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/mb.py +0 -172
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/mv.py +0 -159
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/perfdiag.py +0 -903
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/rb.py +0 -113
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/rm.py +0 -237
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setacl.py +0 -138
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setcors.py +0 -145
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setdefacl.py +0 -105
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setmeta.py +0 -420
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setversioning.py +0 -114
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setwebcfg.py +0 -190
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/update.py +0 -305
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/version.py +0 -150
- data/vendor/depot_tools/third_party/gsutil/gslib/exception.py +0 -76
- data/vendor/depot_tools/third_party/gsutil/gslib/help_provider.py +0 -81
- data/vendor/depot_tools/third_party/gsutil/gslib/name_expansion.py +0 -550
- data/vendor/depot_tools/third_party/gsutil/gslib/no_op_auth_plugin.py +0 -30
- data/vendor/depot_tools/third_party/gsutil/gslib/plurality_checkable_iterator.py +0 -56
- data/vendor/depot_tools/third_party/gsutil/gslib/project_id.py +0 -67
- data/vendor/depot_tools/third_party/gsutil/gslib/storage_uri_builder.py +0 -56
- data/vendor/depot_tools/third_party/gsutil/gslib/thread_pool.py +0 -79
- data/vendor/depot_tools/third_party/gsutil/gslib/util.py +0 -167
- data/vendor/depot_tools/third_party/gsutil/gslib/wildcard_iterator.py +0 -498
- data/vendor/depot_tools/third_party/gsutil/gsutil +0 -384
- data/vendor/depot_tools/third_party/gsutil/gsutil.spec.in +0 -75
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/__init__.py +0 -22
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_client.py +0 -630
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_client_test.py +0 -374
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_helper.py +0 -103
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_plugin.py +0 -24
- data/vendor/depot_tools/third_party/gsutil/pkg_util.py +0 -60
- data/vendor/depot_tools/third_party/gsutil/plugins/__init__.py +0 -0
- data/vendor/depot_tools/third_party/gsutil/plugins/sso_auth.py +0 -105
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7112c330b5754a453c2991e5f5ad68873326a377
|
4
|
+
data.tar.gz: dda15f0240c57a55a6a1fb216c12dfbea3140ed0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b90b65c23d279675155f0d7718f7e783f9c4439eab084b8828279e76c331169a1d5d5f089d45bf6896033084b70b79ab399efe19a72f45957362cd796f09b803
|
7
|
+
data.tar.gz: e604fb24672ba3dcd29d565f31f8ef6fe70a81a24df91b54bea9ae7252623354d5057029ce15844106fe1faa3c71a8e6a3dd6a1f39e230def4be7253c930aa16
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/ext/libv8/builder.rb
CHANGED
@@ -30,7 +30,7 @@ module Libv8
|
|
30
30
|
defines << 'v8_use_external_startup_data=0'
|
31
31
|
|
32
32
|
# Do not use the GPLv3 ld.gold binary on Linux
|
33
|
-
defines << 'linux_use_bundled_gold=0'
|
33
|
+
#defines << 'linux_use_bundled_gold=0'
|
34
34
|
|
35
35
|
# Pass clang flag to GYP in order to work around GCC compilation failures
|
36
36
|
defines << "clang=#{@compiler.is_a?(Compiler::Clang) ? '1' : '0'}"
|
@@ -67,7 +67,7 @@ module Libv8
|
|
67
67
|
print_build_info
|
68
68
|
puts 'Beginning compilation. This will take some time.'
|
69
69
|
|
70
|
-
command = "env CXX=#{Shellwords.escape @compiler.to_s}
|
70
|
+
command = "env CXX=#{Shellwords.escape @compiler.to_s} #{make} #{make_flags}"
|
71
71
|
puts "Building v8 with #{command}"
|
72
72
|
system command
|
73
73
|
end
|
data/lib/libv8/version.rb
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
From
|
1
|
+
From fbf90ea249b9f00e0dc31ee9ca335a29a218e735 Mon Sep 17 00:00:00 2001
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
3
3
|
Date: Mon, 25 Jul 2016 00:00:19 +0300
|
4
|
-
Subject: [PATCH 1/
|
4
|
+
Subject: [PATCH 1/4] Build a standalone static library
|
5
5
|
|
6
6
|
---
|
7
7
|
gypfiles/standalone.gypi | 3 +++
|
8
8
|
1 file changed, 3 insertions(+)
|
9
9
|
|
10
10
|
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
|
11
|
-
index
|
11
|
+
index d438a5aeab..f28c9bfa9f 100644
|
12
12
|
--- a/gypfiles/standalone.gypi
|
13
13
|
+++ b/gypfiles/standalone.gypi
|
14
|
-
@@ -
|
14
|
+
@@ -538,6 +538,9 @@
|
15
15
|
}], # fastbuild!=0
|
16
16
|
],
|
17
17
|
'target_conditions': [
|
@@ -1,18 +1,18 @@
|
|
1
|
-
From
|
1
|
+
From 2ddb964b20ad4381de65077a2db6f44a6cc05c52 Mon Sep 17 00:00:00 2001
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
3
|
-
Date:
|
4
|
-
Subject: [PATCH 2/
|
3
|
+
Date: Tue, 28 Feb 2017 00:04:26 +0200
|
4
|
+
Subject: [PATCH 2/4] Don't compile unnecessary stuff
|
5
5
|
|
6
6
|
---
|
7
7
|
Makefile | 7 +------
|
8
|
-
gypfiles/all.gyp |
|
9
|
-
2 files changed, 2 insertions(+),
|
8
|
+
gypfiles/all.gyp | 39 +--------------------------------------
|
9
|
+
2 files changed, 2 insertions(+), 44 deletions(-)
|
10
10
|
|
11
11
|
diff --git a/Makefile b/Makefile
|
12
|
-
index
|
12
|
+
index 6eeac09a14..a2807ffafe 100644
|
13
13
|
--- a/Makefile
|
14
14
|
+++ b/Makefile
|
15
|
-
@@ -
|
15
|
+
@@ -266,12 +266,7 @@ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
|
16
16
|
gypfiles/shim_headers.gypi gypfiles/features.gypi \
|
17
17
|
gypfiles/standalone.gypi \
|
18
18
|
gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \
|
@@ -27,10 +27,10 @@ index ffb5192bfa..8e60aabc02 100644
|
|
27
27
|
# If vtunejit=on, the v8vtune.gyp will be appended.
|
28
28
|
ifeq ($(vtunejit), on)
|
29
29
|
diff --git a/gypfiles/all.gyp b/gypfiles/all.gyp
|
30
|
-
index
|
30
|
+
index a3f2eedc77..9b02b4d305 100644
|
31
31
|
--- a/gypfiles/all.gyp
|
32
32
|
+++ b/gypfiles/all.gyp
|
33
|
-
@@ -15,
|
33
|
+
@@ -15,44 +15,7 @@
|
34
34
|
'dependencies': [
|
35
35
|
'../tools/parser-shell.gyp:parser-shell',
|
36
36
|
],
|
@@ -42,14 +42,19 @@ index ff1bea4b61..9b02b4d305 100644
|
|
42
42
|
- '../test/cctest/cctest.gyp:*',
|
43
43
|
- '../test/fuzzer/fuzzer.gyp:*',
|
44
44
|
- '../test/unittests/unittests.gyp:*',
|
45
|
-
-
|
45
|
+
- ],
|
46
|
+
- }],
|
47
|
+
- ['v8_enable_inspector==1', {
|
48
|
+
- 'dependencies': [
|
49
|
+
- '../test/debugger/debugger.gyp:*',
|
50
|
+
- '../test/inspector/inspector.gyp:*',
|
51
|
+
- ],
|
46
52
|
- }],
|
47
53
|
- ['test_isolation_mode != "noop"', {
|
48
54
|
- 'dependencies': [
|
49
55
|
- '../test/bot_default.gyp:*',
|
50
56
|
- '../test/benchmarks/benchmarks.gyp:*',
|
51
57
|
- '../test/default.gyp:*',
|
52
|
-
- '../test/ignition.gyp:*',
|
53
58
|
- '../test/intl/intl.gyp:*',
|
54
59
|
- '../test/message/message.gyp:*',
|
55
60
|
- '../test/mjsunit/mjsunit.gyp:*',
|
@@ -1,17 +1,17 @@
|
|
1
|
-
From
|
1
|
+
From 51ffbf60118ba9cf62475fef0e0633f45b7353c8 Mon Sep 17 00:00:00 2001
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
3
3
|
Date: Mon, 25 Jul 2016 00:05:47 +0300
|
4
|
-
Subject: [PATCH 3/
|
4
|
+
Subject: [PATCH 3/4] Use the -fPIC flag for the static library
|
5
5
|
|
6
6
|
---
|
7
7
|
gypfiles/standalone.gypi | 2 +-
|
8
8
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
9
9
|
|
10
10
|
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
|
11
|
-
index
|
11
|
+
index f28c9bfa9f..01e4dc9336 100644
|
12
12
|
--- a/gypfiles/standalone.gypi
|
13
13
|
+++ b/gypfiles/standalone.gypi
|
14
|
-
@@ -
|
14
|
+
@@ -810,7 +810,7 @@
|
15
15
|
[ 'visibility=="hidden" and v8_enable_backtrace==0', {
|
16
16
|
'cflags': [ '-fvisibility=hidden' ],
|
17
17
|
}],
|
@@ -1,7 +1,7 @@
|
|
1
|
-
From
|
1
|
+
From bdeebd38b99b47f379f3ee8b392692cbea729439 Mon Sep 17 00:00:00 2001
|
2
2
|
From: Jb Aviat <jb@sqreen.io>
|
3
3
|
Date: Mon, 27 Feb 2017 11:14:42 +0200
|
4
|
-
Subject: [PATCH
|
4
|
+
Subject: [PATCH 4/4] Do not embed debug symbols in macOS libraries
|
5
5
|
|
6
6
|
This lowers dramatically the produced binary size
|
7
7
|
---
|
@@ -9,10 +9,10 @@ This lowers dramatically the produced binary size
|
|
9
9
|
1 file changed, 1 insertion(+)
|
10
10
|
|
11
11
|
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
|
12
|
-
index
|
12
|
+
index 01e4dc9336..027eaff718 100644
|
13
13
|
--- a/gypfiles/standalone.gypi
|
14
14
|
+++ b/gypfiles/standalone.gypi
|
15
|
-
@@ -
|
15
|
+
@@ -1069,6 +1069,7 @@
|
16
16
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
|
17
17
|
'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
|
18
18
|
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
|
data/vendor/depot_tools/OWNERS
CHANGED
@@ -12,22 +12,15 @@ import fnmatch
|
|
12
12
|
import os
|
13
13
|
|
14
14
|
|
15
|
-
def
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
r'^cpplint_chromium\.py$',
|
23
|
-
r'^external_bin[\/\\].+',
|
24
|
-
r'^python[0-9]*_bin[\/\\].+',
|
25
|
-
r'^recipes\.py$',
|
26
|
-
r'^site-packages-py[0-9]\.[0-9][\/\\].+',
|
27
|
-
r'^svn_bin[\/\\].+',
|
28
|
-
r'^testing_support[\/\\]_rietveld[\/\\].+',
|
29
|
-
r'^testing_support[\/\\]_infra[\/\\].+',
|
15
|
+
def DepotToolsPylint(input_api, output_api):
|
16
|
+
"""Gather all the pylint logic into one place to make it self-contained."""
|
17
|
+
white_list = [
|
18
|
+
r'^[^/]*\.py$',
|
19
|
+
r'^testing_support/[^/]*\.py$',
|
20
|
+
r'^tests/[^/]*\.py$',
|
21
|
+
r'^recipe_modules/.*\.py$', # Allow recursive search in recipe modules.
|
30
22
|
]
|
23
|
+
black_list = list(input_api.DEFAULT_BLACK_LIST)
|
31
24
|
if os.path.exists('.gitignore'):
|
32
25
|
with open('.gitignore') as fh:
|
33
26
|
lines = [l.strip() for l in fh.readlines()]
|
@@ -42,21 +35,26 @@ def CommonChecks(input_api, output_api, tests_to_black_list):
|
|
42
35
|
'R0401', # Cyclic import
|
43
36
|
'W0613', # Unused argument
|
44
37
|
]
|
45
|
-
|
38
|
+
return input_api.canned_checks.GetPylint(
|
46
39
|
input_api,
|
47
40
|
output_api,
|
48
|
-
white_list=
|
41
|
+
white_list=white_list,
|
49
42
|
black_list=black_list,
|
50
43
|
disabled_warnings=disabled_warnings)
|
44
|
+
|
45
|
+
|
46
|
+
def CommonChecks(input_api, output_api, tests_to_black_list):
|
47
|
+
results = []
|
48
|
+
results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
|
51
49
|
# TODO(maruel): Make sure at least one file is modified first.
|
52
50
|
# TODO(maruel): If only tests are modified, only run them.
|
51
|
+
tests = DepotToolsPylint(input_api, output_api)
|
53
52
|
unit_tests = input_api.canned_checks.GetUnitTestsInDirectory(
|
54
53
|
input_api,
|
55
54
|
output_api,
|
56
55
|
'tests',
|
57
56
|
whitelist=[r'.*test\.py$'],
|
58
57
|
blacklist=tests_to_black_list)
|
59
|
-
tests = pylint
|
60
58
|
if not input_api.platform.startswith(('cygwin', 'win32')):
|
61
59
|
tests.extend(unit_tests)
|
62
60
|
else:
|
@@ -88,12 +86,11 @@ def RunGitClTests(input_api, output_api):
|
|
88
86
|
server.start_server()
|
89
87
|
test_path = input_api.os_path.abspath(
|
90
88
|
input_api.os_path.join(input_api.PresubmitLocalPath(), 'tests'))
|
89
|
+
|
90
|
+
# test-lib.sh is not an actual test so it should not be run.
|
91
|
+
NON_TEST_FILES = ('test-lib.sh')
|
91
92
|
for test in input_api.os_listdir(test_path):
|
92
|
-
|
93
|
-
# tests are tests known to fail.
|
94
|
-
DISABLED_TESTS = (
|
95
|
-
'owners.sh', 'push-from-logs.sh', 'rename.sh', 'test-lib.sh')
|
96
|
-
if test in DISABLED_TESTS or not test.endswith('.sh'):
|
93
|
+
if test in NON_TEST_FILES or not test.endswith('.sh'):
|
97
94
|
continue
|
98
95
|
|
99
96
|
print('Running %s' % test)
|
@@ -11,10 +11,10 @@ is a Python script that defines a list of `solutions` with the following format:
|
|
11
11
|
|
12
12
|
solutions = [
|
13
13
|
{ "name" : "src",
|
14
|
-
"url" : "
|
14
|
+
"url" : "https://chromium.googlesource.com/chromium/src.git",
|
15
15
|
"custom_deps" : {
|
16
16
|
# To use the trunk of a component instead of what's in DEPS:
|
17
|
-
#"component": "https://
|
17
|
+
#"component": "https://github.com/luci/luci-go",
|
18
18
|
# To exclude a component from your working copy:
|
19
19
|
#"data/really_large_component": None,
|
20
20
|
}
|
@@ -58,7 +58,7 @@ Each item in the `deps` dictionary consists of a key-value pair. The key is the
|
|
58
58
|
directory into which the component will be checked out, relative to the
|
59
59
|
directory containing the `.gclient` file. The value is the URL from which that
|
60
60
|
directory will be checked out. If there is no address scheme (that is, no
|
61
|
-
`http:`
|
61
|
+
`http:` prefix), then the value must begin with a slash and is treated
|
62
62
|
relative to the root of the solution's repository.
|
63
63
|
|
64
64
|
The URL typically contains a specific revision or change number (as appropriate
|
@@ -6,15 +6,15 @@ git but unfamiliar with the code review process supported by Rietveld and
|
|
6
6
|
Gerrit.
|
7
7
|
|
8
8
|
|
9
|
-
##
|
9
|
+
## Rietveld concepts and terms
|
10
10
|
|
11
11
|
A Rietveld review is for discussion of a single change or patch. You upload a
|
12
12
|
proposed change, the reviewer comments on your change, and then you can upload a
|
13
13
|
revised version of your change. Rietveld stores the history of uploaded patches
|
14
14
|
as well as the comments, and can compute diffs in between these patches. The
|
15
15
|
history of a patch is very much like a small branch in git, but since Rietveld
|
16
|
-
is VCS-agnostic the concepts don't map perfectly. The identifier for a single
|
17
|
-
review
|
16
|
+
is VCS-agnostic, the concepts don't map perfectly. The identifier for a single
|
17
|
+
review thread including patches and comments in Rietveld is called an **issue**.
|
18
18
|
|
19
19
|
Rietveld provides a basic uploader that understands git. This program is used by
|
20
20
|
git-cl, and is included in the git-cl repo as upload.py.
|
@@ -29,9 +29,9 @@ different ways you can handle this workflow with git:
|
|
29
29
|
|
30
30
|
1. Rewriting a single commit. Say the origin commit is O, and you commit your
|
31
31
|
initial work in a commit A, making your history like O--A. After review
|
32
|
-
comments, you commit --amend
|
33
|
-
A', so history is now O--A'. (Equivalently, you can use
|
34
|
-
git rebase -i
|
32
|
+
comments, you `git commit --amend`, effectively erasing A and making a new
|
33
|
+
commit A', so history is now O--A'. (Equivalently, you can use
|
34
|
+
`git reset --soft` or `git rebase -i`.)
|
35
35
|
2. Writing follow-up commits. Initial work is again in A, and after review
|
36
36
|
comments, you write a new commit B so your history looks like O--A--B. When
|
37
37
|
you upload the revised patch, you upload the diff of O..B, not A..B; you
|
@@ -78,9 +78,10 @@ that as a single review, everything works just as above.
|
|
78
78
|
But what if you upload each of A, B, and C as separate reviews? What if you
|
79
79
|
then need to change A?
|
80
80
|
|
81
|
-
1. One option is rewriting history: write a new commit A', then use
|
82
|
-
-i to insert that diff in as O--A--A'--B--C as well as squash
|
83
|
-
sometimes not possible if B and C have touched some lines
|
81
|
+
1. One option is rewriting history: write a new commit A', then use
|
82
|
+
`git rebase -i` to insert that diff in as O--A--A'--B--C as well as squash
|
83
|
+
it. This is sometimes not possible if B and C have touched some lines
|
84
|
+
affected by A'.
|
84
85
|
2. Another option, and the one espoused by software like topgit, is for you to
|
85
86
|
have separate branches for A, B, and C, and after writing A' you merge it
|
86
87
|
into each of those branches. (topgit automates this merging process.) This
|
@@ -98,15 +99,15 @@ then need to change A?
|
|
98
99
|
In practice, this comes up pretty rarely. Suggestions for better workflows are
|
99
100
|
welcome.
|
100
101
|
|
101
|
-
## Bash auto
|
102
|
+
## Bash auto completion
|
102
103
|
|
103
104
|
1. Ensure that your base git commands are autocompleted
|
104
105
|
[doc](https://git-scm.com/book/en/v1/Git-Basics-Tips-and-Tricks).
|
105
106
|
2. Add this to your .bashrc:
|
106
|
-
|
107
|
+
|
107
108
|
# The next line enables bash completion for git cl.
|
108
109
|
if [ -f "$HOME/bin/depot_tools/git_cl_completion.sh" ]; then
|
109
110
|
. "$HOME/bin/depot_tools/git_cl_completion.sh"
|
110
111
|
fi
|
111
|
-
|
112
|
+
|
112
113
|
3. Profit.
|
@@ -32,8 +32,7 @@ disable auto update, set the environment variable `DEPOT_TOOLS_UPDATE=0`.
|
|
32
32
|
To update package manually, run `update_depot_tools.bat` on Windows,
|
33
33
|
or `./update_depot_tools` on Linux or Mac.
|
34
34
|
|
35
|
-
On Windows only, running `gclient` will install `
|
36
|
-
`python`.
|
35
|
+
On Windows only, running `gclient` will install `git` and `python`.
|
37
36
|
|
38
37
|
|
39
38
|
## Contributing
|
@@ -54,7 +53,7 @@ To contribute change for review:
|
|
54
53
|
# Edit change description if needed.
|
55
54
|
git cl desc
|
56
55
|
|
57
|
-
# If change is approved, flag it to be
|
56
|
+
# If change is approved, flag it to be committed.
|
58
57
|
git cl set-commit
|
59
58
|
|
60
59
|
# If change needs more work.
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (c) 2016 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
|
+
"""Ensures that all depot_tools talks directly to appengine to avoid SNI."""
|
6
|
+
|
7
|
+
import urlparse
|
8
|
+
|
9
|
+
|
10
|
+
mapping = {
|
11
|
+
'codereview.chromium.org': 'chromiumcodereview.appspot.com',
|
12
|
+
'crashpad.chromium.org': 'crashpad-home.appspot.com',
|
13
|
+
'bugs.chromium.org': 'monorail-prod.appspot.com',
|
14
|
+
'bugs-staging.chromium.org': 'monorail-staging.appspot.com',
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
def MapUrl(url):
|
19
|
+
parts = list(urlparse.urlsplit(url))
|
20
|
+
new_netloc = mapping.get(parts[1])
|
21
|
+
if new_netloc:
|
22
|
+
parts[1] = new_netloc
|
23
|
+
return urlparse.urlunsplit(parts)
|
@@ -159,7 +159,7 @@ def main():
|
|
159
159
|
properties = None
|
160
160
|
# Bad except clauses order (HTTPError is an ancestor class of
|
161
161
|
# ClientLoginError)
|
162
|
-
# pylint: disable=
|
162
|
+
# pylint: disable=bad-except-order
|
163
163
|
try:
|
164
164
|
properties = rietveld_obj.get_issue_properties(options.issue, False)
|
165
165
|
except urllib2.HTTPError as e:
|
@@ -263,12 +263,8 @@ def main():
|
|
263
263
|
patch.patchlevel += options.extra_patchlevel
|
264
264
|
full_dir = os.path.abspath(options.root_dir)
|
265
265
|
scm_type = scm.determine_scm(full_dir)
|
266
|
-
if scm_type == '
|
267
|
-
scm_obj = checkout.SvnCheckout(full_dir, None, None, None, None)
|
268
|
-
elif scm_type == 'git':
|
266
|
+
if scm_type == 'git':
|
269
267
|
scm_obj = checkout.GitCheckout(full_dir, None, None, None, None)
|
270
|
-
elif scm_type == None:
|
271
|
-
scm_obj = checkout.RawCheckout(full_dir, None, None)
|
272
268
|
else:
|
273
269
|
parser.error('Couldn\'t determine the scm')
|
274
270
|
|
@@ -306,8 +302,6 @@ def main():
|
|
306
302
|
'--nohooks',
|
307
303
|
'--delete_unversioned_trees',
|
308
304
|
]
|
309
|
-
if scm_type == 'svn':
|
310
|
-
cmd.extend(['--revision', 'BASE'])
|
311
305
|
if options.revision_mapping:
|
312
306
|
cmd.extend(['--output-json', f])
|
313
307
|
|