Gregory Szorc schrieb:
We could go the route of GYP and shoehorn conditionals into a static
document (JSON) [3].
JSON is a good format for data for the most part, but IMHO we *really*
want comments in those files, and unfortunately JSON doesn't have those
and therefore probably must be thrown out of the equation. :(
Actually, I know a format that allows everything we need: Makefile! :p
Seriously, this is hard, and needing to parse even more files to build
doesn't sound faster and cleaner, but rather slower and more complex,
esp. given that basic file I/O is often costly (from watching my CPU
usage, a lot of the build time is spent in I/O wait when using spinning
disks - SSDs improve that hugely).
Robert Kaiser
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform