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.

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

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]

See alsoEdit

ReferencesEdit

  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 linksEdit