Recent Commits RSS
Recently edited Tags
Branches
README.mdFluoride Bluetooth stackBuilding and running on AOSPJust build AOSP - Fluoride is there by default. Building and running on LinuxInstructions for Ubuntu, tested on 15.10 with GCC 5.2.1. Install required libraries
Install build tools
or download binary from https://github.com/ninja-build/ninja/releases
Get sha1 of current version from here and then download corresponding executable:
i.e. if sha1 is "3491f6687bd9f19946035700eb84ce3eed18c5fa" (value from 24 Feb 2016) do
Then make binary executable and put it on your PATH, i.e.:
Download source
Then fetch third party dependencies:
And third party dependencies of third party dependencies:
Fluoride currently has dependency on some internal Android projects, which also need to be downloaded. This will be removed in future:
Configure your buildWe need to configure some paths to make the build successful. Run:
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:iscomponentbuild = trueis_debug = falseSee "gn args --list" for available build arguments.libhwincludepath = "/home/job/fluoride/libhardware/include" coreincludepath = "/home/job/fluoride/core/include" audioincludepath = "/home/job/fluoride/media/audio/include" ``` Then generate your build files by calling
Build
This will build all targets (the shared library, executables, tests, etc) and put them in out/Default. To build an individual target, replace "all" with the target of your choice, e.g. Run
|