From b565920acb47ae31a9e1385382730c90f241d405 Mon Sep 17 00:00:00 2001 From: Axel Isouard Date: Sun, 12 Mar 2017 12:38:19 +0100 Subject: [PATCH] Do not manage depot_tools as a submodule anymore --- .gitmodules | 3 --- README.md | 14 ++++++++------ depot_tools | 1 - 3 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 .gitmodules delete mode 160000 depot_tools diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e2c4ddd..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "depot_tools"] - path = depot_tools - url = https://chromium.googlesource.com/chromium/tools/depot_tools.git diff --git a/README.md b/README.md index 701570f..4c9bef1 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ supported platforms and architectures. ### 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 \ @@ -96,15 +96,12 @@ Install the required development packages ## Compiling -Clone the repository, initialize the submodules if `depot_tools` is not -installed on your system or not defined inside your `PATH` environment variable. -Create an output directory, browse inside it, then run CMake. +Clone the repository, create an output directory, browse inside it, +then run CMake. ``` $ git clone https://github.com/aisouard/libwebrtc.git $ cd libwebrtc -$ git submodule init -$ git submodule update $ mkdir out $ cd out $ cmake .. @@ -172,6 +169,11 @@ perform cross-compiling. 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. +- **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** Arguments to pass while executing the `ninja` command. For instance, you can diff --git a/depot_tools b/depot_tools deleted file mode 160000 index 33e88a4..0000000 --- a/depot_tools +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 33e88a4e19aa1eb306fe66431e8b0621773eb66c