libv8 5.1.281.59.1 → 5.2.361.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -7
  3. data/CHANGELOG.md +9 -1
  4. data/README.md +41 -23
  5. data/Rakefile +1 -1
  6. data/ext/libv8/builder.rb +1 -1
  7. data/ext/libv8/compiler/apple_llvm.rb +5 -4
  8. data/ext/libv8/compiler/clang.rb +5 -4
  9. data/ext/libv8/compiler/gcc.rb +5 -4
  10. data/ext/libv8/compiler/generic_compiler.rb +11 -1
  11. data/lib/libv8/version.rb +1 -1
  12. data/patches/0001-Build-a-standalone-static-library.patch +26 -0
  13. data/patches/{0002-Disable-building-tests.patch → 0002-Don-t-compile-unnecessary-stuff.patch} +31 -34
  14. data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +10 -10
  15. data/patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch +25 -0
  16. data/release/armhf-linux/Vagrantfile +95 -0
  17. data/release/armhf-linux/initrd.img +0 -0
  18. data/release/armhf-linux/vmlinuz +0 -0
  19. data/release/{x86_64-freebsd10 → x86_64-freebsd-10}/Vagrantfile +3 -1
  20. data/spec/compiler/apple_llvm_spec.rb +10 -3
  21. data/spec/compiler/clang_spec.rb +7 -0
  22. data/spec/compiler_spec.rb +1 -1
  23. data/spec/support/compiler_helpers.rb +3 -1
  24. data/vendor/depot_tools/{README → README.md} +33 -12
  25. data/vendor/depot_tools/checkout.py +7 -2
  26. data/vendor/depot_tools/cit.py +51 -13
  27. data/vendor/depot_tools/cpplint.py +27 -5
  28. data/vendor/depot_tools/git_cl.py +370 -290
  29. data/vendor/depot_tools/git_common.py +133 -28
  30. data/vendor/depot_tools/git_drover.py +29 -2
  31. data/vendor/depot_tools/git_map.py +2 -2
  32. data/vendor/depot_tools/git_map_branches.py +9 -5
  33. data/vendor/depot_tools/git_rebase_update.py +3 -3
  34. data/vendor/depot_tools/git_upstream_diff.py +1 -1
  35. data/vendor/depot_tools/infra/config/OWNERS +1 -0
  36. data/vendor/depot_tools/infra/config/cq.cfg +8 -3
  37. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  38. data/vendor/depot_tools/man/html/depot_tools.html +10 -2
  39. data/vendor/depot_tools/man/html/depot_tools_tutorial.html +14 -15
  40. data/vendor/depot_tools/man/html/git-auto-svn.html +2 -2
  41. data/vendor/depot_tools/man/html/git-cherry-pick-upload.html +2 -11
  42. data/vendor/depot_tools/man/html/git-drover.html +19 -17
  43. data/vendor/depot_tools/man/html/git-footers.html +2 -2
  44. data/vendor/depot_tools/man/html/git-freeze.html +17 -4
  45. data/vendor/depot_tools/man/html/git-hyper-blame.html +2 -2
  46. data/vendor/depot_tools/man/html/git-map-branches.html +2 -2
  47. data/vendor/depot_tools/man/html/git-map.html +3 -3
  48. data/vendor/depot_tools/man/html/git-mark-merge-base.html +2 -2
  49. data/vendor/depot_tools/man/html/git-nav-downstream.html +7 -7
  50. data/vendor/depot_tools/man/html/git-nav-upstream.html +4 -4
  51. data/vendor/depot_tools/man/html/git-new-branch.html +2 -2
  52. data/vendor/depot_tools/man/html/git-rebase-update.html +2 -2
  53. data/vendor/depot_tools/man/html/git-rename-branch.html +2 -2
  54. data/vendor/depot_tools/man/html/git-reparent-branch.html +2 -2
  55. data/vendor/depot_tools/man/html/git-retry.html +2 -2
  56. data/vendor/depot_tools/man/html/git-squash-branch.html +4 -4
  57. data/vendor/depot_tools/man/html/git-thaw.html +2 -2
  58. data/vendor/depot_tools/man/html/git-upstream-diff.html +2 -2
  59. data/vendor/depot_tools/man/man1/git-auto-svn.1 +4 -4
  60. data/vendor/depot_tools/man/man1/git-cherry-pick-upload.1 +5 -14
  61. data/vendor/depot_tools/man/man1/git-drover.1 +21 -19
  62. data/vendor/depot_tools/man/man1/git-footers.1 +5 -5
  63. data/vendor/depot_tools/man/man1/git-freeze.1 +12 -6
  64. data/vendor/depot_tools/man/man1/git-hyper-blame.1 +4 -4
  65. data/vendor/depot_tools/man/man1/git-map-branches.1 +5 -7
  66. data/vendor/depot_tools/man/man1/git-map.1 +5 -5
  67. data/vendor/depot_tools/man/man1/git-mark-merge-base.1 +4 -4
  68. data/vendor/depot_tools/man/man1/git-nav-downstream.1 +9 -9
  69. data/vendor/depot_tools/man/man1/git-nav-upstream.1 +6 -6
  70. data/vendor/depot_tools/man/man1/git-new-branch.1 +4 -4
  71. data/vendor/depot_tools/man/man1/git-rebase-update.1 +4 -4
  72. data/vendor/depot_tools/man/man1/git-rename-branch.1 +4 -4
  73. data/vendor/depot_tools/man/man1/git-reparent-branch.1 +4 -4
  74. data/vendor/depot_tools/man/man1/git-retry.1 +4 -4
  75. data/vendor/depot_tools/man/man1/git-squash-branch.1 +6 -6
  76. data/vendor/depot_tools/man/man1/git-thaw.1 +4 -4
  77. data/vendor/depot_tools/man/man1/git-upstream-diff.1 +4 -4
  78. data/vendor/depot_tools/man/man7/depot_tools.7 +9 -4
  79. data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +14 -15
  80. data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +1 -2
  81. data/vendor/depot_tools/man/src/git-freeze.txt +15 -0
  82. data/vendor/depot_tools/man/src/make_docs.sh +4 -4
  83. data/vendor/depot_tools/owners.py +50 -46
  84. data/vendor/depot_tools/owners_finder.py +6 -19
  85. data/vendor/depot_tools/presubmit_canned_checks.py +2 -1
  86. data/vendor/depot_tools/presubmit_support.py +8 -10
  87. data/vendor/depot_tools/recipe_modules/bot_update/api.py +69 -55
  88. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +1 -0
  89. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +1 -0
  90. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +1 -0
  91. data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +2 -0
  92. data/vendor/depot_tools/recipe_modules/gclient/api.py +0 -17
  93. data/vendor/depot_tools/recipe_modules/gclient/config.py +9 -8
  94. data/vendor/depot_tools/recipe_modules/gclient/example.py +1 -1
  95. data/vendor/depot_tools/recipe_modules/git/api.py +20 -4
  96. data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +1 -0
  97. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +1 -0
  98. data/vendor/depot_tools/recipe_modules/git/example.expected/git-cache-checkout.json +189 -0
  99. data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +2 -1
  100. data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +1 -0
  101. data/vendor/depot_tools/recipe_modules/git/example.py +6 -1
  102. data/vendor/depot_tools/recipe_modules/git_cl/api.py +13 -0
  103. data/vendor/depot_tools/recipe_modules/git_cl/example.expected/basic.json +17 -0
  104. data/vendor/depot_tools/recipe_modules/git_cl/example.py +3 -0
  105. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_linux.json +14 -0
  106. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_mac.json +14 -0
  107. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_win.json +14 -0
  108. data/vendor/depot_tools/recipe_modules/infra_paths/example.py +1 -1
  109. data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +23 -10
  110. data/vendor/depot_tools/recipe_modules/tryserver/api.py +5 -3
  111. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +1 -0
  112. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +1 -0
  113. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +1 -0
  114. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_svn_patch.json +1 -0
  115. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +3 -1
  116. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +3 -1
  117. data/vendor/depot_tools/recipes.py +56 -27
  118. data/vendor/depot_tools/rietveld.py +10 -0
  119. data/vendor/depot_tools/third_party/httplib2/README.chromium +3 -3
  120. data/vendor/depot_tools/third_party/httplib2/__init__.py +31 -15
  121. data/vendor/depot_tools/third_party/upload.py +54 -45
  122. data/vendor/depot_tools/update_depot_tools +16 -70
  123. data/vendor/depot_tools/update_depot_tools.bat +4 -18
  124. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +10 -6
  125. metadata +15 -8
  126. data/patches/0001-Build-standalone-static-library.patch +0 -26
  127. data/vendor/depot_tools/git_utils/git-tree-prune +0 -122
@@ -26,7 +26,7 @@ if [ $MSYS = 0 ]; then
26
26
  fi
27
27
 
28
28
  # Test if this script is running under a MinGW install. If it is, we will
29
- # hardcode the paths to SVN and Git where possible.
29
+ # hardcode the paths to Git where possible.
30
30
  OUTPUT="$(uname | grep 'MINGW')"
31
31
  MINGW=$?
32
32
 
@@ -56,11 +56,6 @@ fi
56
56
 
57
57
  CANONICAL_GIT_URL="https://chromium.googlesource.com/chromium/tools/depot_tools.git"
58
58
 
59
- SVN="svn"
60
- if [ -d "$base_dir/svn_bin" -a $MINGW = 0 ]; then
61
- SVN="$base_dir/svn_bin/svn.exe"
62
- fi
63
-
64
59
  GIT="git"
65
60
  if [ -e "$base_dir/git.bat" -a $MINGW = 0 ]; then
66
61
  GIT="cmd.exe //c \"$base_dir\\git.bat\""
@@ -76,33 +71,12 @@ function test_git {
76
71
 
77
72
  GITV="${GITV##* }" # Only examine last word (i.e. version number)
78
73
  local GITD=( ${GITV//./ } ) # Split version number into decimals
79
- if ((GITD[0] < 1 || (GITD[0] == 1 && GITD[1] < 6) )); then
80
- echo "git version is ${GITV}, please update to a version later than 1.6"
81
- exit 1
82
- fi
83
- }
84
-
85
- # Test git svn and git svn --version.
86
- function test_git_svn {
87
- local GITV
88
- GITV="$(eval "$GIT" svn --version)" || {
89
- echo "git-svn isn't installed, please install it"
90
- exit 1
91
- }
92
-
93
- GITV="${GITV#* version }" # git svn --version has extra output to remove.
94
- GITV="${GITV% (svn*}"
95
- local GITD=( ${GITV//./ } ) # Split version number into decimals
96
- if ((GITD[0] < 1 || (GITD[0] == 1 && GITD[1] < 6) )); then
97
- echo "git version is ${GITV}, please update to a version later than 1.6"
74
+ if ((GITD[0] < 1 || (GITD[0] == 2 && GITD[1] < 8) )); then
75
+ echo "git version is ${GITV}, please update to a version later than 2.8"
98
76
  exit 1
99
77
  fi
100
78
  }
101
79
 
102
- function is_git_clone_repo {
103
- eval "$GIT" config remote.origin.fetch > /dev/null
104
- }
105
-
106
80
  function update_git_repo {
107
81
  remote_url=$(eval "$GIT" config --get remote.origin.url)
108
82
  if [ -n "$remote_url" -a "$remote_url" != "$CANONICAL_GIT_URL" ]; then
@@ -121,32 +95,16 @@ function update_git_repo {
121
95
  fi
122
96
  fi
123
97
 
124
- if is_git_clone_repo; then
125
- git fetch -q origin &> /dev/null
126
- local REBASE_TXT STATUS
127
- REBASE_TXT=$(git rebase -q origin/master 2>&1)
128
- STATUS=$?
129
- if [[ $STATUS -ne 0 ]]; then
130
- echo "depot_tools update failed. Conflict in $base_dir" >&2
131
- echo "$REBASE_TXT" >&2
132
- git rebase --abort 2> /dev/null
133
- fi
134
- return $STATUS
135
- fi
136
-
137
- test_git_svn
138
- # work around a git-svn --quiet bug
139
- OUTPUT=`eval "$GIT" svn rebase -q -q`
140
- if [[ ! "$OUTPUT" == *Current.branch* ]]; then
141
- echo $OUTPUT 1>&2
98
+ git fetch -q origin &> /dev/null
99
+ local REBASE_TXT STATUS
100
+ REBASE_TXT=$(git rebase -q origin/master 2>&1)
101
+ STATUS=$?
102
+ if [[ $STATUS -ne 0 ]]; then
103
+ echo "depot_tools update failed. Conflict in $base_dir" >&2
104
+ echo "$REBASE_TXT" >&2
105
+ git rebase --abort 2> /dev/null
142
106
  fi
143
- return 0
144
- }
145
-
146
- # Get the current SVN revision.
147
- get_svn_revision() {
148
- LANGUAGE=C "$SVN" info "$base_dir" | \
149
- awk -F': ' '{ if ($1 == "Last Changed Rev") { print $2 }}'
107
+ return $STATUS
150
108
  }
151
109
 
152
110
  # Update git checkouts.
@@ -163,26 +121,14 @@ then
163
121
  echo "========================"
164
122
  echo "WARNING: You have an SVN checkout of depot_tools!"
165
123
  echo
166
- echo "depot_tools is migrating to Git on June 6, 2016. If you still have an"
167
- echo "SVN checkout then, you will STOP RECEIVING UPDATES to depot_tools."
124
+ echo "depot_tools has migrated to Git. You are"
125
+ echo "NO LONGER RECEIVING UPDATES to depot_tools."
168
126
  echo
169
- echo "Before that date, please follow the instructions here[1] to get a Git"
170
- echo "copy of depot_tools."
127
+ echo "You must follow these instructions[1] to get a Git copy of depot_tools."
171
128
  echo
172
129
  echo "[1]: https://www.chromium.org/developers/how-tos/install-depot-tools"
173
130
  echo "========================"
174
- # Update the root directory to stay up-to-date with the latest depot_tools.
175
- BEFORE_REVISION=$(get_svn_revision)
176
- if echo $* | grep -e --force > /dev/null; then
177
- "$SVN" -q revert -R "$base_dir"
178
- fi
179
- "$SVN" -q up "$base_dir"
180
- AFTER_REVISION=$(get_svn_revision)
181
- if [[ "$BEFORE_REVISION" != "$AFTER_REVISION" ]]; then
182
- if [ -z "$DEPOT_TOOLS_HIDE_UPDATED_MESSAGE" ]; then
183
- echo "Depot Tools has been updated to revision $AFTER_REVISION." 1>&2
184
- fi
185
- fi
131
+ return 1
186
132
  fi
187
133
 
188
134
  find "$base_dir" -iname "*.pyc" -exec rm -f {} \;
@@ -9,7 +9,7 @@ setlocal
9
9
 
10
10
  :: Windows freaks out if a file is overwritten while it's being executed. Copy
11
11
  :: this script off to a temporary location and reinvoke from there before
12
- :: running any svn or git commands.
12
+ :: running any git commands.
13
13
  IF "%~nx0"=="update_depot_tools.bat" (
14
14
  COPY /Y "%~dp0update_depot_tools.bat" "%TEMP%\update_depot_tools_tmp.bat" >nul
15
15
  if errorlevel 1 goto :EOF
@@ -41,27 +41,19 @@ goto :EOF
41
41
  echo ========================
42
42
  echo WARNING: You have an SVN checkout of depot_tools!
43
43
  echo.
44
- echo depot_tools is migrating to Git on June 6, 2016. If you still have an
45
- echo SVN checkout then, you will STOP RECEIVING UPDATES to depot_tools.
44
+ echo depot_tools has migrated to Git. You are
45
+ echo NO LONGER RECEIVING UPDATES to depot_tools.
46
46
  echo.
47
- echo Before that date, please follow the instructions here[1] to get a Git
48
- echo copy of depot_tools.
47
+ echo You must follow these instructions[1] to get a Git copy of depot_tools.
49
48
  echo.
50
49
  echo [1]: https://www.chromium.org/developers/how-tos/install-depot-tools
51
50
  echo ========================
52
- FOR %%A IN (%*) DO (
53
- IF "%%A" == "--force" (
54
- call svn -q revert -R "%DEPOT_TOOLS_DIR%."
55
- )
56
- )
57
- call svn -q up "%DEPOT_TOOLS_DIR%."
58
51
  goto :EOF
59
52
 
60
53
 
61
54
  :GIT_UPDATE
62
55
  cd /d "%DEPOT_TOOLS_DIR%."
63
56
  call git config remote.origin.fetch > NUL
64
- if errorlevel 1 goto :GIT_SVN_UPDATE
65
57
  for /F %%x in ('git config --get remote.origin.url') DO (
66
58
  IF not "%%x" == "%GIT_URL%" (
67
59
  echo Your depot_tools checkout is configured to fetch from an obsolete URL
@@ -75,9 +67,3 @@ call git fetch -q origin > NUL
75
67
  call git rebase -q origin/master > NUL
76
68
  if errorlevel 1 echo Failed to update depot_tools.
77
69
  goto :EOF
78
-
79
-
80
- :GIT_SVN_UPDATE
81
- cd /d "%DEPOT_TOOLS_DIR%."
82
- call git svn rebase -q -q
83
- goto :EOF
@@ -140,16 +140,20 @@ def CalculateHash(root, expected_hash):
140
140
  timestamps_data_files.append(f[0])
141
141
  missing_files = [f for f in timestamps_data_files if f not in file_list]
142
142
  if len(missing_files):
143
- print ('Some files are missing from the %s version of the toolchain:' %
144
- expected_hash)
145
- for f in missing_files:
143
+ print ('%d files missing from the %s version of the toolchain:' %
144
+ (len(missing_files), expected_hash))
145
+ for f in missing_files[:10]:
146
146
  print '\t%s' % f
147
+ if len(missing_files) > 10:
148
+ print '\t...'
147
149
  extra_files = [f for f in file_list if f not in timestamps_data_files]
148
150
  if len(extra_files):
149
- print ('There\'s some extra files in the %s version of the toolchain:' %
150
- expected_hash)
151
- for f in extra_files:
151
+ print ('%d extra files in the %s version of the toolchain:' %
152
+ (len(extra_files), expected_hash))
153
+ for f in extra_files[:10]:
152
154
  print '\t%s' % f
155
+ if len(extra_files) > 10:
156
+ print '\t...'
153
157
  if matches:
154
158
  return timestamps_data['sha1']
155
159
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libv8
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.281.59.1
4
+ version: 5.2.361.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Lowell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-15 00:00:00.000000000 Z
11
+ date: 2016-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -85,12 +85,16 @@ files:
85
85
  - lib/libv8.rb
86
86
  - lib/libv8/version.rb
87
87
  - libv8.gemspec
88
- - patches/0001-Build-standalone-static-library.patch
89
- - patches/0002-Disable-building-tests.patch
88
+ - patches/0001-Build-a-standalone-static-library.patch
89
+ - patches/0002-Don-t-compile-unnecessary-stuff.patch
90
90
  - patches/0003-Use-the-fPIC-flag-for-the-static-library.patch
91
+ - patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch
91
92
  - patches/mingw-generate-makefiles.sh
93
+ - release/armhf-linux/Vagrantfile
94
+ - release/armhf-linux/initrd.img
95
+ - release/armhf-linux/vmlinuz
92
96
  - release/x86-linux/Vagrantfile
93
- - release/x86_64-freebsd10/Vagrantfile
97
+ - release/x86_64-freebsd-10/Vagrantfile
94
98
  - release/x86_64-linux/Vagrantfile
95
99
  - spec/compiler/apple_llvm_spec.rb
96
100
  - spec/compiler/clang_spec.rb
@@ -106,10 +110,10 @@ files:
106
110
  - vendor/depot_tools/LICENSE
107
111
  - vendor/depot_tools/OWNERS
108
112
  - vendor/depot_tools/PRESUBMIT.py
109
- - vendor/depot_tools/README
110
113
  - vendor/depot_tools/README.codereview
111
114
  - vendor/depot_tools/README.gclient
112
115
  - vendor/depot_tools/README.git-cl
116
+ - vendor/depot_tools/README.md
113
117
  - vendor/depot_tools/README.testing
114
118
  - vendor/depot_tools/WATCHLISTS
115
119
  - vendor/depot_tools/annotated_gclient.py
@@ -270,7 +274,6 @@ files:
270
274
  - vendor/depot_tools/git_squash_branch.py
271
275
  - vendor/depot_tools/git_try.py
272
276
  - vendor/depot_tools/git_upstream_diff.py
273
- - vendor/depot_tools/git_utils/git-tree-prune
274
277
  - vendor/depot_tools/gn
275
278
  - vendor/depot_tools/gn.bat
276
279
  - vendor/depot_tools/gn.py
@@ -467,6 +470,7 @@ files:
467
470
  - vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json
468
471
  - vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json
469
472
  - vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json
473
+ - vendor/depot_tools/recipe_modules/git/example.expected/git-cache-checkout.json
470
474
  - vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json
471
475
  - vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json
472
476
  - vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json
@@ -488,6 +492,9 @@ files:
488
492
  - vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json
489
493
  - vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json
490
494
  - vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json
495
+ - vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_linux.json
496
+ - vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_mac.json
497
+ - vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_win.json
491
498
  - vendor/depot_tools/recipe_modules/infra_paths/example.py
492
499
  - vendor/depot_tools/recipe_modules/infra_paths/path_config.py
493
500
  - vendor/depot_tools/recipe_modules/presubmit/__init__.py
@@ -1008,7 +1015,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1008
1015
  version: '0'
1009
1016
  requirements: []
1010
1017
  rubyforge_project: libv8
1011
- rubygems_version: 2.6.4
1018
+ rubygems_version: 2.5.1
1012
1019
  signing_key:
1013
1020
  specification_version: 4
1014
1021
  summary: Distribution of the V8 JavaScript engine
@@ -1,26 +0,0 @@
1
- From 91326a79ff71b9f856585bf8dfdc112527801e68 Mon Sep 17 00:00:00 2001
2
- From: Petko Bordjukov <bordjukov@gmail.com>
3
- Date: Fri, 10 Jun 2016 08:51:08 +0300
4
- Subject: [PATCH 1/3] Build standalone static library
5
-
6
- ---
7
- build/standalone.gypi | 3 +++
8
- 1 file changed, 3 insertions(+)
9
-
10
- diff --git a/build/standalone.gypi b/build/standalone.gypi
11
- index 6c88409..4f10909 100644
12
- --- a/build/standalone.gypi
13
- +++ b/build/standalone.gypi
14
- @@ -471,6 +471,9 @@
15
- }], # fastbuild!=0
16
- ],
17
- 'target_conditions': [
18
- + ['_type=="static_library"', {
19
- + 'standalone_static_library': 1,
20
- + }],
21
- ['v8_code == 0', {
22
- 'defines!': [
23
- 'DEBUG',
24
- --
25
- 2.8.3
26
-
@@ -1,122 +0,0 @@
1
- #!/usr/bin/env python
2
- # Copyright (c) 2012 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
- """Lists branches with closed and abandoned issues."""
7
-
8
- import optparse
9
- import os
10
- import sys
11
- import urllib2
12
-
13
- BASE_DIR = os.path.dirname(os.path.abspath(__file__))
14
- DEPOT_TOOLS_DIR = os.path.dirname(BASE_DIR)
15
- sys.path.insert(0, DEPOT_TOOLS_DIR)
16
-
17
- import git_cl
18
-
19
-
20
- def get_branches():
21
- """Get list of all local git branches."""
22
- branches = [l.split() for l in git_cl.RunGit(
23
- ["for-each-ref",
24
- "--format=%(refname:short) %(upstream:short)",
25
- "refs/heads"]).splitlines()]
26
- return [Branch(*b) for b in branches]
27
-
28
- def get_change_count(start, end):
29
- return int(git_cl.RunGit(["rev-list", "%s..%s" % (start, end), "--count" ]))
30
-
31
-
32
- class Branch(git_cl.Changelist):
33
- def __init__(self, name, upstream=None):
34
- git_cl.Changelist.__init__(self, branchref=name)
35
- self._upstream = upstream
36
- self._distance = None
37
- self._issue_status = None
38
-
39
- def GetStatus(self):
40
- if not self._issue_status:
41
- if self.GetIssue():
42
- try:
43
- issue_properties = self.RpcServer().get_issue_properties(
44
- self.GetIssue(), None)
45
- if issue_properties['closed']:
46
- self._issue_status = 'closed'
47
- else:
48
- self._issue_status = 'pending'
49
- except urllib2.HTTPError, e:
50
- if e.code == 404:
51
- self._issue_status = 'abandoned'
52
- else:
53
- self._issue_status = 'no-issue'
54
- if (self._issue_status != 'pending'
55
- and self._upstream
56
- and not self.GetDistance()[0]
57
- and not self._upstream.startswith("origin/")):
58
- self._issue_status = 'empty'
59
- return self._issue_status
60
-
61
- def GetDistance(self):
62
- if self._upstream is None:
63
- return None;
64
- if not self._distance:
65
- self._distance = [get_change_count(self._upstream, self.GetBranch()),
66
- get_change_count(self.GetBranch(), self._upstream)]
67
- return self._distance
68
-
69
- def GetDistanceInfo(self):
70
- if not self._upstream:
71
- return "<No upstream branch>"
72
- formatted_dist = ", ".join(["%s %d" % (x,y)
73
- for (x,y) in zip(["ahead","behind"], self.GetDistance()) if y])
74
- return "[%s%s]" % (
75
- self._upstream, ": " + formatted_dist if formatted_dist else "")
76
-
77
- def print_branches(title, fmt, branches):
78
- if branches:
79
- print title
80
- for branch in branches:
81
- print fmt.format(branch=branch.GetBranch(),
82
- issue=branch.GetIssue(),
83
- distance=branch.GetDistanceInfo())
84
-
85
- def main():
86
- parser = optparse.OptionParser(usage=sys.modules['__main__'].__doc__)
87
- options, args = parser.parse_args()
88
- if args:
89
- parser.error('Unsupported arg: %s' % args)
90
-
91
- branches = get_branches()
92
- filtered = { 'closed' : [],
93
- 'empty' : [],
94
- 'pending' : [],
95
- 'abandoned' : [],
96
- 'no-issue' : []}
97
-
98
- for branch in branches:
99
- filtered[branch.GetStatus()].append(branch)
100
-
101
- print_branches("# Branches with closed issues",
102
- "git branch -D {branch} # Issue {issue} is closed.",
103
- filtered['closed'])
104
- print_branches("\n# Empty branches",
105
- "git branch -D {branch} # Empty.",
106
- filtered['empty'])
107
- print_branches("\n# Pending Branches",
108
- "# Branch {branch} - Issue {issue} - {distance}",
109
- filtered['pending']);
110
- print_branches("\n# Branches with abandoned issues",
111
- "# Branch {branch} - was issue {issue} - {distance}",
112
- filtered['abandoned'])
113
-
114
- print_branches("\n# Branches without associated issues",
115
- "# Branch {branch} - {distance}",
116
- filtered['no-issue'])
117
-
118
- return 0
119
-
120
-
121
- if __name__ == '__main__':
122
- sys.exit(main())