Build support and abstractions for Linux build
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
Showing
- BUILD.gn 41 additions, 21 deletionsBUILD.gn
- system/audio_hal_interface/BUILD.gn 36 additions, 0 deletionssystem/audio_hal_interface/BUILD.gn
- system/bta/include/bta_hearing_aid_api.h 1 addition, 0 deletionssystem/bta/include/bta_hearing_aid_api.h
- system/btcore/BUILD.gn 3 additions, 5 deletionssystem/btcore/BUILD.gn
- system/btif/BUILD.gn 21 additions, 12 deletionssystem/btif/BUILD.gn
- system/common/BUILD.gn 4 additions, 7 deletionssystem/common/BUILD.gn
- system/embdrv/g722/BUILD.gn 3 additions, 0 deletionssystem/embdrv/g722/BUILD.gn
- system/gd/Android.bp 0 additions, 1 deletionsystem/gd/Android.bp
- system/gd/BUILD.gn 101 additions, 9 deletionssystem/gd/BUILD.gn
- system/gd/att/BUILD.gn 22 additions, 0 deletionssystem/gd/att/BUILD.gn
- system/gd/common/BUILD.gn 3 additions, 8 deletionssystem/gd/common/BUILD.gn
- system/gd/common/bind.h 0 additions, 1 deletionsystem/gd/common/bind.h
- system/gd/common/init_flags.h 2 additions, 0 deletionssystem/gd/common/init_flags.h
- system/gd/crypto_toolbox/BUILD.gn 24 additions, 0 deletionssystem/gd/crypto_toolbox/BUILD.gn
- system/gd/crypto_toolbox/aes_cmac.cc 2 additions, 0 deletionssystem/gd/crypto_toolbox/aes_cmac.cc
- system/gd/crypto_toolbox/crypto_toolbox.h 3 additions, 1 deletionsystem/gd/crypto_toolbox/crypto_toolbox.h
- system/gd/hal/BUILD.gn 29 additions, 0 deletionssystem/gd/hal/BUILD.gn
- system/gd/hci/BUILD.gn 1 addition, 4 deletionssystem/gd/hci/BUILD.gn
- system/gd/l2cap/BUILD.gn 60 additions, 0 deletionssystem/gd/l2cap/BUILD.gn
- system/gd/neighbor/BUILD.gn 30 additions, 0 deletionssystem/gd/neighbor/BUILD.gn
Loading
Please register or sign in to comment