|
34 | 34 | "<(V8_ROOT)/src/builtins/array-unshift.tq",
|
35 | 35 | "<(V8_ROOT)/src/builtins/array.tq",
|
36 | 36 | "<(V8_ROOT)/src/builtins/base.tq",
|
| 37 | + "<(V8_ROOT)/src/builtins/bigint.tq", |
37 | 38 | "<(V8_ROOT)/src/builtins/boolean.tq",
|
38 | 39 | "<(V8_ROOT)/src/builtins/collections.tq",
|
39 | 40 | "<(V8_ROOT)/src/builtins/data-view.tq",
|
|
44 | 45 | "<(V8_ROOT)/src/builtins/iterator.tq",
|
45 | 46 | "<(V8_ROOT)/src/builtins/math.tq",
|
46 | 47 | "<(V8_ROOT)/src/builtins/object-fromentries.tq",
|
| 48 | + "<(V8_ROOT)/src/builtins/object.tq", |
47 | 49 | "<(V8_ROOT)/src/builtins/proxy-constructor.tq",
|
| 50 | + "<(V8_ROOT)/src/builtins/proxy-delete-property.tq", |
48 | 51 | "<(V8_ROOT)/src/builtins/proxy-get-property.tq",
|
| 52 | + "<(V8_ROOT)/src/builtins/proxy-get-prototype-of.tq", |
49 | 53 | "<(V8_ROOT)/src/builtins/proxy-has-property.tq",
|
| 54 | + "<(V8_ROOT)/src/builtins/proxy-is-extensible.tq", |
| 55 | + "<(V8_ROOT)/src/builtins/proxy-prevent-extensions.tq", |
50 | 56 | "<(V8_ROOT)/src/builtins/proxy-revocable.tq",
|
51 | 57 | "<(V8_ROOT)/src/builtins/proxy-revoke.tq",
|
52 | 58 | "<(V8_ROOT)/src/builtins/proxy-set-property.tq",
|
| 59 | + "<(V8_ROOT)/src/builtins/proxy-set-prototype-of.tq", |
53 | 60 | "<(V8_ROOT)/src/builtins/proxy.tq",
|
| 61 | + "<(V8_ROOT)/src/builtins/reflect.tq", |
54 | 62 | "<(V8_ROOT)/src/builtins/regexp-replace.tq",
|
55 | 63 | "<(V8_ROOT)/src/builtins/regexp.tq",
|
56 | 64 | "<(V8_ROOT)/src/builtins/string.tq",
|
|
74 | 82 | "<(V8_ROOT)/src/builtins/typed-array-subarray.tq",
|
75 | 83 | "<(V8_ROOT)/src/builtins/typed-array.tq",
|
76 | 84 | "<(V8_ROOT)/third_party/v8/builtins/array-sort.tq",
|
77 |
| - ], |
78 |
| - 'torque_namespaces': [ |
79 |
| - "arguments", |
80 |
| - "array", |
81 |
| - "array-copywithin", |
82 |
| - "array-filter", |
83 |
| - "array-find", |
84 |
| - "array-findindex", |
85 |
| - "array-foreach", |
86 |
| - "array-join", |
87 |
| - "array-map", |
88 |
| - "array-of", |
89 |
| - "array-reverse", |
90 |
| - "array-shift", |
91 |
| - "array-slice", |
92 |
| - "array-splice", |
93 |
| - "array-unshift", |
94 |
| - "array-lastindexof", |
95 |
| - "base", |
96 |
| - "boolean", |
97 |
| - "collections", |
98 |
| - "data-view", |
99 |
| - "extras-utils", |
100 |
| - "growable-fixed-array", |
101 |
| - "internal-coverage", |
102 |
| - "iterator", |
103 |
| - "math", |
104 |
| - "object", |
105 |
| - "proxy", |
106 |
| - "regexp", |
107 |
| - "regexp-replace", |
108 |
| - "string", |
109 |
| - "string-html", |
110 |
| - "string-iterator", |
111 |
| - "string-repeat", |
112 |
| - "string-slice", |
113 |
| - "string-substring", |
114 |
| - "typed-array", |
115 |
| - "typed-array-createtypedarray", |
116 |
| - "typed-array-every", |
117 |
| - "typed-array-filter", |
118 |
| - "typed-array-find", |
119 |
| - "typed-array-findindex", |
120 |
| - "typed-array-foreach", |
121 |
| - "typed-array-reduce", |
122 |
| - "typed-array-reduceright", |
123 |
| - "typed-array-slice", |
124 |
| - "typed-array-some", |
125 |
| - "typed-array-subarray", |
| 85 | + "<(V8_ROOT)/test/torque/test-torque.tq", |
126 | 86 | ],
|
127 | 87 | 'torque_output_root': '<(SHARED_INTERMEDIATE_DIR)/torque-output-root',
|
128 |
| - # Since there is no foreach in GYP we use `ForEachFormat` to unroll the following: |
129 |
| - # foreach(namespace, torque_namespaces) { |
130 |
| - # outputs += [ |
131 |
| - # "$target_gen_dir/torque-generated/builtins-$namespace-gen-tq.cc", |
132 |
| - # "$target_gen_dir/torque-generated/builtins-$namespace-gen-tq.h", |
133 |
| - # ] |
134 |
| - # } |
135 |
| - 'torque_outputs': ['<!@pymod_do_main(ForEachFormat "<(torque_output_root)/torque-generated/builtins-%s-gen-tq.cc" <@(torque_namespaces))'], |
136 |
| - 'torque_outputs+': ['<!@pymod_do_main(ForEachFormat "<(torque_output_root)/torque-generated/builtins-%s-gen-tq.h" <@(torque_namespaces))'], |
| 88 | + 'torque_files_replaced': ['<!@pymod_do_main(ForEachReplace ".tq" "-tq-csa" <@(torque_files))'], |
| 89 | + 'torque_outputs': ['<!@pymod_do_main(ForEachFormat "<(torque_output_root)/torque-generated/%s.cc" <@(torque_files_replaced))'], |
| 90 | + 'torque_outputs+': ['<!@pymod_do_main(ForEachFormat "<(torque_output_root)/torque-generated/%s.h" <@(torque_files_replaced))'], |
137 | 91 | 'v8_compiler_sources': ['<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_compiler_sources = ")'],
|
138 | 92 |
|
139 | 93 | 'conditions': [
|
|
182 | 136 | '<(torque_output_root)/torque-generated/exported-macros-assembler-tq.cc',
|
183 | 137 | '<(torque_output_root)/torque-generated/exported-macros-assembler-tq.h',
|
184 | 138 | '<(torque_output_root)/torque-generated/csa-types-tq.h',
|
| 139 | + '<(torque_output_root)/torque-generated/instance-types-tq.h', |
185 | 140 | '<@(torque_outputs)',
|
186 | 141 | ],
|
187 | 142 | 'action': [
|
188 | 143 | '<@(_inputs)',
|
189 |
| - '-o', '<(torque_output_root)/torque-generated' |
| 144 | + '-o', '<(torque_output_root)/torque-generated', |
| 145 | + '-v8-root', '<(V8_ROOT)' |
190 | 146 | ],
|
191 | 147 | },
|
192 | 148 | ],
|
|
1237 | 1193 | 'sources': [
|
1238 | 1194 | '<(V8_ROOT)/src/libplatform/tracing/json-trace-event-listener.cc',
|
1239 | 1195 | '<(V8_ROOT)/src/libplatform/tracing/json-trace-event-listener.h',
|
1240 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-consumer.cc', |
1241 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-consumer.h', |
1242 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-producer.cc', |
1243 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-producer.h', |
1244 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-shared-memory.cc', |
1245 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-shared-memory.h', |
1246 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-tasks.cc', |
1247 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-tasks.h', |
1248 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-tracing-controller.cc', |
1249 |
| - '<(V8_ROOT)/src/libplatform/tracing/perfetto-tracing-controller.h', |
| 1196 | + '<(V8_ROOT)/src/libplatform/tracing/trace-event-listener.cc', |
1250 | 1197 | '<(V8_ROOT)/src/libplatform/tracing/trace-event-listener.h',
|
1251 | 1198 | ],
|
1252 | 1199 | 'dependencies': [
|
|
0 commit comments