feat(ncm): 网易云技术栈预研+构建验证 (agent-200) — 选型: mbedtls3.6.2裁剪(TLS+AES+MD5+RSA raw+Base64,~388KB)/jsmn(2.2KB)/qrcodegen(10.8KB)/minimp3(37.4KB), 合计~438KB; HTTPS unikey 全链路宿主+qemu-mipsel 实测通过; RSA raw 与 Python pow 逐字节一致; MP3 解码非瓶颈

vendor源码+out产物不入库(126MB, gitignore; 版本/许可/裁剪见 VENDOR_NOTES.md, build_*.sh 可复现)
This commit is contained in:
MeowOS committed 2026-08-31 06:03:36 +08:00
1 parent 2d93298f8a
commit c96e912518
19 files changed
+733

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# cJSON v1.7.18 — 静态编译 mipsel。许可 MIT。选用 cJSON 仅作 JSON 解析对比,推荐用 jsmn。
. ./libs_common.sh
SRC="$VENDOR/cjson/cJSON.c"
INC="-I$VENDOR/cjson"
D="$OUT/cjson/mipsel"; mkdir -p "$D"
$CC_MIPS -Os -I"$VENDOR" $INC -fno-stack-protector -ffunction-sections -fdata-sections -c "$SRC" -o "$D/cJSON.o" || exit 1
$AR_MIPS rcs "$D/libcjson.a" "$D/cJSON.o"
echo "cJSON (mipsel):"
measure_archive "$D/libcjson.a"