diff options
author | 2016-10-19 18:35:18 -0700 | |
---|---|---|
committer | 2016-10-20 01:45:03 +0000 | |
commit | 64da92bb612cf1016738335c3daea9034cc781a2 (patch) | |
tree | 3ddb9c4f775de145b11513add112d4cebafa058c /README.md | |
parent | 914a9dcd336fc9477e5a7f363d0a3afacc25a324 (diff) |
Move libhardware dependency to third_party folder on Linux
Thanks to this change we no longer have to configure paths by hand
Test: build with ninja
Change-Id: I04dfaa8f16e52a25efcc241019bae40d4201fb8b
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 29 |
1 files changed, 2 insertions, 27 deletions
@@ -63,6 +63,7 @@ git clone https://github.com/google/googletest.git git clone https://android.googlesource.com/platform/external/libchrome git clone https://android.googlesource.com/platform/external/modp_b64 git clone https://android.googlesource.com/platform/external/tinyxml2 +git clone https://android.googlesource.com/platform/hardware/libhardware ``` And third party dependencies of third party dependencies: @@ -75,33 +76,7 @@ curl https://chromium.googlesource.com/chromium/src/base/+/master/third_party/va curl https://chromium.googlesource.com/chromium/src/base/+/master/third_party/valgrind/memcheck.h?format=TEXT | base64 -d > memcheck.h ``` -Fluoride currently has dependency on some internal Android projects, which also need to be downloaded. This will be removed in future: - -```sh -cd ~/fluoride -git clone https://android.googlesource.com/platform/hardware/libhardware -``` - -### Configure your build -We need to configure some paths to make the build successful. Run: - -```sh -cd ~/fluoride/bt -gn args out/Default -``` - -This will prompt you to fill the contents of your "out/Default/args.gn" file. Make it look like below. Replace "/home/job" with path to your home directory, and don't use "~" in build arguments: - -```sh -# Build arguments go here. Examples: -# is_component_build = true -# is_debug = false -# See "gn args <out_dir> --list" for available build arguments. - -libhw_include_path = "/home/job/fluoride/libhardware/include" -``` - -Then generate your build files by calling +### Generate your build files ```sh cd ~/fluoride/bt |