Jump to content

GYP (software)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 2600:8804:980:250e:bc96:7ae7:3292:cf3b (talk) at 21:25, 14 April 2020. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

GYP
Original author(s)Mark Mentovai
Developer(s)Chromium.org
Repository
Written inPython
Operating systemmacOS, Linux, Solaris, FreeBSD, OpenBSD, Windows
TypeBuild automation programming
LicenseBSD license
Websitegyp.gsrc.io Edit this on Wikidata

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.

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]

In 2016, the Chromium project replaced GYP with GN, which is 20x faster for their use case.[8]

See also

References

  1. ^ "Gyp Make file dictionary". GYP user documentation.
  2. ^ "Announcing Node 0.8". the Node.js official blog. 25 June 2012.
  3. ^ "Development". WebRTC.
  4. ^ "Telegram gyp doc".
  5. ^ https://v8.dev/docs/build-gn
  6. ^ https://www.chromium.org/developers/gn-build-configuration
  7. ^ https://github.com/dart-lang/sdk/blob/master/BUILD.gn
  8. ^ https://chromium.googlesource.com/chromium/src/tools/gn/+/48062805e19b4697c5fbd926dc649c78b6aaa138/README.md

External links