diff options
author | 2021-04-10 00:41:07 +0000 | |
---|---|---|
committer | 2021-04-23 18:34:02 +0000 | |
commit | d801b120b2c8027ca67b86c60408719d40849c09 (patch) | |
tree | f6a8621234e82c7aeea3bed918b628fb59bbf15c /BUILD.gn | |
parent | 800130a4eaa47af9c600a05fb541478e01f018e2 (diff) |
Additional changes for Linux build
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
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -104,7 +104,9 @@ config("target_defaults") { "-Wno-final-dtor-non-final-class", ] - cflags_cc = [ "-std=c++17" ] + cflags_cc = [ + "-std=c++17", + ] defines = [ "HAS_NO_BDROID_BUILDCFG", @@ -116,7 +118,7 @@ config("target_defaults") { # If not configured as a dynamic library, default to static library if (!(defined(use.bt_dynlib) && use.bt_dynlib)) { - defines = [ + defines += [ "STATIC_LIBBLUETOOTH", ] } |