# The upstream Electron executable intentionally bundles these libraries. T3 Code
# has no supported system-library build mode for its Electron distribution.
t3code: embedded-library freetype [usr/lib/t3code/t3code]
t3code: embedded-library lcms2 [usr/lib/t3code/t3code]
t3code: embedded-library libjpeg [usr/lib/t3code/t3code]
t3code: embedded-library openjpeg [usr/lib/t3code/t3code]
t3code: embedded-library srtp [usr/lib/t3code/t3code]
t3code: embedded-library tiff [usr/lib/t3code/t3code]

# Upstream ships musl fallbacks beside the glibc native modules. They are selected
# by the JavaScript loaders and are not ELF libraries for the Debian host ABI.
t3code: library-not-linked-against-libc [usr/lib/t3code/resources/app.asar.unpacked/node_modules/@ff-labs/fff-bin-linux-*-musl/libfff_c.so]
t3code: library-not-linked-against-libc [usr/lib/t3code/resources/app.asar.unpacked/node_modules/@yuuang/ffi-rs-linux-*-musl/ffi-rs.linux-*-musl.node]
t3code: library-not-linked-against-libc [usr/lib/t3code/resources/app.asar.unpacked/node_modules/@msgpackr-extract/msgpackr-extract-linux-*/node.*.musl.node]
t3code: library-not-linked-against-libc [usr/lib/t3code/resources/app.asar.unpacked/node_modules/@koromix/koffi-linux-*/musl_*/koffi.node]

# Preserve the tested upstream Electron payload byte-for-byte. Stripping these
# prebuilt objects would mutate vendor artifacts after the upstream smoke test.
t3code: unstripped-binary-or-object [usr/lib/t3code/libvulkan.so.1]
t3code: unstripped-binary-or-object [usr/lib/t3code/resources/browser-secret/t3-browser-secret]
t3code: unstripped-binary-or-object [usr/lib/t3code/resources/app.asar.unpacked/node_modules/@msgpackr-extract/msgpackr-extract-linux-*/node.*.node]
t3code: unstripped-binary-or-object [usr/lib/t3code/resources/app.asar.unpacked/node_modules/msgpackr-extract/build/Release/extract.node]
t3code: unstripped-binary-or-object [usr/lib/t3code/resources/app.asar.unpacked/node_modules/node-pty/build/Release/pty.node]

# Cursor SDK also vendors prebuilt tree-sitter bindings outside app.asar.
# Preserve those tested artifacts on both supported Linux architectures.
t3code: unstripped-binary-or-object [usr/lib/t3code/resources/node_modules/@cursor/sdk-linux-*/vendor/tree-sitter/binding.node]
t3code: unstripped-binary-or-object [usr/lib/t3code/resources/node_modules/@cursor/sdk-linux-*/vendor/tree-sitter-bash/binding.node]

# Cursor's x64 sandbox and ARM64 ripgrep are statically linked; the ARM64
# sandbox is unstripped. Preserve these tested vendor executables.
t3code: statically-linked-binary [usr/lib/t3code/resources/node_modules/@cursor/sdk-linux-x64/bin/cursorsandbox]
t3code: statically-linked-binary [usr/lib/t3code/resources/node_modules/@cursor/sdk-linux-arm64/bin/rg]
t3code: unstripped-binary-or-object [usr/lib/t3code/resources/node_modules/@cursor/sdk-linux-arm64/bin/cursorsandbox]
