google构建了一套工具用来下载、管理、编译代码。在Android源码、chrome、webrtc等多处工程中用到。
gclient
gclient根据.gclient配置文件决定下载哪些文件。 根据DEPS决定执行哪些动作。
GYP
维基百科的解释:
GYP (Generate Your Projects) is a build automation tool. GYP is created by Google 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[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 include the V8 Javascript engine,[2] Google's web browser (Chrome), Dart (programming language), Node.js,[3] WebRTC[4] and Electron.[5]
https://en.wikipedia.org/wiki/GYP_%28software%29
gyp我的理解就是它就是规定了编译哪些文件,产生哪些模块。具体到某个平台,就根据它来生成编译文件。
ninja
他相当于Linux的make,.ninja相当于Makefile
-----------------------------------------
留着以后更新