|
64 | 64 | '<@(torque_files)',
|
65 | 65 | ],
|
66 | 66 | 'outputs': [
|
67 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/bit-fields.h', |
68 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions.h', |
69 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/interface-descriptors.inc', |
70 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.cc', |
71 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.inc', |
72 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/field-offsets.h', |
73 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-verifiers.cc', |
74 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-verifiers.h', |
75 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/enum-verifiers.cc', |
76 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-printer.cc', |
77 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-body-descriptors-inl.inc', |
78 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-debug-readers.cc', |
79 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-debug-readers.h', |
80 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/exported-macros-assembler.cc', |
81 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/exported-macros-assembler.h', |
82 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/csa-types.h', |
83 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/instance-types.h', |
84 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/runtime-macros.cc', |
85 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/runtime-macros.h', |
86 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-forward-declarations.h', |
| 67 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/bit-fields.h", |
| 68 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions.h", |
| 69 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/interface-descriptors.inc", |
| 70 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.cc", |
| 71 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.inc", |
| 72 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/field-offsets.h", |
| 73 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-verifiers.cc", |
| 74 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-verifiers.h", |
| 75 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/enum-verifiers.cc", |
| 76 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-printer.cc", |
| 77 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-body-descriptors-inl.inc", |
| 78 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-debug-readers.cc", |
| 79 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-debug-readers.h", |
| 80 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/exported-macros-assembler.cc", |
| 81 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/exported-macros-assembler.h", |
| 82 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/csa-types.h", |
| 83 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/instance-types.h", |
| 84 | + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-forward-declarations.h", |
87 | 85 | '<@(torque_outputs_csa_cc)',
|
88 | 86 | '<@(torque_outputs_csa_h)',
|
89 | 87 | '<@(torque_outputs_inl_inc)',
|
|
92 | 90 | ],
|
93 | 91 | 'action': [
|
94 | 92 | '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
|
95 |
| - '<@(torque_files_without_v8_root)', |
96 | 93 | '-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated',
|
97 |
| - '-v8-root', '<(V8_ROOT)' |
| 94 | + '-v8-root', '<(V8_ROOT)', |
| 95 | + '<@(torque_files_without_v8_root)', |
98 | 96 | ],
|
99 | 97 | },
|
100 | 98 | ],
|
|
166 | 164 | '<(SHARED_INTERMEDIATE_DIR)/torque-generated/class-verifiers.h',
|
167 | 165 | '<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.cc',
|
168 | 166 | '<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-printer.cc',
|
169 |
| - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/runtime-macros.cc', |
170 | 167 | ],
|
171 | 168 | 'include_dirs': [
|
172 | 169 | '<(SHARED_INTERMEDIATE_DIR)',
|
|
1092 | 1089 | '<(V8_ROOT)/src/libplatform/delayed-task-queue.h',
|
1093 | 1090 | '<(V8_ROOT)/src/libplatform/task-queue.cc',
|
1094 | 1091 | '<(V8_ROOT)/src/libplatform/task-queue.h',
|
| 1092 | + '<(V8_ROOT)/src/libplatform/tracing/recorder-default.cc', |
| 1093 | + '<(V8_ROOT)/src/libplatform/tracing/recorder.h', |
1095 | 1094 | '<(V8_ROOT)/src/libplatform/tracing/trace-buffer.cc',
|
1096 | 1095 | '<(V8_ROOT)/src/libplatform/tracing/trace-buffer.h',
|
1097 | 1096 | '<(V8_ROOT)/src/libplatform/tracing/trace-config.cc',
|
|
1112 | 1111 | },
|
1113 | 1112 | 'defines': ['BUILDING_V8_PLATFORM_SHARED'],
|
1114 | 1113 | }],
|
1115 |
| - ['v8_use_perfetto', { |
| 1114 | + ['v8_use_perfetto==1', { |
| 1115 | + 'sources!': [ |
| 1116 | + '<(V8_ROOT)/base/trace_event/common/trace_event_common.h', |
| 1117 | + '<(V8_ROOT)/src/libplatform/tracing/recorder-default.cc', |
| 1118 | + '<(V8_ROOT)/src/libplatform/tracing/trace-buffer.cc', |
| 1119 | + '<(V8_ROOT)/src/libplatform/tracing/trace-buffer.h', |
| 1120 | + '<(V8_ROOT)/src/libplatform/tracing/trace-object.cc', |
| 1121 | + '<(V8_ROOT)/src/libplatform/tracing/trace-writer.cc', |
| 1122 | + '<(V8_ROOT)/src/libplatform/tracing/trace-writer.h', |
| 1123 | + ], |
1116 | 1124 | 'sources': [
|
1117 |
| - '<(V8_ROOT)/src/libplatform/tracing/json-trace-event-listener.cc', |
1118 |
| - '<(V8_ROOT)/src/libplatform/tracing/json-trace-event-listener.h', |
1119 | 1125 | '<(V8_ROOT)/src/libplatform/tracing/trace-event-listener.cc',
|
1120 | 1126 | '<(V8_ROOT)/src/libplatform/tracing/trace-event-listener.h',
|
1121 | 1127 | ],
|
|
1124 | 1130 | '<(V8_ROOT)/third_party/perfetto/protos/perfetto/trace:lite',
|
1125 | 1131 | ],
|
1126 | 1132 | }],
|
| 1133 | + ['v8_use_perfetto==0 and is_win', { |
| 1134 | + 'sources!': [ |
| 1135 | + '<(V8_ROOT)/src/libplatform/tracing/recorder-default.cc', |
| 1136 | + ], |
| 1137 | + 'sources': [ |
| 1138 | + '<(V8_ROOT)/src/libplatform/tracing/recorder-win.cc', |
| 1139 | + ], |
| 1140 | + }], |
1127 | 1141 | ],
|
1128 | 1142 | 'direct_dependent_settings': {
|
1129 | 1143 | 'include_dirs': [
|
|
0 commit comments