summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
author Sonny Sasaka <sonnysasaka@google.com> 2021-04-07 16:15:00 -0700
committer Sonny Sasaka <sonnysasaka@google.com> 2021-04-09 14:22:30 -0700
commit44a69f1bb6f32d0034a99be0953ea76cd905d3ae (patch)
tree3bbe0eca0d5681239ad69bb4f35e3a46dc8cf5a0 /README.md
parenta244f820a23f4ff17e5020b1c3e3562d91e6bdb4 (diff)
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
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 16 insertions, 4 deletions
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