Fix up files to compile on Linux
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
Showing
- BUILD.gn 134 additions, 7 deletionsBUILD.gn
- system/bta/BUILD.gn 36 additions, 29 deletionssystem/bta/BUILD.gn
- system/btcore/BUILD.gn 16 additions, 9 deletionssystem/btcore/BUILD.gn
- system/btif/BUILD.gn 34 additions, 28 deletionssystem/btif/BUILD.gn
- system/btif/avrcp/avrcp_service.h 1 addition, 0 deletionssystem/btif/avrcp/avrcp_service.h
- system/common/BUILD.gn 19 additions, 13 deletionssystem/common/BUILD.gn
- system/device/BUILD.gn 20 additions, 13 deletionssystem/device/BUILD.gn
- system/embdrv/sbc/BUILD.gn 6 additions, 2 deletionssystem/embdrv/sbc/BUILD.gn
- system/gd/proto/BUILD.gn 10 additions, 0 deletionssystem/gd/proto/BUILD.gn
- system/gd/rust/shim/BUILD.gn 13 additions, 6 deletionssystem/gd/rust/shim/BUILD.gn
- system/hci/BUILD.gn 26 additions, 20 deletionssystem/hci/BUILD.gn
- system/include/array_utils.h 20 additions, 0 deletionssystem/include/array_utils.h
- system/include/hardware/ble_scanner.h 2 additions, 1 deletionsystem/include/hardware/ble_scanner.h
- system/main/BUILD.gn 47 additions, 44 deletionssystem/main/BUILD.gn
- system/osi/BUILD.gn 20 additions, 13 deletionssystem/osi/BUILD.gn
- system/packet/BUILD.gn 7 additions, 6 deletionssystem/packet/BUILD.gn
- system/packet/base/packet.h 2 additions, 1 deletionsystem/packet/base/packet.h
- system/profile/avrcp/BUILD.gn 7 additions, 7 deletionssystem/profile/avrcp/BUILD.gn
- system/service/BUILD.gn 26 additions, 19 deletionssystem/service/BUILD.gn
- system/service/avrcp_target.cc 2 additions, 1 deletionsystem/service/avrcp_target.cc
Loading
Please register or sign in to comment