-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathconstants.js
137 lines (125 loc) · 3.02 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
import os from 'node:os';
import path from 'node:path';
const homedir = os.homedir();
export const chromiumGit = 'https://chromium.googlesource.com';
export const defaultBaseDir = path.join(homedir, '.update-v8');
export const v8Git = `${chromiumGit}/v8/v8.git`;
const gtestReplace = `/testing/gtest/*
!/testing/gtest/include
/testing/gtest/include/*
!/testing/gtest/include/gtest
/testing/gtest/include/gtest/*
!/testing/gtest/include/gtest/gtest_prod.h`;
const googleTestReplace = `/third_party/googletest/src/*
!/third_party/googletest/src/googletest
/third_party/googletest/src/googletest/*
!/third_party/googletest/src/googletest/include
/third_party/googletest/src/googletest/include/*
!/third_party/googletest/src/googletest/include/gtest
/third_party/googletest/src/googletest/include/gtest/*
!/third_party/googletest/src/googletest/include/gtest/gtest_prod.h`;
const zlibIgnore = `!/third_party/zlib
/third_party/zlib/contrib/bench
/third_party/zlib/contrib/tests
/third_party/zlib/google/test`;
const abseilIgnore = `!/third_party/abseil-cpp
/third_party/abseil-cpp/.github
/third_party/abseil-cpp/ci`;
const fp16Ignore = `!/third_party/fp16
/third_party/fp16/src/*
!/third_party/fp16/src/include`;
const fastFloatReplace = `/third_party/fast_float/src/*
!/third_party/fast_float/src/include`;
const highwayIgnore = `/third_party/highway/src/*
!/third_party/highway/src/hwy`;
export const v8Deps = [
{
name: 'trace_event',
repo: 'base/trace_event/common',
gitignore: {
match: '/base\n',
replace: ''
},
since: 55,
until: 125
},
{
name: 'gtest',
repo: 'testing/gtest',
gitignore: {
match: '/testing/gtest',
replace: gtestReplace
},
since: 55,
until: 66
},
{
name: 'jinja2',
repo: 'third_party/jinja2',
gitignore: '!/third_party/jinja2',
since: 56
},
{
name: 'markupsafe',
repo: 'third_party/markupsafe',
gitignore: '!/third_party/markupsafe',
since: 56
},
{
name: 'googletest',
repo: 'third_party/googletest/src',
gitignore: {
match: '/third_party/googletest/src',
replace: googleTestReplace
},
since: 67
},
{
name: 'zlib',
repo: 'third_party/zlib',
gitignore: zlibIgnore,
since: 80
},
{
name: 'ittapi',
repo: 'third_party/ittapi',
gitignore: '!/third_party/ittapi',
since: 81
},
{
name: 'abseil',
repo: 'third_party/abseil-cpp',
gitignore: abseilIgnore,
since: 121
},
{
name: 'fp16',
repo: 'third_party/fp16/src',
gitignore: fp16Ignore,
since: 124
},
{
name: 'fast_float',
repo: 'third_party/fast_float/src',
gitignore: {
match: '/third_party/fast_float/src',
replace: fastFloatReplace
},
since: 130
},
{
name: 'highway',
repo: 'third_party/highway/src',
gitignore: {
match: '/third_party/highway/src',
replace: highwayIgnore
},
since: 134
},
{
name: 'simdutf',
repo: 'third_party/simdutf',
gitignore: '!/third_party/simdutf',
since: 134
}
];