GYP (software)
GYP (generate your projects) is a build automation tool. GYP was created by Google to generate native IDE project files (such as Visual Studio Code and Xcode) for building the Chromium web browser and is licensed as open source software using the BSD software license.
Original author(s) | Mark Mentovai |
---|---|
Developer(s) | Chromium.org |
Repository | |
Written in | Python |
Operating system | macOS, Linux, Solaris, FreeBSD, OpenBSD, Windows |
Type | Build automation programming |
License | BSD license |
Website | gyp |
The functionality of GYP is similar to the CMake build tool. GYP processes a file that contains a JSON dictionary[1] in order to generate one or more target project make files. The single source .GYP file is generic while the target files are specific to each targeted build tool.
Software projects being built using GYP included the Node.js,[2] WebRTC,[3] and Telegram.[4] Software projects that migrated from GYP to GN included the V8 Javascript engine,[5] Google's Chromium web browser,[6] Dart.[7] The GN is used to generate build files for Ninja build system.
In 2016, the Chromium project replaced GYP with GN, which is 20x faster for their use case.[8]
"Gyp" is an ethnic slur, associating cheating and stealing with the Roma community who are colloquially referred to as Gypsies. For this reason, some feel this project should be renamed.[9]
See also
References
- "Gyp Make file dictionary". GYP user documentation.
- "Announcing Node 0.8". the Node.js official blog. 25 June 2012.
- "Development". WebRTC.
- "Telegram gyp doc".
- https://v8.dev/docs/build-gn
- https://www.chromium.org/developers/gn-build-configuration
- https://github.com/dart-lang/sdk/blob/master/BUILD.gn
- https://chromium.googlesource.com/chromium/src/tools/gn/+/48062805e19b4697c5fbd926dc649c78b6aaa138/README.md; new version
- https://www.npr.org/sections/codeswitch/2013/12/30/242429836/why-being-gypped-hurts-the-roma-more-than-it-hurts-you