diff options
author | Arman Uguray <armansito@google.com> | 2015-07-08 15:47:39 -0700 |
---|---|---|
committer | Arman Uguray <armansito@google.com> | 2015-07-22 18:29:44 -0700 |
commit | f2d6434a6b7ad98e20c7a601d2a0950237514837 (patch) | |
tree | c8847d101c5d679429d6874789e809dd88e48676 /BUILD.gn | |
parent | fd4745ec554a95ea98230fcede779421ad89e363 (diff) | |
download | bt-f2d6434a6b7ad98e20c7a601d2a0950237514837.tar.gz |
gn-build: Add bluetooth-service target
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
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,4 +1,5 @@ # +# # Copyright (C) 2015 Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,5 +25,7 @@ group("bluetooth") { deps = [ "//main:bluetooth.default", + "//service:bluetoothtbd", + "//vendor_libs:vendor-libs" ] } |