google构建工程的工具集

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


-----------------------------------------

留着以后更新

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值