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
@@ -0,0 +1,73 @@
|
|
1
|
+
#!/bin/bash -e
|
2
|
+
|
3
|
+
# Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
4
|
+
# Use of this source code is governed by a BSD-style license that can be
|
5
|
+
# found in the LICENSE file.
|
6
|
+
|
7
|
+
MYPATH=$(dirname "${BASH_SOURCE[0]}")
|
8
|
+
|
9
|
+
: ${CIPD_CLIENT_VER:=`cat $MYPATH/cipd_client_version`}
|
10
|
+
: ${CIPD_CLIENT_SRV:='https://chrome-infra-packages.appspot.com'}
|
11
|
+
|
12
|
+
UNAME=`uname -s | tr '[:upper:]' '[:lower:]'`
|
13
|
+
case $UNAME in
|
14
|
+
linux)
|
15
|
+
PLAT=linux
|
16
|
+
;;
|
17
|
+
cygwin*|msys*|mingw*)
|
18
|
+
PLAT=windows
|
19
|
+
;;
|
20
|
+
darwin)
|
21
|
+
PLAT=mac
|
22
|
+
;;
|
23
|
+
*)
|
24
|
+
echo "UNKNOWN OS: $UNAME"
|
25
|
+
exit 1
|
26
|
+
esac
|
27
|
+
|
28
|
+
UNAME=`uname -m | tr '[:upper:]' '[:lower:]'`
|
29
|
+
case $UNAME in
|
30
|
+
x86_64|amd64)
|
31
|
+
ARCH=amd64
|
32
|
+
;;
|
33
|
+
arm*)
|
34
|
+
ARCH=$UNAME
|
35
|
+
;;
|
36
|
+
*86)
|
37
|
+
ARCH=386
|
38
|
+
;;
|
39
|
+
*)
|
40
|
+
echo "UNKNOWN Machine architecture: $UNAME"
|
41
|
+
exit 1
|
42
|
+
esac
|
43
|
+
|
44
|
+
URL="$CIPD_CLIENT_SRV/client?platform=${PLAT}-${ARCH}&version=$CIPD_CLIENT_VER"
|
45
|
+
CLIENT="$MYPATH/.cipd_client"
|
46
|
+
|
47
|
+
USER_AGENT="depot_tools/$(git -C $MYPATH rev-parse HEAD 2>/dev/null || echo "???")"
|
48
|
+
|
49
|
+
if [ ! -e "$CLIENT" ]; then
|
50
|
+
echo "Bootstrapping cipd client for ${PLAT}-${ARCH}..."
|
51
|
+
echo "From $URL"
|
52
|
+
if hash curl 2> /dev/null ; then
|
53
|
+
curl "$URL" -A "$USER_AGENT" -L -o "$CLIENT"
|
54
|
+
chmod +x "$CLIENT"
|
55
|
+
else
|
56
|
+
echo Your platform is missing the \`curl\` command. Please use your package
|
57
|
+
echo manager to install it before continuing.
|
58
|
+
echo
|
59
|
+
echo Alternately, manually download:
|
60
|
+
echo "$URL"
|
61
|
+
echo To $CLIENT, and then re-run this command.
|
62
|
+
exit 1
|
63
|
+
fi
|
64
|
+
fi
|
65
|
+
|
66
|
+
export CIPD_HTTP_USER_AGENT_PREFIX=$USER_AGENT
|
67
|
+
if ! "$CLIENT" selfupdate -version "$CIPD_CLIENT_VER" ; then
|
68
|
+
echo -n "[31;1mselfupdate failed:[0;1m " 1>&2
|
69
|
+
echo "run \`CIPD_HTTP_USER_AGENT_PREFIX=$USER_AGENT/manual $CLIENT selfupdate -version '$CIPD_CLIENT_VER'\` to diagnose" 1>&2
|
70
|
+
echo "[0m" 1>&2
|
71
|
+
fi
|
72
|
+
|
73
|
+
exec "$CLIENT" "${@}"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@echo off
|
2
|
+
:: Copyright (c) 2016 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
|
+
:: To allow this powershell script to run if it was a byproduct of downloading
|
7
|
+
:: and unzipping the depot_tools.zip distribution, we clear the Zone.Identifier
|
8
|
+
:: alternate data stream. This is equivalent to clicking the "Unblock" button
|
9
|
+
:: in the file's properties dialog.
|
10
|
+
echo.>"%~dp0\cipd.ps1:Zone.Identifier"
|
11
|
+
|
12
|
+
powershell -NoProfile -ExecutionPolicy RemoteSigned -File "%~dp0\cipd.ps1" %*
|
@@ -0,0 +1,57 @@
|
|
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
|
+
$myPath = Split-Path $MyInvocation.MyCommand.Path -Parent
|
6
|
+
|
7
|
+
function GetEnvVar([string] $key, [scriptblock] $defaultFn) {
|
8
|
+
if (Test-Path "Env:\$key") {
|
9
|
+
return Get-ChildItem $Env $key
|
10
|
+
}
|
11
|
+
return $defaultFn.Invoke()
|
12
|
+
}
|
13
|
+
|
14
|
+
$cipdClientVer = GetEnvVar "CIPD_CLIENT_VER" {
|
15
|
+
Get-Content (Join-Path $myPath -ChildPath 'cipd_client_version') -TotalCount 1
|
16
|
+
}
|
17
|
+
$cipdClientSrv = GetEnvVar "CIPD_CLIENT_SRV" {
|
18
|
+
"https://chrome-infra-packages.appspot.com"
|
19
|
+
}
|
20
|
+
|
21
|
+
$plat="windows"
|
22
|
+
if ([environment]::Is64BitOperatingSystem) {
|
23
|
+
$arch="amd64"
|
24
|
+
} else {
|
25
|
+
$arch="386"
|
26
|
+
}
|
27
|
+
|
28
|
+
$url = "$cipdClientSrv/client?platform=$plat-$arch&version=$cipdClientVer"
|
29
|
+
$client = Join-Path $myPath -ChildPath ".cipd_client.exe"
|
30
|
+
|
31
|
+
$depot_tools_version = &git -C $myPath rev-parse HEAD 2>&1
|
32
|
+
if ($LastExitCode -eq 0) {
|
33
|
+
$user_agent = "depot_tools/$depot_tools_version"
|
34
|
+
} else {
|
35
|
+
$user_agent = "depot_tools/???"
|
36
|
+
}
|
37
|
+
|
38
|
+
$Env:CIPD_HTTP_USER_AGENT_PREFIX = $user_agent
|
39
|
+
if (!(Test-Path $client)) {
|
40
|
+
echo "Bootstrapping cipd client for $plat-$arch..."
|
41
|
+
echo "From $url"
|
42
|
+
# TODO(iannucci): It would be really nice if there was a way to get this to
|
43
|
+
# show progress without also completely destroying the download speed, but
|
44
|
+
# I can't seem to find a way to do it. Patches welcome :)
|
45
|
+
$wc = (New-Object System.Net.WebClient)
|
46
|
+
$wc.Headers.add('User-Agent', $user_agent)
|
47
|
+
$wc.DownloadFile($url, $client)
|
48
|
+
}
|
49
|
+
|
50
|
+
$_ = & $client selfupdate -version "$cipdClientVer"
|
51
|
+
if ($LastExitCode -ne 0) {
|
52
|
+
Write-Host "selfupdate failed: " -ForegroundColor Red -NoNewline
|
53
|
+
Write-Host "run ``set CIPD_HTTP_USER_AGENT_PREFIX=$user_agent/manual && $client selfupdate -version $cipdClientVer`` to diagnose`n" -ForegroundColor White
|
54
|
+
}
|
55
|
+
|
56
|
+
& $client @args
|
57
|
+
exit $LastExitCode
|
@@ -0,0 +1 @@
|
|
1
|
+
git_revision:a22c452038ad21e6d246461813fa1c952ae668c3
|
@@ -20,7 +20,7 @@ class NotFoundError(Exception):
|
|
20
20
|
def __init__(self, e):
|
21
21
|
Exception.__init__(self,
|
22
22
|
'Problem while looking for clang-format in Chromium source tree:\n'
|
23
|
-
'
|
23
|
+
'%s' % e)
|
24
24
|
|
25
25
|
|
26
26
|
def FindClangFormatToolInChromiumTree():
|
@@ -28,7 +28,8 @@ def FindClangFormatToolInChromiumTree():
|
|
28
28
|
bin_path = gclient_utils.GetBuildtoolsPlatformBinaryPath()
|
29
29
|
if not bin_path:
|
30
30
|
raise NotFoundError(
|
31
|
-
'Could not find checkout in any parent of the current path
|
31
|
+
'Could not find checkout in any parent of the current path.\n'
|
32
|
+
'Set CHROMIUM_BUILDTOOLS_PATH to use outside of a chromium checkout.')
|
32
33
|
|
33
34
|
tool_path = os.path.join(bin_path,
|
34
35
|
'clang-format' + gclient_utils.GetExeSuffix())
|
@@ -42,7 +43,9 @@ def FindClangFormatScriptInChromiumTree(script_name):
|
|
42
43
|
tools_path = gclient_utils.GetBuildtoolsPath()
|
43
44
|
if not tools_path:
|
44
45
|
raise NotFoundError(
|
45
|
-
'Could not find checkout in any parent of the current path
|
46
|
+
'Could not find checkout in any parent of the current path.\n',
|
47
|
+
'Set CHROMIUM_BUILDTOOLS_PATH to use outside of a chromium checkout.')
|
48
|
+
|
46
49
|
script_path = os.path.join(tools_path, 'clang_format', 'script', script_name)
|
47
50
|
if not os.path.exists(script_path):
|
48
51
|
raise NotFoundError('File does not exist: %s' % script_path)
|
@@ -52,9 +55,9 @@ def FindClangFormatScriptInChromiumTree(script_name):
|
|
52
55
|
def main(args):
|
53
56
|
try:
|
54
57
|
tool = FindClangFormatToolInChromiumTree()
|
55
|
-
except NotFoundError
|
56
|
-
|
57
|
-
|
58
|
+
except NotFoundError as e:
|
59
|
+
sys.stderr.write("%s\n" % str(e))
|
60
|
+
return 1
|
58
61
|
|
59
62
|
# Add some visibility to --help showing where the tool lives, since this
|
60
63
|
# redirection can be a little opaque.
|
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
# Copyright 2016 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
|
+
base_dir=$(dirname "$0")
|
7
|
+
|
8
|
+
PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/clang_format_merge_driver.py" "$@"
|
@@ -0,0 +1,11 @@
|
|
1
|
+
@echo off
|
2
|
+
:: Copyright 2016 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
|
+
setlocal
|
6
|
+
|
7
|
+
:: This is required with cygwin only.
|
8
|
+
PATH=%~dp0;%PATH%
|
9
|
+
|
10
|
+
:: Defer control.
|
11
|
+
%~dp0python "%~dp0\clang_format_merge_driver.py" %*
|
@@ -0,0 +1,67 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
# Copyright 2016 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
|
+
"""clang-format 3-way merge driver.
|
6
|
+
|
7
|
+
This is a custom merge driver for git that helps automatically resolves
|
8
|
+
conflicts caused by clang-format changes. The conflict resolution
|
9
|
+
strategy is extremely simple: it simply clang-formats the current,
|
10
|
+
ancestor branch's, and other branch's version of the file and delegates
|
11
|
+
the remaining work to git merge-file.
|
12
|
+
|
13
|
+
See https://git-scm.com/docs/gitattributes ("Defining a custom merge
|
14
|
+
driver") for more details.
|
15
|
+
"""
|
16
|
+
|
17
|
+
import subprocess
|
18
|
+
import sys
|
19
|
+
|
20
|
+
import clang_format
|
21
|
+
|
22
|
+
|
23
|
+
def main():
|
24
|
+
if len(sys.argv) < 5:
|
25
|
+
print('usage: %s <base> <current> <others> <path in the tree>' %
|
26
|
+
sys.argv[0])
|
27
|
+
sys.exit(1)
|
28
|
+
|
29
|
+
base, current, others, file_name_in_tree = sys.argv[1:5]
|
30
|
+
|
31
|
+
if file_name_in_tree == '%P':
|
32
|
+
print >>sys.stderr
|
33
|
+
print >>sys.stderr, 'ERROR: clang-format merge driver needs git 2.5+'
|
34
|
+
if sys.platform == 'darwin':
|
35
|
+
print >>sys.stderr, 'Upgrade to Xcode 7.2+'
|
36
|
+
print >>sys.stderr
|
37
|
+
return 1
|
38
|
+
|
39
|
+
print 'Running clang-format 3-way merge driver on ' + file_name_in_tree
|
40
|
+
|
41
|
+
try:
|
42
|
+
tool = clang_format.FindClangFormatToolInChromiumTree()
|
43
|
+
for fpath in base, current, others:
|
44
|
+
# Typically, clang-format is used with the -i option to rewrite files
|
45
|
+
# in-place. However, merge files live in the repo root, so --style=file
|
46
|
+
# will always pick up the root .clang-format.
|
47
|
+
#
|
48
|
+
# Instead, this tool uses --assume-filename so clang-format will pick up
|
49
|
+
# the appropriate .clang-format. Unfortunately, --assume-filename only
|
50
|
+
# works when the input is from stdin, so the file I/O portions are lifted
|
51
|
+
# up into the script as well.
|
52
|
+
with open(fpath, 'rb') as input_file:
|
53
|
+
output = subprocess.check_output(
|
54
|
+
[tool, '--assume-filename=%s' % file_name_in_tree, '--style=file'],
|
55
|
+
stdin=input_file)
|
56
|
+
with open(fpath, 'wb') as output_file:
|
57
|
+
output_file.write(output)
|
58
|
+
except clang_format.NotFoundError, e:
|
59
|
+
print e
|
60
|
+
print 'Failed to find clang-format. Falling-back on standard 3-way merge'
|
61
|
+
|
62
|
+
return subprocess.call(['git', 'merge-file', '-Lcurrent', '-Lbase', '-Lother',
|
63
|
+
current, base, others])
|
64
|
+
|
65
|
+
|
66
|
+
if __name__ == '__main__':
|
67
|
+
sys.exit(main())
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# This file is used by git cl to get repository specific information.
|
2
|
-
CODE_REVIEW_SERVER: codereview.chromium.org
|
3
2
|
CC_LIST: chromium-reviews@chromium.org
|
4
|
-
|
3
|
+
CODE_REVIEW_SERVER: codereview.chromium.org
|
4
|
+
GERRIT_HOST: True
|
5
5
|
PROJECT: depot_tools
|
6
|
+
VIEW_VC: https://chromium.googlesource.com/chromium/tools/depot_tools/+/
|
@@ -276,7 +276,7 @@ def gen_usage(parser, command):
|
|
276
276
|
|
277
277
|
def main(args=None):
|
278
278
|
# Do it late so all commands are listed.
|
279
|
-
# pylint: disable=
|
279
|
+
# pylint: disable=no-member
|
280
280
|
parser = OptionParser(version=__version__)
|
281
281
|
if args is None:
|
282
282
|
args = sys.argv[1:]
|
@@ -28,6 +28,8 @@
|
|
28
28
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
29
29
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
30
|
|
31
|
+
# pylint: skip-file
|
32
|
+
|
31
33
|
"""Does google-lint on c++ files.
|
32
34
|
|
33
35
|
The goal of this script is to identify places in the code that *may*
|
data/vendor/depot_tools/fetch.py
CHANGED
@@ -95,16 +95,6 @@ class GitCheckout(Checkout):
|
|
95
95
|
return self.run((git_path,) + cmd, **kwargs)
|
96
96
|
|
97
97
|
|
98
|
-
class SvnCheckout(Checkout):
|
99
|
-
|
100
|
-
def run_svn(self, *cmd, **kwargs):
|
101
|
-
if sys.platform == 'win32' and not spawn.find_executable('svn'):
|
102
|
-
svn_path = os.path.join(SCRIPT_PATH, 'svn_bin', 'svn.exe')
|
103
|
-
else:
|
104
|
-
svn_path = 'svn'
|
105
|
-
return self.run((svn_path,) + cmd, **kwargs)
|
106
|
-
|
107
|
-
|
108
98
|
class GclientGitCheckout(GclientCheckout, GitCheckout):
|
109
99
|
|
110
100
|
def __init__(self, options, spec, root):
|
@@ -124,7 +114,7 @@ class GclientGitCheckout(GclientCheckout, GitCheckout):
|
|
124
114
|
for key, value in soln.iteritems())
|
125
115
|
soln_strings.append(' {\n%s\n },' % soln_string)
|
126
116
|
gclient_spec = 'solutions = [\n%s\n]\n' % '\n'.join(soln_strings)
|
127
|
-
extra_keys = ['target_os', 'target_os_only']
|
117
|
+
extra_keys = ['target_os', 'target_os_only', 'cache_dir']
|
128
118
|
gclient_spec += ''.join('%s = %s\n' % (key, _format_literal(self.spec[key]))
|
129
119
|
for key in extra_keys if key in self.spec)
|
130
120
|
return gclient_spec
|
@@ -155,52 +145,9 @@ class GclientGitCheckout(GclientCheckout, GitCheckout):
|
|
155
145
|
self.run_git('config', 'diff.ignoreSubmodules', 'all', cwd=wd)
|
156
146
|
|
157
147
|
|
158
|
-
class GclientGitSvnCheckout(GclientGitCheckout, SvnCheckout):
|
159
|
-
|
160
|
-
def __init__(self, options, spec, root):
|
161
|
-
super(GclientGitSvnCheckout, self).__init__(options, spec, root)
|
162
|
-
|
163
|
-
def init(self):
|
164
|
-
# Ensure we are authenticated with subversion for all submodules.
|
165
|
-
git_svn_dirs = json.loads(self.spec.get('submodule_git_svn_spec', '{}'))
|
166
|
-
git_svn_dirs.update({self.root: self.spec})
|
167
|
-
for _, svn_spec in git_svn_dirs.iteritems():
|
168
|
-
if svn_spec.get('svn_url'):
|
169
|
-
try:
|
170
|
-
self.run_svn('ls', '--non-interactive', svn_spec['svn_url'])
|
171
|
-
except subprocess.CalledProcessError:
|
172
|
-
print 'Please run `svn ls %s`' % svn_spec['svn_url']
|
173
|
-
return 1
|
174
|
-
|
175
|
-
super(GclientGitSvnCheckout, self).init()
|
176
|
-
|
177
|
-
# Configure git-svn.
|
178
|
-
for path, svn_spec in git_svn_dirs.iteritems():
|
179
|
-
real_path = os.path.join(*path.split('/'))
|
180
|
-
if real_path != self.root:
|
181
|
-
real_path = os.path.join(self.root, real_path)
|
182
|
-
wd = os.path.join(self.base, real_path)
|
183
|
-
if self.options.dry_run:
|
184
|
-
print 'cd %s' % wd
|
185
|
-
if svn_spec.get('auto'):
|
186
|
-
self.run_git('auto-svn', cwd=wd)
|
187
|
-
continue
|
188
|
-
self.run_git('svn', 'init', svn_spec['svn_url'], cwd=wd)
|
189
|
-
self.run_git('config', '--unset-all', 'svn-remote.svn.fetch', cwd=wd)
|
190
|
-
for svn_branch, git_ref in svn_spec.get('git_svn_fetch', {}).items():
|
191
|
-
self.run_git('config', '--add', 'svn-remote.svn.fetch',
|
192
|
-
'%s:%s' % (svn_branch, git_ref), cwd=wd)
|
193
|
-
for svn_branch, git_ref in svn_spec.get('git_svn_branches', {}).items():
|
194
|
-
self.run_git('config', '--add', 'svn-remote.svn.branches',
|
195
|
-
'%s:%s' % (svn_branch, git_ref), cwd=wd)
|
196
|
-
self.run_git('svn', 'fetch', cwd=wd)
|
197
|
-
|
198
|
-
|
199
|
-
|
200
148
|
CHECKOUT_TYPE_MAP = {
|
201
149
|
'gclient': GclientCheckout,
|
202
150
|
'gclient_git': GclientGitCheckout,
|
203
|
-
'gclient_git_svn': GclientGitSvnCheckout,
|
204
151
|
'git': GitCheckout,
|
205
152
|
}
|
206
153
|
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
import sys
|
6
6
|
|
7
|
-
import config_util # pylint: disable=
|
7
|
+
import config_util # pylint: disable=import-error
|
8
8
|
|
9
9
|
|
10
10
|
# This class doesn't need an __init__ method, so we disable the warning
|
11
|
-
# pylint: disable=
|
11
|
+
# pylint: disable=no-init
|
12
12
|
class Android(config_util.Config):
|
13
13
|
"""Basic Config alias for Android -> Chromium."""
|
14
14
|
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
import sys
|
6
6
|
|
7
|
-
import config_util # pylint: disable=
|
7
|
+
import config_util # pylint: disable=import-error
|
8
8
|
|
9
9
|
|
10
10
|
# This class doesn't need an __init__ method, so we disable the warning
|
11
|
-
# pylint: disable=
|
11
|
+
# pylint: disable=no-init
|
12
12
|
class Breakpad(config_util.Config):
|
13
13
|
@staticmethod
|
14
14
|
def fetch_spec(props):
|
@@ -18,7 +18,6 @@ class Breakpad(config_util.Config):
|
|
18
18
|
'url': url,
|
19
19
|
'managed': False,
|
20
20
|
'custom_deps': {},
|
21
|
-
'safesync_url': '',
|
22
21
|
}
|
23
22
|
spec = {
|
24
23
|
'solutions': [solution],
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
import sys
|
6
6
|
|
7
|
-
import config_util # pylint: disable=
|
7
|
+
import config_util # pylint: disable=import-error
|
8
8
|
|
9
9
|
|
10
10
|
# This class doesn't need an __init__ method, so we disable the warning
|
11
|
-
# pylint: disable=
|
11
|
+
# pylint: disable=no-init
|
12
12
|
class Chromium(config_util.Config):
|
13
13
|
"""Basic Config class for Chromium."""
|
14
14
|
|
@@ -20,7 +20,6 @@ class Chromium(config_util.Config):
|
|
20
20
|
'deps_file': '.DEPS.git',
|
21
21
|
'managed' : False,
|
22
22
|
'custom_deps': {},
|
23
|
-
'safesync_url': '',
|
24
23
|
}
|
25
24
|
if props.get('webkit_revision', '') == 'ToT':
|
26
25
|
solution['custom_vars'] = {'webkit_revision': ''}
|