From 548008a6f6f95f7d903e9b282289f269f4b6a51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 19 Apr 2018 10:15:15 +0200 Subject: [PATCH] deps: update v8.gyp and run Torque Synchronize source files list with upstream's BUILD.gn. Teach v8.gyp to build and run torque, V8's DSL for generating builtins. On Windows, the torque binary needs to be compiled and linked with exception semantics and assume V8 is embedded. Fixes: https://github.com/nodejs/node-v8/issues/57 Co-Authored-By: Ben Noordhuis Co-Authored-By: Refael Ackermann Backport-PR-URL: https://github.com/nodejs/node/pull/21668 PR-URL: https://github.com/nodejs/node/pull/21079 Reviewed-By: James M Snell Reviewed-By: Matteo Collina Reviewed-By: Colin Ihrig Reviewed-By: Yang Guo --- common.gypi | 2 +- deps/v8/gypfiles/toolchain.gypi | 2 +- deps/v8/gypfiles/v8.gyp | 516 ++++++++++++++++++++++++++++++-- 3 files changed, 488 insertions(+), 32 deletions(-) diff --git a/common.gypi b/common.gypi index 6267588d68e0f8..2bb65fb4dd4fd0 100644 --- a/common.gypi +++ b/common.gypi @@ -29,7 +29,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.0', + 'v8_embedder_string': '-node.1', # Enable disassembler for `--print-code` v8 options 'v8_enable_disassembler': 1, diff --git a/deps/v8/gypfiles/toolchain.gypi b/deps/v8/gypfiles/toolchain.gypi index e67a5e22b96af9..97d2192ed828a7 100644 --- a/deps/v8/gypfiles/toolchain.gypi +++ b/deps/v8/gypfiles/toolchain.gypi @@ -1127,7 +1127,7 @@ 'ldflags': [ '-Wl,-bmaxdata:0x60000000/dsa' ], }], [ 'v8_target_arch=="ppc64"', { - 'cflags': [ '-maix64' ], + 'cflags': [ '-maix64', '-fdollars-in-identifiers' ], 'ldflags': [ '-maix64 -Wl,-bbigtoc' ], }], ], diff --git a/deps/v8/gypfiles/v8.gyp b/deps/v8/gypfiles/v8.gyp index 277488b74a0b35..eadbd5aeeeaafb 100644 --- a/deps/v8/gypfiles/v8.gyp +++ b/deps/v8/gypfiles/v8.gyp @@ -114,6 +114,7 @@ 'type': 'static_library', 'dependencies': [ 'v8_initializers', + 'v8_torque#host', ], 'variables': { 'optimize': 'max', @@ -124,6 +125,7 @@ ], 'sources': [ '../src/setup-isolate-full.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions-from-dsl.h', ], 'conditions': [ ['want_separate_host_toolset==1', { @@ -138,6 +140,7 @@ 'type': 'static_library', 'dependencies': [ 'v8_base', + 'v8_torque#host', ], 'variables': { 'optimize': 'max', @@ -192,8 +195,8 @@ '../src/builtins/builtins-string-gen.cc', '../src/builtins/builtins-string-gen.h', '../src/builtins/builtins-symbol-gen.cc', - '../src/builtins/builtins-typedarray-gen.cc', - '../src/builtins/builtins-typedarray-gen.h', + '../src/builtins/builtins-typed-array-gen.cc', + '../src/builtins/builtins-typed-array-gen.h', '../src/builtins/builtins-utils-gen.h', '../src/builtins/builtins-wasm-gen.cc', '../src/builtins/growable-fixed-array-gen.cc', @@ -214,6 +217,12 @@ '../src/interpreter/interpreter-intrinsics-generator.h', '../src/interpreter/setup-interpreter-internal.cc', '../src/interpreter/setup-interpreter.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-array-from-dsl-gen.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-array-from-dsl-gen.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-base-from-dsl-gen.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-base-from-dsl-gen.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.h', ], 'conditions': [ ['want_separate_host_toolset==1', { @@ -357,6 +366,7 @@ 'type': 'static_library', 'dependencies': [ 'v8_base', + 'v8_torque#host', ], 'include_dirs+': [ '..', @@ -507,9 +517,13 @@ 'dependencies': [ 'v8_libbase', 'v8_libsampler', + 'v8_torque#host', 'inspector.gyp:protocol_generated_sources#target', 'inspector.gyp:inspector_injected_script#target', ], + 'direct_dependent_settings': { + 'include_dirs+': ['<(SHARED_INTERMEDIATE_DIR)'], + }, 'objs': ['foo.o'], 'variables': { 'optimize': 'max', @@ -546,6 +560,7 @@ '../src/api-natives.h', '../src/arguments.cc', '../src/arguments.h', + '../src/asan.h', '../src/asmjs/asm-js.cc', '../src/asmjs/asm-js.h', '../src/asmjs/asm-names.h', @@ -555,11 +570,12 @@ '../src/asmjs/asm-scanner.h', '../src/asmjs/asm-types.cc', '../src/asmjs/asm-types.h', - '../src/asmjs/switch-logic.h', '../src/asmjs/switch-logic.cc', + '../src/asmjs/switch-logic.h', + '../src/assembler-arch.h', + '../src/assembler-inl.h', '../src/assembler.cc', '../src/assembler.h', - '../src/assembler-inl.h', '../src/assert-scope.h', '../src/assert-scope.cc', '../src/ast/ast-function-literal-id-reindexer.cc', @@ -626,8 +642,7 @@ '../src/builtins/builtins-intl.cc', '../src/builtins/builtins-intl.h', '../src/builtins/builtins-symbol.cc', - '../src/builtins/builtins-trace.cc', - '../src/builtins/builtins-typedarray.cc', + '../src/builtins/builtins-typed-array.cc', '../src/builtins/builtins-utils.h', '../src/builtins/builtins.cc', '../src/builtins/builtins.h', @@ -645,6 +660,8 @@ '../src/code-events.h', '../src/code-factory.cc', '../src/code-factory.h', + '../src/code-reference.cc', + '../src/code-reference.h', '../src/code-stub-assembler.cc', '../src/code-stub-assembler.h', '../src/code-stubs.cc', @@ -690,6 +707,10 @@ '../src/compiler/common-operator-reducer.h', '../src/compiler/common-operator.cc', '../src/compiler/common-operator.h', + '../src/compiler/compiler-source-position-table.cc', + '../src/compiler/compiler-source-position-table.h', + '../src/compiler/constant-folding-reducer.cc', + '../src/compiler/constant-folding-reducer.h', '../src/compiler/control-equivalence.cc', '../src/compiler/control-equivalence.h', '../src/compiler/control-flow-optimizer.cc', @@ -732,8 +753,6 @@ '../src/compiler/instruction.h', '../src/compiler/int64-lowering.cc', '../src/compiler/int64-lowering.h', - '../src/compiler/js-builtin-reducer.cc', - '../src/compiler/js-builtin-reducer.h', '../src/compiler/js-call-reducer.cc', '../src/compiler/js-call-reducer.h', '../src/compiler/js-context-specialization.cc', @@ -772,12 +791,14 @@ '../src/compiler/loop-peeling.h', '../src/compiler/loop-variable-optimizer.cc', '../src/compiler/loop-variable-optimizer.h', + '../src/compiler/machine-graph-verifier.cc', + '../src/compiler/machine-graph-verifier.h', + '../src/compiler/machine-graph.cc', + '../src/compiler/machine-graph.h', '../src/compiler/machine-operator-reducer.cc', '../src/compiler/machine-operator-reducer.h', '../src/compiler/machine-operator.cc', '../src/compiler/machine-operator.h', - '../src/compiler/machine-graph-verifier.cc', - '../src/compiler/machine-graph-verifier.h', '../src/compiler/memory-optimizer.cc', '../src/compiler/memory-optimizer.h', '../src/compiler/move-optimizer.cc', @@ -789,6 +810,8 @@ '../src/compiler/node-marker.h', '../src/compiler/node-matchers.cc', '../src/compiler/node-matchers.h', + '../src/compiler/node-origin-table.cc', + '../src/compiler/node-origin-table.h', '../src/compiler/node-properties.cc', '../src/compiler/node-properties.h', '../src/compiler/node.cc', @@ -834,20 +857,20 @@ '../src/compiler/simplified-operator-reducer.h', '../src/compiler/simplified-operator.cc', '../src/compiler/simplified-operator.h', - '../src/compiler/compiler-source-position-table.cc', - '../src/compiler/compiler-source-position-table.h', '../src/compiler/state-values-utils.cc', '../src/compiler/state-values-utils.h', '../src/compiler/store-store-elimination.cc', '../src/compiler/store-store-elimination.h', - '../src/compiler/types.cc', - '../src/compiler/types.h', '../src/compiler/type-cache.cc', '../src/compiler/type-cache.h', + '../src/compiler/type-narrowing-reducer.cc', + '../src/compiler/type-narrowing-reducer.h', '../src/compiler/typed-optimization.cc', '../src/compiler/typed-optimization.h', '../src/compiler/typer.cc', '../src/compiler/typer.h', + '../src/compiler/types.cc', + '../src/compiler/types.h', '../src/compiler/unwinding-info-writer.h', '../src/compiler/value-numbering-reducer.cc', '../src/compiler/value-numbering-reducer.h', @@ -855,7 +878,6 @@ '../src/compiler/verifier.h', '../src/compiler/wasm-compiler.cc', '../src/compiler/wasm-compiler.h', - '../src/compiler/wasm-linkage.cc', '../src/compiler/zone-stats.cc', '../src/compiler/zone-stats.h', '../src/compiler-dispatcher/compiler-dispatcher.cc', @@ -1126,13 +1148,13 @@ '../src/lookup-cache.h', '../src/lookup.cc', '../src/lookup.h', - '../src/map-updater.cc', - '../src/map-updater.h', - '../src/macro-assembler-inl.h', - '../src/macro-assembler.h', + '../src/lsan.h', '../src/machine-type.cc', '../src/machine-type.h', - '../src/managed.h', + '../src/macro-assembler-inl.h', + '../src/macro-assembler.h', + '../src/map-updater.cc', + '../src/map-updater.h', '../src/messages.cc', '../src/messages.h', '../src/msan.h', @@ -1143,6 +1165,8 @@ '../src/objects-printer.cc', '../src/objects.cc', '../src/objects.h', + '../src/objects/api-callbacks-inl.h', + '../src/objects/api-callbacks.h', '../src/objects/arguments-inl.h', '../src/objects/arguments.h', '../src/objects/bigint.cc', @@ -1170,15 +1194,20 @@ '../src/objects/js-array.h', '../src/objects/js-collection-inl.h', '../src/objects/js-collection.h', + '../src/objects/js-locale-inl.h', + '../src/objects/js-locale.cc', + '../src/objects/js-locale.h', '../src/objects/js-promise-inl.h', '../src/objects/js-promise.h', '../src/objects/js-regexp-inl.h', '../src/objects/js-regexp.h', '../src/objects/js-regexp-string-iterator-inl.h', '../src/objects/js-regexp-string-iterator.h', - '../src/objects/literal-objects.cc', '../src/objects/literal-objects-inl.h', + '../src/objects/literal-objects.cc', '../src/objects/literal-objects.h', + '../src/objects/managed.cc', + '../src/objects/managed.h', '../src/objects/map-inl.h', '../src/objects/map.h', '../src/objects/maybe-object-inl.h', @@ -1192,6 +1221,9 @@ '../src/objects/name.h', '../src/objects/object-macros-undef.h', '../src/objects/object-macros.h', + '../src/objects/ordered-hash-table-inl.h', + '../src/objects/ordered-hash-table.cc', + '../src/objects/ordered-hash-table.h', '../src/objects/promise-inl.h', '../src/objects/promise.h', '../src/objects/property-descriptor-object-inl.h', @@ -1208,6 +1240,8 @@ '../src/objects/string-table.h', '../src/objects/template-objects.cc', '../src/objects/template-objects.h', + '../src/objects/templates-inl.h', + '../src/objects/templates.h', '../src/optimized-compilation-info.cc', '../src/optimized-compilation-info.h', '../src/ostreams.cc', @@ -1415,6 +1449,7 @@ '../src/transitions-inl.h', '../src/transitions.cc', '../src/transitions.h', + '../src/trap-handler/handler-inside.cc', '../src/trap-handler/handler-outside.cc', '../src/trap-handler/handler-shared.cc', '../src/trap-handler/trap-handler.h', @@ -1455,13 +1490,14 @@ '../src/wasm/baseline/liftoff-assembler.cc', '../src/wasm/baseline/liftoff-assembler.h', '../src/wasm/baseline/liftoff-compiler.cc', + '../src/wasm/baseline/liftoff-compiler.h', '../src/wasm/baseline/liftoff-register.h', - '../src/wasm/compilation-manager.cc', - '../src/wasm/compilation-manager.h', '../src/wasm/decoder.h', + '../src/wasm/function-body-decoder-impl.h', '../src/wasm/function-body-decoder.cc', '../src/wasm/function-body-decoder.h', - '../src/wasm/function-body-decoder-impl.h', + '../src/wasm/function-compiler.h', + '../src/wasm/function-compiler.cc', '../src/wasm/leb-helper.h', '../src/wasm/local-decl-encoder.cc', '../src/wasm/local-decl-encoder.h', @@ -1475,6 +1511,7 @@ '../src/wasm/signature-map.h', '../src/wasm/streaming-decoder.cc', '../src/wasm/streaming-decoder.h', + '../src/wasm/value-type.h', '../src/wasm/wasm-code-manager.cc', '../src/wasm/wasm-code-manager.h', '../src/wasm/wasm-code-specialization.cc', @@ -1488,6 +1525,7 @@ '../src/wasm/wasm-js.cc', '../src/wasm/wasm-js.h', '../src/wasm/wasm-limits.h', + '../src/wasm/wasm-linkage.h', '../src/wasm/wasm-memory.cc', '../src/wasm/wasm-memory.h', '../src/wasm/wasm-module.cc', @@ -1521,6 +1559,7 @@ '../src/zone/zone-containers.h', '../src/zone/zone-handle-set.h', '../src/zone/zone-list-inl.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions-from-dsl.h', ], 'conditions': [ ['want_separate_host_toolset==1', { @@ -1729,7 +1768,15 @@ ], }], ['v8_target_arch=="x64" and OS=="linux"', { - 'sources': ['../src/trap-handler/handler-inside.cc'] + 'sources': [ + '../src/trap-handler/handler-inside-linux.cc', + '../src/trap-handler/handler-outside-linux.cc', + ], + }], + ['v8_target_arch=="x64" and OS=="win"', { + 'sources': [ + '../src/trap-handler/handler-outside-win.cc', + ], }], ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { 'sources': [ @@ -1855,6 +1902,9 @@ '../src/intl.h', '../src/objects/intl-objects.cc', '../src/objects/intl-objects.h', + '../src/objects/js-locale-inl.h', + '../src/objects/js-locale.cc', + '../src/objects/js-locale.h', '../src/runtime/runtime-intl.cc', ], }], @@ -1868,12 +1918,16 @@ { 'target_name': 'v8_libbase', 'type': '<(component)', + 'toolsets': ['host', 'target'], 'variables': { 'optimize': 'max', }, 'include_dirs+': [ '..', ], + 'direct_dependent_settings': { + 'include_dirs+': ['..'], + }, 'sources': [ '../src/base/adapters.h', '../src/base/atomic-utils.h', @@ -1948,11 +2002,6 @@ }], ], 'conditions': [ - ['want_separate_host_toolset==1', { - 'toolsets': ['host', 'target'], - }, { - 'toolsets': ['target'], - }], ['component=="shared_library"', { 'defines': [ 'BUILDING_V8_BASE_SHARED', @@ -2472,6 +2521,413 @@ }, ], }, + { + 'target_name': 'torque', + 'type': 'executable', + 'toolsets': ['host'], + 'dependencies': ['v8_libbase'], + 'cflags_cc!': ['-fno-exceptions', '-fno-rtti'], + 'xcode_settings': { + 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fexceptions + 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti + }, + 'defines': ['ANTLR4CPP_STATIC'], + 'defines!': [ + '_HAS_EXCEPTIONS=0', + 'BUILDING_V8_SHARED=1', + ], + 'include_dirs': [ + '../third_party/antlr4/runtime/Cpp/runtime/src', + '../src/torque', + ], + # This is defined trough `configurations` for GYP+ninja compatibility + 'configurations': { + 'Debug': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'RuntimeTypeInfo': 'true', + 'ExceptionHandling': 1, + }, + } + }, + 'Release': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'RuntimeTypeInfo': 'true', + 'ExceptionHandling': 1, + }, + } + }, + }, + 'sources': [ + '../src/torque/TorqueBaseVisitor.cpp', + '../src/torque/TorqueBaseVisitor.h', + '../src/torque/TorqueLexer.cpp', + '../src/torque/TorqueLexer.h', + '../src/torque/TorqueParser.cpp', + '../src/torque/TorqueParser.h', + '../src/torque/TorqueVisitor.cpp', + '../src/torque/TorqueVisitor.h', + '../src/torque/ast-generator.cc', + '../src/torque/ast-generator.h', + '../src/torque/ast.h', + '../src/torque/contextual.h', + '../src/torque/declarable.cc', + '../src/torque/declarable.h', + '../src/torque/declaration-visitor.cc', + '../src/torque/declaration-visitor.h', + '../src/torque/declarations.cc', + '../src/torque/declarations.h', + '../src/torque/file-visitor.cc', + '../src/torque/file-visitor.h', + '../src/torque/global-context.h', + '../src/torque/implementation-visitor.cc', + '../src/torque/implementation-visitor.h', + '../src/torque/scope.cc', + '../src/torque/scope.h', + '../src/torque/torque.cc', + '../src/torque/type-oracle.h', + '../src/torque/types.cc', + '../src/torque/types.h', + '../src/torque/utils.cc', + '../src/torque/utils.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ANTLRErrorListener.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ANTLRErrorListener.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ANTLRErrorStrategy.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ANTLRErrorStrategy.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ANTLRFileStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ANTLRFileStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ANTLRInputStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ANTLRInputStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/BailErrorStrategy.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/BailErrorStrategy.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/BaseErrorListener.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/BaseErrorListener.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/BufferedTokenStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/BufferedTokenStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/CharStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/CharStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/CommonToken.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/CommonToken.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/CommonTokenFactory.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/CommonTokenFactory.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/CommonTokenStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/CommonTokenStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ConsoleErrorListener.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ConsoleErrorListener.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/DefaultErrorStrategy.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/DiagnosticErrorListener.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/DiagnosticErrorListener.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/Exceptions.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/Exceptions.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/FailedPredicateException.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/FailedPredicateException.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/InputMismatchException.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/InputMismatchException.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/IntStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/IntStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/InterpreterRuleContext.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/InterpreterRuleContext.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/Lexer.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/Lexer.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/LexerInterpreter.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/LexerInterpreter.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/LexerNoViableAltException.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/LexerNoViableAltException.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ListTokenSource.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ListTokenSource.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/NoViableAltException.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/NoViableAltException.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/Parser.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/Parser.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ParserInterpreter.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ParserInterpreter.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ParserRuleContext.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ParserRuleContext.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/ProxyErrorListener.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/ProxyErrorListener.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/RecognitionException.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/RecognitionException.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/Recognizer.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/Recognizer.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/RuleContext.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/RuleContext.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/RuleContextWithAltNum.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/RuleContextWithAltNum.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/RuntimeMetaData.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/RuntimeMetaData.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/Token.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/Token.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/TokenFactory.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/TokenSource.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/TokenSource.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/TokenStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/TokenStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/TokenStreamRewriter.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/TokenStreamRewriter.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/UnbufferedCharStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/UnbufferedCharStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/UnbufferedTokenStream.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/UnbufferedTokenStream.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/Vocabulary.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/Vocabulary.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/WritableToken.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/WritableToken.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/antlr4-common.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/antlr4-runtime.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATN.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATN.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNConfig.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNConfig.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNConfigSet.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNConfigSet.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNDeserializer.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNDeserializer.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNSerializer.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNSerializer.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNSimulator.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNSimulator.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ATNType.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/AbstractPredicateTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/AbstractPredicateTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ActionTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ActionTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/AmbiguityInfo.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/AmbiguityInfo.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ArrayPredictionContext.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ArrayPredictionContext.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/AtomTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/AtomTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/BasicBlockStartState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/BasicBlockStartState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/BasicState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/BasicState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/BlockEndState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/BlockEndState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/BlockStartState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/BlockStartState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ContextSensitivityInfo.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ContextSensitivityInfo.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/DecisionEventInfo.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/DecisionEventInfo.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/DecisionInfo.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/DecisionInfo.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/DecisionState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/DecisionState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/EmptyPredictionContext.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/EmptyPredictionContext.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/EpsilonTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/EpsilonTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ErrorInfo.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ErrorInfo.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LL1Analyzer.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LL1Analyzer.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerATNConfig.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerATNConfig.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerATNSimulator.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerATNSimulator.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerActionExecutor.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerActionExecutor.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerActionType.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerChannelAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerChannelAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerCustomAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerCustomAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerIndexedCustomAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerIndexedCustomAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerModeAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerModeAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerMoreAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerMoreAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerPopModeAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerPopModeAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerPushModeAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerPushModeAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerSkipAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerTypeAction.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerTypeAction.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LookaheadEventInfo.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LookaheadEventInfo.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LoopEndState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/LoopEndState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/NotSetTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/NotSetTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/OrderedATNConfigSet.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/OrderedATNConfigSet.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ParseInfo.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ParseInfo.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ParserATNSimulator.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ParserATNSimulator.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PlusBlockStartState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PlusBlockStartState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PlusLoopbackState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PlusLoopbackState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PrecedencePredicateTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PrecedencePredicateTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PredicateEvalInfo.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PredicateEvalInfo.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PredicateTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PredicateTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PredictionContext.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PredictionContext.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PredictionMode.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/PredictionMode.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/RangeTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/RangeTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/RuleStartState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/RuleStartState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/RuleStopState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/RuleStopState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/RuleTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/RuleTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/SemanticContext.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/SemanticContext.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/SetTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/SetTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/SingletonPredictionContext.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/SingletonPredictionContext.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/StarBlockStartState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/StarBlockStartState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/StarLoopEntryState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/StarLoopEntryState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/StarLoopbackState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/StarLoopbackState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/TokensStartState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/TokensStartState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/Transition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/Transition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/WildcardTransition.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/atn/WildcardTransition.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/dfa/DFA.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/dfa/DFA.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/dfa/DFASerializer.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/dfa/DFASerializer.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/dfa/DFAState.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/dfa/DFAState.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/InterpreterDataReader.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/InterpreterDataReader.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/Interval.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/Interval.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/IntervalSet.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/IntervalSet.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/MurmurHash.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/MurmurHash.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/Predicate.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/misc/Predicate.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/Any.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/Any.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/Arrays.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/Arrays.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/BitSet.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/CPPUtils.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/CPPUtils.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/Declarations.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/StringUtils.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/StringUtils.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/guid.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/support/guid.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/AbstractParseTreeVisitor.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ErrorNode.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ErrorNode.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ErrorNodeImpl.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ErrorNodeImpl.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/IterativeParseTreeWalker.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/IterativeParseTreeWalker.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTree.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTree.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTreeListener.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTreeListener.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTreeProperty.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTreeVisitor.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTreeVisitor.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTreeWalker.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/ParseTreeWalker.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/TerminalNode.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/TerminalNode.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/TerminalNodeImpl.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/TerminalNodeImpl.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/Trees.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/Trees.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/Chunk.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/Chunk.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/ParseTreeMatch.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/ParseTreeMatch.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/ParseTreePatternMatcher.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/ParseTreePatternMatcher.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/RuleTagToken.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/RuleTagToken.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/TagChunk.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/TagChunk.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/TextChunk.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/TextChunk.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/TokenTagToken.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/TokenTagToken.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPath.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPath.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathElement.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathElement.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathLexerErrorListener.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathLexerErrorListener.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathRuleElement.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathRuleElement.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathTokenAnywhereElement.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathTokenElement.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathTokenElement.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.h', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.cpp', + '../third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.h', + ], + }, + { + 'target_name': 'v8_torque', + 'type': 'none', + 'toolsets': ['host'], + 'dependencies': ['torque#host'], + 'direct_dependent_settings': { + 'include_dirs+': ['<(SHARED_INTERMEDIATE_DIR)'], + }, + 'actions': [ + { + 'action_name': 'run_torque', + 'inputs': [ # Order matters. + '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)', + '../src/builtins/base.tq', + '../src/builtins/array.tq', + '../src/builtins/typed-array.tq', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions-from-dsl.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-array-from-dsl-gen.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-array-from-dsl-gen.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-base-from-dsl-gen.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-base-from-dsl-gen.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.h', + ], + 'action': ['<@(_inputs)', '-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated'], + }, + ], + }, { 'target_name': 'postmortem-metadata', 'type': 'none',