From 44a69f1bb6f32d0034a99be0953ea76cd905d3ae Mon Sep 17 00:00:00 2001 From: Sonny Sasaka Date: Wed, 7 Apr 2021 16:15:00 -0700 Subject: Add scripts to generate Debian packages of Fluoride dependencies To build Fluoride on Linux, there are dependencies that are not usually provided by Linux package managers. This patch adds libchrome and modp_b64 package generators to make building them easier on Debian-based distros. Bug: 179821440 Tag: #floss Test: None Change-Id: I93c6583d58635c65dbfbeea2ff556f09585225d5 --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 38d2e2ebc1..6b90075a91 100644 --- a/README.md +++ b/README.md @@ -49,12 +49,24 @@ The following third-party dependencies are necessary but currently unavailable via a package manager. You may have to build these from source and install them to your local environment. -TODO(abhishekpandit) - Provide a pre-packaged option for these or proper build -instructions from source. - * libchrome * modp_b64 -* tinyxml2 + +We provide a script to produce debian packages for those components, please +follow the instructions in build/dpkg/README.txt. + +The googletest packages provided by Debian/Ubuntu (libgmock-dev and +libgtest-dev) do not provide pkg-config files, so you can build your own +googletest using the steps below: + +``` +$ git clone https://github.com/google/googletest.git -b release-1.10.0 +$ cd googletest # Main directory of the cloned repository. +$ mkdir build # Create a directory to hold the build output. +$ cd build +$ cmake .. # Generate native build scripts for GoogleTest. +$ sudo make install -DCMAKE_INSTALL_PREFIX=/usr +``` ### Stage your build environment -- cgit v1.2.3-59-g8ed1b