- Jul 14, 2022
-
-
Michael Sun authored
Update the Floss build process to utilize the new GN flag target_os and environmental variable TARGET_OS_VARIENT to include libstructuredmetrics when building for ChromeOS. Correct GN syntaxes. BUG: 232098615 Tag: #floss Test: ./build.py --target test Test: emerge-${BOARD} floss Change-Id: I0bf960751643f12f7e1ef03c7aa844d112fbb5d5
-
- Nov 19, 2021
-
-
Abhishek Pandit-Subedi authored
On cross-compiles, the main build was failing because //bt:tools was dependending on //bt/system:tools which doesn't exist on cross-compile builds. Thus, move the condition to //bt:tools instead. Bug: 201687614 Tag: #floss Test: emerge-arm-generic floss on ChromeOS Change-Id: I915ef8f8fa80f4642972a9aec960b428c581360d
-
- Nov 12, 2021
-
-
Abhishek Pandit-Subedi authored
Ran a sed rule to replace most instances of //bt to //bt/system in all BUILD.gn and *.gni files. Also made some manual changes to include directories using packetgen and dumpsys to include bt/system/gd instead of just bt/gd. Added a new BUILD.gn at root that just points to system/BUILD.gn. On the Rust side, updated the Cargo.toml paths and build.rs includes for topshim. Bug: 205591223 Test: Run `./build.py` Tag: #floss Change-Id: Ib6b9b991f140742d765a1031c8f4085aba9ce552
-
Abhishek Pandit-Subedi authored
This reverts commit ddd429fe. As it turns out, we will need to change //bt to //bt/system after all because the ChromeOS ebuild can't easily handle the subdirectory change otherwise. Bug: 205591223 Test: Run `./build.py` Tag: #floss Change-Id: I620221cb589712dfc1f84c7ea87a175634a86250
-
- Nov 08, 2021
-
-
Martin Brabham authored
Bug: 205591223 Test: Run `./build.py` Tag: #floss Change-Id: Ibc75b1e171013a24826c8b5f5cbc7b8fbf605547
-
- Jun 14, 2021
-
-
Abhishek Pandit-Subedi authored
Due to the use of multiple build systems, link dependencies between C++ and Rust where C++ does the final linking will fail. Until we have full Bazel build, we can't enable these tests again. Bug: 190750167 Tag: #floss Test: Build for Linux Change-Id: Iadd7dafe9635f606c2289eb246e3e2eb4931e92c
-
- Jun 01, 2021
-
-
Hansong Zhang authored
Separate hci_hal_host (linux socket-based) and rootcanal implementation, since they are different. We get an entire packet through linux socket, but we get a tcp stream from rootcanal, so handling of the incoming packets are different. Fix the crash when we block at reading HCI reset response. Test: run gd on chrome os Tag: #stability Bug: 181909671 Change-Id: I194744e61cf20f003a117405a20570a94382bce6
-
- May 03, 2021
-
-
Abhishek Pandit-Subedi authored
Rather than using C++ binaries to link with Rust staticlib, we do it the other way around. This allows us to write our dbus frontend with Rust instead. Bug: 179821440 Tag: #floss Test: atest --host bluetooth_test_gd Change-Id: I63037e0aaea152a4855e0a49971c1b2f9c312ac5
-
Abhishek Pandit-Subedi authored
OS_GENERIC is used for host tests and Linux builds but it unfortunately puts everything at the current working directory. Add a TARGET_FLOSS define so that we can put them at absolute locations (i.e. /etc/bluetooth). Bug: 186442862 Tag: #floss Test: atest --host bluetooth_test_gd Change-Id: I1c9aaacd1b36b80523437b050d2232b7e5bba47c
-
- Apr 23, 2021
-
-
Abhishek Pandit-Subedi authored
While building for Linux on cloudtop, a few more problems were identified in the build. There were a couple of missing #include and some incomplete struct definitions in btm_int_types.h. Also put statslog.h behind an #ifdef OS_ANDROID. Bug: 184975659 Tag: #floss Test: atest --host bluetooth_test_gd Change-Id: Ic2272a3acfa66259e692db280b48b4ddadff2171
-
- Mar 04, 2021
-
-
Abhishek Pandit-Subedi authored
Move the dependency to use the target included in //external/proto_logging instead. This will be provided via cros_workon for ChromeOS and in the prepared platform-dir for Linux build. Bug: 176847256 Tag: #floss Test: atest --host bluetooth_test_gd Change-Id: I86da8ca8e7b666ccdc4cc36680f90083bbe76dfb
-
Abhishek Pandit-Subedi authored
For ChromeOS/Linux, we want to build a static libbluetooth to make it easier to find build breakages earlier and to simplify some of the build issues. This change adds a compile time define to choose between using dlsym to load libbluetooth and using extern to access the symbols directly. Bug: 176847256 Tag: #floss Test: atest --host bluetooth_test_gd Change-Id: I818c0f4a7baf414e73dc6f6ae73bb3e3bc3f357f
-
Abhishek Pandit-Subedi authored
This has a large number of fixes to build on Linux/ChromeOS. In general, it is making sure the BUILD.gn and Android.bp for a directory structure match and it has all the configs + deps needed to build. Besides a number of simple fixups (missing headers), there are also a few abstractions that need to be noted: * All of audio HAL is stubbed out (using the host implementation) * Parameter provider and system_properties (under gd/os) now have a linux variant that changes where configuration files are kept. The current location for linux is now /etc/systembt. This implementation was copied from the host versions (which seems to be used for host testing). Bug: 176847256 Tag: #floss Test: atest --host bluetooth_test_gd Change-Id: I1a6b3b362cedbe5f675794a115a330cc7f85f9c1
-
- Feb 24, 2021
-
-
Sonny Sasaka authored
This adds GN builds for main/shim, along the way adding some fixes: * Add message_loop_thread_bridge_header to use Rust's message loop * Add some missing includes * Build files for dumpsys * Add gd/hci gn build Bug: 176847216 Tag: #refactor Test: atest --host bluetooth_test_common Change-Id: Ide1edbb70076c4dcc4a4e6ee41303a9e315d52af
-
- Feb 05, 2021
-
-
Sonny Sasaka authored
* Add missing GN files * Move test targets under use.test * Move non-standard codec targets under use.bt_nonstandard_codecs * Add missing source files Bug: 177961465 Tag: #refactor Test: atest --host bluetooth_test_common Change-Id: Ib7ba2705b2fd53d4c4d87916e99f35e7fce6c98e
-
- Feb 01, 2021
-
-
Abhishek Pandit-Subedi authored
Fix up all the .gn files so that they will compile on Linux. In order to compile with GN, there is a new dependency on common-mk (currently part of chromiumos/platform2) and most third-party libraries now use pkg-config to include and link. As a result, all build paths are prefixed with //bt now. In addition, also disable building non standard codecs temporarily (i.e. ldac, aptx, aac). We will add a way to enable them via build flags later but we're disabling them entirely for now. Bug: 176847216 Bug: 176846220 Tag: #refactor Test: run --host bluetooth_test_gd Test: run --host bluetooth_test_common Change-Id: I85e5f8bd64c9ad074537cdd1393d373d5644aca0
-
- Jan 10, 2019
-
-
Jack He authored
* Health Device Profile (HDP) and MCAP protocol has been largely replaced by BLE. New applications should use Bluetooth Low Energy instead of legacy Bluetooth Health Device Profile Bug: 111562841 Test: make, unit test, use Bluetooth Change-Id: I3da1173a8a928af4b26a29e71746241c22af2236 Merged-In: I3da1173a8a928af4b26a29e71746241c22af2236 (cherry picked from commit 8e5dff56)
-
- Jan 05, 2019
-
-
Jack He authored
* Health Device Profile (HDP) and MCAP protocol has been largely replaced by BLE. New applications should use Bluetooth Low Energy instead of legacy Bluetooth Health Device Profile Bug: 111562841 Test: make, unit test, use Bluetooth Change-Id: I3da1173a8a928af4b26a29e71746241c22af2236
-
- Oct 23, 2017
-
-
Jakub Pawlowski authored
Test: Comment changes only; still compiles... Change-Id: Id699a8170112f06e4a2c9f2e0f0834d1817ace4e
-
- Oct 20, 2017
-
-
Jakub Pawlowski authored
Also rename the build goal for both the library. Bug: 67853426 Test: run Bluetooth Change-Id: Ic5bd27f10ade0b068057049dd98c09e082cafee1
-
- May 25, 2017
-
-
Jack He authored
* Add a command line tool for MCAP related tests * This tool can access the Bluetooth stack via a command line program * Type "help" to obtain a list of available console commands in this Bluetooth * Bluetooth must be disabled when this tool is running Bug: 37867299 Test: make, PTS MCAP test Change-Id: I106e6625ee8a29b7fdad88cdfeb99419054ef771
-
- Apr 11, 2017
-
-
Jakub Pawlowski authored
Test: manual Change-Id: I5c86e96b9bb1cee5b535ea1fa6ba0b6d078a9b09 (cherry picked from commit 17f449dab52a6092422a0405e6fe589488661594)
-
- Apr 10, 2017
-
-
Jakub Pawlowski authored
Test: manual Change-Id: I5c86e96b9bb1cee5b535ea1fa6ba0b6d078a9b09
-
- Mar 25, 2016
-
-
Jakub Pawlowski authored
uprev build/secondary/third_party/**/BUILD.gn" Other BUILD.gn files were updated to match current state of project. Change-Id: Ie895d25680d510f5e69e6f15553311f6671cdce3
-
- Feb 24, 2016
-
-
Jakub Pawlowski authored
uprev build/secondary/third_party/**/BUILD.gn" Other BUILD.gn files were updated to match current state of project. Change-Id: Ie895d25680d510f5e69e6f15553311f6671cdce3
-
- Nov 04, 2015
-
-
Marie Janssen authored
This makes net_test_bluetooth compile. Bug: 21584091 Change-Id: Id0c3d6bdcfd6f2c75c749e7f5a306645371fbb25
-
- Aug 04, 2015
-
-
Dennis Cheng authored
HciTransport checks for write-readiness before sending any packets back to the HCI. Packets are maintained on a queue and only written when the EPOLLOUT flag is set in the epoll_event. Bug: 21586676 Change-Id: Iebd9599286b62746e2be7e424c522058ae978bb1
-
- Jul 23, 2015
-
-
Arman Uguray authored
This patch makes the Bluetooth system service (service/) buildable using GN: 1. Added new BUILD.gn file for service/ 2. Added conditional compilation for global config paths, with TODOs for generalizing them later. 3. Added a shim for loading the Bluetooth library that calls hw_get_module on Android and explicitly calls dlopen on OS_GENERIC. 4. Fixed compile warnings and errors. 5. Did some minor clean up in gatt_server.cpp for better readability. Bug: 22124644 Change-Id: I3226537a3a5211a6762651a35707638df29956b0
-
- May 26, 2015
-
-
Arman Uguray authored
BUG=21339022 Change-Id: I946fad7bf8116054f9081e064748793e79a6f85a
-
- May 12, 2015
-
-
Scott James Remnant authored
BUG=20491586
-