Do not manage depot_tools as a submodule anymore

This commit is contained in:
Axel Isouard 2017-03-12 12:38:19 +01:00
parent 638022675f
commit b565920acb
No known key found for this signature in database
GPG key ID: 4E64BB3EAAF31C29
3 changed files with 8 additions and 10 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "depot_tools"]
path = depot_tools
url = https://chromium.googlesource.com/chromium/tools/depot_tools.git

View file

@ -65,7 +65,7 @@ supported platforms and architectures.
### Debian & Ubuntu ### Debian & Ubuntu
Install the required development packages Install the required development packages:
``` ```
# apt-get install build-essential libglib2.0-dev libgtk2.0-dev libxtst-dev \ # apt-get install build-essential libglib2.0-dev libgtk2.0-dev libxtst-dev \
@ -96,15 +96,12 @@ Install the required development packages
## Compiling ## Compiling
Clone the repository, initialize the submodules if `depot_tools` is not Clone the repository, create an output directory, browse inside it,
installed on your system or not defined inside your `PATH` environment variable. then run CMake.
Create an output directory, browse inside it, then run CMake.
``` ```
$ git clone https://github.com/aisouard/libwebrtc.git $ git clone https://github.com/aisouard/libwebrtc.git
$ cd libwebrtc $ cd libwebrtc
$ git submodule init
$ git submodule update
$ mkdir out $ mkdir out
$ cd out $ cd out
$ cmake .. $ cmake ..
@ -172,6 +169,11 @@ perform cross-compiling.
Defaults to OFF, will define the `component_build` gn argument to `true` if Defaults to OFF, will define the `component_build` gn argument to `true` if
enabled. This option will build a shared library instead of a static one. enabled. This option will build a shared library instead of a static one.
- **DEPOT_TOOLS_PATH**
Set this variable to your own `depot_tools` directory. This will prevent
CMake from fetching the one matching with the desired WebRTC revision.
- **NINJA_ARGS** - **NINJA_ARGS**
Arguments to pass while executing the `ninja` command. For instance, you can Arguments to pass while executing the `ninja` command. For instance, you can

@ -1 +0,0 @@
Subproject commit 33e88a4e19aa1eb306fe66431e8b0621773eb66c