Back to V8

Torque Rules

agents/rules/torque.md

15.0.10373 B
Original Source

Torque Rules

Rules for working with Torque files.

Registration in BUILD.gn

  • If you create a new .tq file, you MUST register it in the root BUILD.gn.
  • Locate the torque_files list in BUILD.gn (Note: not v8_torque_files).
  • Add your new file path in alphabetical order.
  • Note: Modifications to existing files do not require registration changes.