|
Rework startup-data-util.
- Make the API look like v8::V8::InitializeICU.
(That is: A static method call, not an object to be created on the stack.)
- Fix path separator on Windows, by calling base::OS::isPathSeparator.
- Move into API, so that it can be called by hello-world & friends.
- Actually call it from hello-world and friends.
R=jochen@chromium.org
BUG=
Committed: https://crrev.com/c69e2eae548d4a68bb1b91032e9825709155a8c5
Cr-Commit-Position: refs/heads/master@{#30174}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+126 lines, -112 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/v8.h
|
View
|
1
2
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
samples/hello-world.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
samples/process.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
samples/shell.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/api.cc
|
View
|
1
2
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/d8.cc
|
View
|
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/d8.gyp
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/startup-data-util.h
|
View
|
|
1 chunk |
+9 lines, -31 lines |
0 comments
|
Download
|
|
M |
src/startup-data-util.cc
|
View
|
1
2
|
2 chunks |
+68 lines, -42 lines |
0 comments
|
Download
|
|
M |
test/cctest/cctest.cc
|
View
|
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
test/cctest/cctest.gyp
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/unittests/run-all-unittests.cc
|
View
|
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
test/unittests/unittests.gyp
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/parser-shell.cc
|
View
|
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
|
M |
tools/parser-shell.gyp
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 11 (5 generated)
|