GYP (software)
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![]() |
GYP (generate your projects) is an obsolete build automation tool created in 2011 by Google.[1] Its purpose was to generate native IDE project files (such as Visual Studio and Xcode) for building the Chromium web browser and is licensed as open source software using the BSD software license.
The functionality of GYP is similar to the CMake build tool. GYP processes a file that contains a JSON dictionary[2] 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.
In 2016, the Chromium project replaced GYP with GN, a tool that generates ninja builds. The switch to GN resulted in a 20x speedup for their use case.[3][4] Other projects that migrated from GYP to GN include the V8 Javascript engine,[5] WebRTC[6] and Dart.[7]
Software projects that are still built using GYP include Node.js[8] and Telegram.[9]
See also
[edit]References
[edit]- ^ "GitHub - chromium/gyp: GYP is a Meta-Build system: a build system that generates other build systems". GitHub. Retrieved 2021-07-28.
- ^ "Gyp Make file dictionary". GYP user documentation.
- ^ https://chromium.googlesource.com/chromium/src/tools/gn/+/48062805e19b4697c5fbd926dc649c78b6aaa138/README.md; new version
- ^ "GN build configuration".
- ^ Bynens, Mathias (2019-08-27). "Building V8 with GN". v8.dev.
- ^ Issue 3441: Convert WebRTC GYP files to GN
- ^ "Dart". GitHub. 12 May 2022.
- ^ Schlueter, Isaac Z (25 June 2012). "Announcing Node 0.8". the Node.js official blog. Archived from the original on 2014-08-02.
- ^ "Telegram Desktop – Official Messenger: Third Party components". GitHub. Retrieved 2021-04-10.