Key Words: Ninja installation, compiling IOS-WEBRTC
I. Installation of Ninja (Iv.)
To install Ninja. Pre-installation of Graphviz and its development library gtest,git, RE2C, and Python are required
1.1 Mac Terminal Installation RE2C
Download the installation package à unzip the installation package (requires prior installation of XZ)
À enters that unpacked directory À./configureàmakeàmake install
1.2 Compile Ninja again
After the installation of RE2C, again compiled ninja, it is not reported as follows warning.
WARNING:A compatible version of RE2C (>= 0.11.3) is not found; Changes to src/*.in.cc won't affect your build.
Instead, the following results are given:
Localhost:ninja dianzhi$ python bootstrap.py
Deprecated:this script would be deleted.
Use "configure.py--bootstrap" instead.
Bootstrapping Ninja ...
Wrote Build.ninja.
Bootstrap complete. Rebuilding ...
[26/26] LINK Ninja
To this, NINJS installation, compilation complete.
second, compile IOS-WEBRTC
2.1 Official website
https://webrtc.org/native-code/ios/
Fetch--nohooks Webrtc_ios
Gclient Sync
This will capture a recurrent webrtc checkout and add the iOS portion. The same check out can be used for Mac and iOS development because you can generate your ninja engineering files in multiple catalogs (see below).
You may want to disable the focus index to speed up indexing of files.
Note: git stores the Coogan directory in SRC. Specific directory for (/APPLICATION/XQIOS/WEBRTC-CHECKOUT/SRC)
From here, you can check out a new local branch, which commands the following:
Git new-branch xq-webrtc-branch
Note: Xq-webrtc-branch is the name of the new branch and can be customized.
The results of the operation are as follows:
Note: But through LS, yyy is not found in this directory, I do not know why.
Thursday, December 6, 2016