libv8 5.0.71.48.3 → 5.1.281.59.0beta3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/ext/libv8/location.rb +12 -9
  4. data/ext/libv8/patcher.rb +1 -1
  5. data/ext/libv8/paths.rb +1 -1
  6. data/lib/libv8/version.rb +1 -1
  7. data/patches/0001-Build-standalone-static-library.patch +26 -0
  8. data/patches/{disable-building-tests.patch → 0002-Disable-building-tests.patch} +17 -5
  9. data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +25 -0
  10. data/spec/location_spec.rb +1 -1
  11. data/vendor/depot_tools/.gitignore +1 -0
  12. data/vendor/depot_tools/PRESUBMIT.py +3 -1
  13. data/vendor/depot_tools/README +1 -6
  14. data/vendor/depot_tools/apply_issue.py +6 -0
  15. data/vendor/depot_tools/bootstrap/win/README.md +2 -2
  16. data/vendor/depot_tools/bootstrap/win/git.template.bat +1 -1
  17. data/vendor/depot_tools/bootstrap/win/win_tools.bat +12 -11
  18. data/vendor/depot_tools/codereview.settings +1 -1
  19. data/vendor/depot_tools/cpplint.py +353 -592
  20. data/vendor/depot_tools/fetch.py +10 -3
  21. data/vendor/depot_tools/fetch_configs/infra.py +4 -2
  22. data/vendor/depot_tools/fetch_configs/ios_internal.py +49 -0
  23. data/vendor/depot_tools/gclient.py +33 -7
  24. data/vendor/depot_tools/gclient_scm.py +14 -11
  25. data/vendor/depot_tools/gclient_utils.py +14 -3
  26. data/vendor/depot_tools/git-gs +3 -3
  27. data/vendor/depot_tools/git_cache.py +8 -4
  28. data/vendor/depot_tools/git_cl.py +221 -98
  29. data/vendor/depot_tools/git_footers.py +76 -39
  30. data/vendor/depot_tools/git_map_branches.py +12 -10
  31. data/vendor/depot_tools/infra/config/cq.cfg +0 -11
  32. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  33. data/vendor/depot_tools/presubmit_canned_checks.py +31 -19
  34. data/vendor/depot_tools/presubmit_support.py +0 -13
  35. data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +19 -2
  36. data/vendor/depot_tools/recipe_modules/depot_tools/api.py +4 -0
  37. data/vendor/depot_tools/recipe_modules/depot_tools/example.expected/basic.json +49 -0
  38. data/vendor/depot_tools/recipe_modules/depot_tools/example.expected/win.json +49 -0
  39. data/vendor/depot_tools/recipe_modules/depot_tools/example.py +38 -0
  40. data/vendor/depot_tools/recipe_modules/gclient/api.py +1 -0
  41. data/vendor/depot_tools/recipe_modules/gclient/config.py +19 -0
  42. data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +1 -0
  43. data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +1 -0
  44. data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +1 -0
  45. data/vendor/depot_tools/recipe_modules/gclient/example.py +3 -0
  46. data/vendor/depot_tools/recipe_modules/git_cl/api.py +22 -6
  47. data/vendor/depot_tools/recipe_modules/git_cl/example.expected/basic.json +27 -9
  48. data/vendor/depot_tools/recipe_modules/git_cl/example.py +9 -7
  49. data/vendor/depot_tools/recipe_modules/presubmit/api.py +5 -2
  50. data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +1 -0
  51. data/vendor/depot_tools/recipe_modules/tryserver/api.py +31 -0
  52. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/basic_tags.json +59 -0
  53. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +26 -0
  54. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +26 -0
  55. data/vendor/depot_tools/recipe_modules/tryserver/example.py +32 -3
  56. data/vendor/depot_tools/roll_dep.py +6 -2
  57. data/vendor/depot_tools/third_party/upload.py +17 -9
  58. data/vendor/depot_tools/update_depot_tools +11 -0
  59. data/vendor/depot_tools/update_depot_tools.bat +11 -0
  60. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +52 -9
  61. data/vendor/depot_tools/win_toolchain/package_from_installed.py +64 -57
  62. metadata +12 -10
  63. data/patches/build-standalone-static-library.patch +0 -14
  64. data/patches/fPIC-for-static.patch +0 -13
  65. data/vendor/depot_tools/git-lkgr +0 -208
  66. data/vendor/depot_tools/hammer +0 -28
  67. data/vendor/depot_tools/hammer.bat +0 -23
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.0.71.48.3
4
+ version: 5.1.281.59.0beta3
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-05-20 00:00:00.000000000 Z
11
+ date: 2016-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -85,9 +85,9 @@ files:
85
85
  - lib/libv8.rb
86
86
  - lib/libv8/version.rb
87
87
  - libv8.gemspec
88
- - patches/build-standalone-static-library.patch
89
- - patches/disable-building-tests.patch
90
- - patches/fPIC-for-static.patch
88
+ - patches/0001-Build-standalone-static-library.patch
89
+ - patches/0002-Disable-building-tests.patch
90
+ - patches/0003-Use-the-fPIC-flag-for-the-static-library.patch
91
91
  - patches/mingw-generate-makefiles.sh
92
92
  - release/x86-linux/Vagrantfile
93
93
  - release/x86_64-freebsd10/Vagrantfile
@@ -181,6 +181,7 @@ files:
181
181
  - vendor/depot_tools/fetch_configs/infra.py
182
182
  - vendor/depot_tools/fetch_configs/infra_internal.py
183
183
  - vendor/depot_tools/fetch_configs/ios.py
184
+ - vendor/depot_tools/fetch_configs/ios_internal.py
184
185
  - vendor/depot_tools/fetch_configs/mojo.py
185
186
  - vendor/depot_tools/fetch_configs/nacl.py
186
187
  - vendor/depot_tools/fetch_configs/naclports.py
@@ -216,7 +217,6 @@ files:
216
217
  - vendor/depot_tools/git-freeze
217
218
  - vendor/depot_tools/git-gs
218
219
  - vendor/depot_tools/git-hyper-blame
219
- - vendor/depot_tools/git-lkgr
220
220
  - vendor/depot_tools/git-map
221
221
  - vendor/depot_tools/git-map-branches
222
222
  - vendor/depot_tools/git-mark-merge-base
@@ -275,8 +275,6 @@ files:
275
275
  - vendor/depot_tools/gn.bat
276
276
  - vendor/depot_tools/gn.py
277
277
  - vendor/depot_tools/gsutil.py
278
- - vendor/depot_tools/hammer
279
- - vendor/depot_tools/hammer.bat
280
278
  - vendor/depot_tools/infra/README.md
281
279
  - vendor/depot_tools/infra/config/OWNERS
282
280
  - vendor/depot_tools/infra/config/README.md
@@ -442,6 +440,9 @@ files:
442
440
  - vendor/depot_tools/recipe_modules/bot_update/test_api.py
443
441
  - vendor/depot_tools/recipe_modules/depot_tools/__init__.py
444
442
  - vendor/depot_tools/recipe_modules/depot_tools/api.py
443
+ - vendor/depot_tools/recipe_modules/depot_tools/example.expected/basic.json
444
+ - vendor/depot_tools/recipe_modules/depot_tools/example.expected/win.json
445
+ - vendor/depot_tools/recipe_modules/depot_tools/example.py
445
446
  - vendor/depot_tools/recipe_modules/gclient/__init__.py
446
447
  - vendor/depot_tools/recipe_modules/gclient/api.py
447
448
  - vendor/depot_tools/recipe_modules/gclient/config.py
@@ -499,6 +500,7 @@ files:
499
500
  - vendor/depot_tools/recipe_modules/rietveld/example.py
500
501
  - vendor/depot_tools/recipe_modules/tryserver/__init__.py
501
502
  - vendor/depot_tools/recipe_modules/tryserver/api.py
503
+ - vendor/depot_tools/recipe_modules/tryserver/example.expected/basic_tags.json
502
504
  - vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json
503
505
  - vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json
504
506
  - vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json
@@ -1001,9 +1003,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1001
1003
  version: '0'
1002
1004
  required_rubygems_version: !ruby/object:Gem::Requirement
1003
1005
  requirements:
1004
- - - ">="
1006
+ - - ">"
1005
1007
  - !ruby/object:Gem::Version
1006
- version: '0'
1008
+ version: 1.3.1
1007
1009
  requirements: []
1008
1010
  rubyforge_project: libv8
1009
1011
  rubygems_version: 2.6.4
@@ -1,14 +0,0 @@
1
- diff --git a/build/standalone.gypi b/build/standalone.gypi
2
- index a71ed95..308a7e3 100644
3
- --- a/build/standalone.gypi
4
- +++ b/build/standalone.gypi
5
- @@ -476,6 +476,9 @@
6
- }], # fastbuild!=0
7
- ],
8
- 'target_conditions': [
9
- + ['_type=="static_library"', {
10
- + 'standalone_static_library': 1,
11
- + }],
12
- ['v8_code == 0', {
13
- 'defines!': [
14
- 'DEBUG',
@@ -1,13 +0,0 @@
1
- diff --git a/build/standalone.gypi b/build/standalone.gypi
2
- index 1252094..308a7e3 100644
3
- --- a/build/standalone.gypi
4
- +++ b/build/standalone.gypi
5
- @@ -733,7 +733,7 @@
6
- [ 'visibility=="hidden" and v8_enable_backtrace==0', {
7
- 'cflags': [ '-fvisibility=hidden' ],
8
- }],
9
- - [ 'component=="shared_library"', {
10
- + [ 'component=="shared_library" or component=="static_library" and (v8_target_arch=="x64" or v8_target_arch=="arm64")', {
11
- 'cflags': [ '-fPIC', ],
12
- }],
13
- [ 'coverage==1', {
@@ -1,208 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # Copyright (c) 2012 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
- branch_name=""
8
- checkout_branch=no
9
- create_branch=no
10
- quiet=no
11
- svn_lkgr=
12
-
13
- while [ $# -gt 0 ]; do
14
- case "$1" in
15
- --checkout|--force-branch)
16
- checkout_branch=yes
17
- create_branch=yes
18
- ;;
19
- --closest)
20
- use_closest=yes
21
- ;;
22
- --create)
23
- create_branch=yes
24
- ;;
25
- -n|--name)
26
- branch_name=$2
27
- create_branch=yes
28
- shift
29
- ;;
30
- -q|--quiet)
31
- quiet=yes
32
- ;;
33
- -r|--revision)
34
- svn_lkgr="$2"
35
- shift
36
- ;;
37
- *)
38
- echo "Unknown option: $1"
39
- echo "Usage:"
40
- echo " --checkout Create a branch and check it out."
41
- echo " --create Create a branch."
42
- echo " --closest Use closest git commit to the target svn revision."
43
- echo " Otherwise --checkout may be required to create"
44
- echo " a git commit for a specific svn revision."
45
- echo " -n, --name <name> Specify the name of branch to create or reset."
46
- echo " This will force the branch using 'git branch -f '."
47
- echo " -q, --quiet Quiet."
48
- echo " -r, --revision <r> Svn revision number use instead of server provided lkgr."
49
- exit 1
50
- ;;
51
- esac
52
- shift
53
- done
54
-
55
- if [ -z "$svn_lkgr" ]; then
56
- svn_lkgr=`curl -s http://chromium-status.appspot.com/lkgr`
57
- if [ $? != 0 -o -z "$svn_lkgr" ]; then
58
- echo 'Could not get svn lkgr from chromium-status.appspot.com/lkgr'
59
- exit 1
60
- fi
61
- fi
62
-
63
- if [ "${svn_lkgr:0:1}" = "r" ]; then
64
- svn_lkgr="${svn_lkgr:1}"
65
- fi
66
-
67
- # Run a trivial git-svn command to force it to update the revision cache
68
- # (which causes spew that might otherwise confuse the next command).
69
- git svn info > /dev/null
70
- if [ $? != 0 ]; then
71
- cat <<EOF 1>&2
72
- Could not run a trivial git-svn command. You probably need to set up your
73
- working directory for git-svn, by following these instructions:
74
-
75
- http://code.google.com/p/chromium/wiki/UsingNewGit#Initial_checkout
76
- EOF
77
- exit 1
78
- fi
79
-
80
- git_lkgr=`git svn find-rev r${svn_lkgr}`
81
- if [ $? != 0 -o -z "$git_lkgr" ]; then
82
- cat <<EOF 1>&2
83
- Could not map svn revision ${svn_lkgr} to a git commit.
84
- You may need to 'git fetch' and try again.
85
- EOF
86
- exit 1
87
- fi
88
-
89
- set -o pipefail
90
- closest_commit=`git rev-list --ancestry-path \
91
- --grep='SVN changes up to revision [0-9]*' \
92
- ${git_lkgr}..refs/remotes/origin/master | tail -1`
93
- if [ $? != 0 -o -z "$closest_commit" ]; then
94
- closest_commit=
95
- closest_svn_commit=
96
- else
97
- closest_svn_commit=`git rev-list -n 1 ${closest_commit}^1`
98
- if [ $? != 0 -o -z "$closest_svn_commit" ]; then
99
- cat <<EOF 1>&2
100
- I am thoroughly confused. Please file a bug report at http://new.crbug.com.
101
- EOF
102
- exit 1
103
- fi
104
- closest_svn=`git svn find-rev ${closest_svn_commit}`
105
- fi
106
-
107
- if [ "${use_closest}" = "yes" ]; then
108
- svn_lkgr="${closest_svn}"
109
- git_lkgr="${closest_svn_commit}"
110
- fi
111
-
112
- # Determine lkgr_branch:
113
- if [ "${branch_name}" != "" ]; then
114
- # Use the provided name for the branch.
115
- lkgr_branch="${branch_name}"
116
-
117
- # If the branch already exists, force the update to it.
118
- git rev-parse --verify -q "${branch_name}" >/dev/null
119
- if [ $? -eq 0 ]; then
120
- old_branch_value=`git rev-parse "${branch_name}"`
121
- echo "Will update branch ${lkgr_branch}, it previously was at ${old_branch_value}."
122
- force_branch="--force"
123
- fi
124
- else
125
- # Pick a name for the new branch. Use `git rev-parse` to make sure the branch
126
- # doesn't already exist; if it does, iterate an integer suffix to uniquify it.
127
- lkgr_branch="lkgr_r${svn_lkgr}"
128
- digit=1
129
- git rev-parse --verify -q "${lkgr_branch}" >/dev/null
130
- while [ $? -eq 0 ]; do
131
- lkgr_branch="lkgr_r${svn_lkgr}_${digit}"
132
- digit=`expr $digit + 1`
133
- git rev-parse --verify -q "${lkgr_branch}" >/dev/null
134
- done
135
- fi
136
-
137
- if [ "${closest_svn_commit}" = "${git_lkgr}" ]; then
138
- echo "${closest_commit}"
139
- if [ "$create_branch" = "yes" ]; then
140
- echo "Creating branch ${lkgr_branch}"
141
- git branch ${force_branch} "${lkgr_branch}" "${closest_commit}" || exit 1
142
- fi
143
- if [ "$checkout_branch" = "yes" ]; then
144
- git checkout "${lkgr_branch}"
145
- fi
146
- exit 0
147
- elif [ "${quiet}" = "yes" ]; then
148
- exit 1
149
- elif [ "${checkout_branch}" = "no" ]; then
150
- echo "There is no master commit which corresponds exactly to svn revision ${svn_lkgr}."
151
- echo "Call 'git lkgr --checkout' to create a branch with a commit to match ${svn_lkgr}."
152
- if [ -n "$closest_commit" ]; then
153
- echo "The closest commit is r${closest_svn}, ${closest_commit}."
154
- echo "Use the --closest option to use the closest instead of the target revision."
155
- fi
156
- exit 0
157
- fi
158
-
159
- current_head=`git branch | grep '^\*' | cut -c3-`
160
- if [ "${current_head}" = "(no branch)" ]; then
161
- current_head=`git rev-parse HEAD`
162
- fi
163
-
164
- git checkout --detach "${git_lkgr}" &&
165
- python tools/deps2git/deps2git.py -d DEPS -o .DEPS.git -w .. &&
166
- git add .DEPS.git &&
167
- python tools/deps2git/deps2submodules.py .DEPS.git &&
168
- git commit -m "SVN changes up to revision $svn_lkgr" &&
169
- git branch ${force_branch} "${lkgr_branch}" HEAD
170
-
171
- if [ $? != 0 ]; then
172
- cat <<EOF
173
-
174
- --------------------------------------------------------------------------------
175
- Something went wrong! Restoring your previous state by checking out
176
- $current_head
177
-
178
- Please file a bug report at http://new.crbug.com.
179
- --------------------------------------------------------------------------------
180
-
181
- EOF
182
- git checkout --force $current_head
183
- exit 1
184
- fi
185
-
186
- git checkout "${lkgr_branch}"
187
-
188
- cat <<EOF
189
-
190
- --------------------------------------------------------------------------------
191
- The new branch "$lkgr_branch" was branched from this commit:
192
-
193
- $git_lkgr
194
-
195
- ... which maps to the svn commit r${svn_lkgr}. The new branch
196
- has one additional commit, to bring .DEPS.git, .gitmodules, and the
197
- invisible git submodule files up to date with DEPS.
198
-
199
- To create a working branch, do this:
200
-
201
- \$ git branch --track my_new_branch $lkgr_branch
202
-
203
- 'git-cl upload' will do the right thing, i.e., it will cherry-pick all
204
- your changes from my_new_branch, but *not* the .DEPS.git+.gitmodules+submodules
205
- commit on $lkgr_branch.
206
- --------------------------------------------------------------------------------
207
-
208
- EOF
@@ -1,28 +0,0 @@
1
- #!/bin/sh
2
- #
3
- # Copyright (c) 2006-2008 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
- # A script to invoke scons in gyp generated projects.
8
-
9
- # Find the 'src' directory by looking for the site_scons directory.
10
- # This method allows trees that don't use the name src to use this script.
11
- # Explicitly skip site_scons directories that are from the 'software
12
- # construction toolkit', since these are not gyp compatible.
13
- SRC_DIR=`pwd`
14
- while [ ! -d "${SRC_DIR}/site_scons" ] || \
15
- [ -e "${SRC_DIR}/site_scons/site_tools/component_setup.py" ]; do
16
- PARENT_DIR="$(dirname "${SRC_DIR}")"
17
- if [ "${SRC_DIR}" = "${PARENT_DIR}" ]; then
18
- echo "ERROR: hammer must be run in a directory with site_scons under" >&2
19
- echo " the root of the project tree." >&2
20
- exit 1
21
- fi
22
- SRC_DIR="${PARENT_DIR}"
23
- done
24
-
25
- SCONS="${SRC_DIR}/third_party/scons/scons.py"
26
- SITE_SCONS="${SRC_DIR}/site_scons"
27
-
28
- exec python "${SCONS}" "--site-dir=${SITE_SCONS}" "$@"
@@ -1,23 +0,0 @@
1
- @echo off
2
-
3
-
4
- @rem We're in a submodule directory, look relative to the parent.
5
- call python "%cd%\..\third_party\scons\scons.py" "--site-dir=..\site_scons" %*
6
- goto omega
7
-
8
- :srcdir
9
- call python "%cd%\third_party\scons\scons.py" --site-dir=site_scons %*
10
- goto omega
11
-
12
- @rem Per the following page:
13
- @rem http://code-bear.com/bearlog/2007/06/01/getting-the-exit-code-from-a-batch-file-that-is-run-from-a-python-program/
14
- @rem Just calling "exit /b" passes back an exit code, but in a way
15
- @rem that does NOT get picked up correctly when executing the .bat
16
- @rem file from the Python subprocess module. Using "call" as the
17
- @rem last command in the .bat file makes it work as expected.
18
-
19
- :returncode
20
- exit /b %ERRORLEVEL%
21
-
22
- :omega
23
- call :returncode %ERRORLEVEL%