diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2016-02-22 18:04:24 -0800 |
---|---|---|
committer | Jakub Pawlowski <jpawlowski@google.com> | 2016-02-24 11:40:26 -0800 |
commit | d7a05a0c5bead54b50a70ffe50d3f371a57ae7ff (patch) | |
tree | 4d41b93c6ba3aa226bc9cac4a5e05213e9ce7282 /build/BUILD.gn | |
parent | 45d129394a71a112e28567f47faf89d365bca0a0 (diff) | |
download | bt-d7a05a0c5bead54b50a70ffe50d3f371a57ae7ff.tar.gz |
Update build files for Fluoride on Linux
uprev build/secondary/third_party/**/BUILD.gn"
Other BUILD.gn files were updated to match current state of project.
Change-Id: Ie895d25680d510f5e69e6f15553311f6671cdce3
Diffstat (limited to 'build/BUILD.gn')
-rw-r--r-- | build/BUILD.gn | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/build/BUILD.gn b/build/BUILD.gn index fb20a34f6..eae173727 100644 --- a/build/BUILD.gn +++ b/build/BUILD.gn @@ -18,16 +18,22 @@ declare_args() { # Include path for hardware/bluetooth.h libhw_include_path = "" core_include_path = "" + audio_include_path = "" } config("default_include_dirs") { # TODO(armansito): Remove "core_include_path" once the cutils includes have # been removed. - assert(libhw_include_path != "", "libhardware_include_path build argument wasn't provided.") - assert(core_include_path != "", "core_include_path build argument wasn't provided.") + assert(libhw_include_path != "", + "libhardware_include_path build argument wasn't provided.") + assert(core_include_path != "", + "core_include_path build argument wasn't provided.") + assert(audio_include_path != "", + "audio_include_path build argument wasn't provided.") include_dirs = [ libhw_include_path, core_include_path, + audio_include_path, ] } @@ -35,8 +41,9 @@ config("linux") { # TODO(keybuk): AndroidConfig.h or equivalent cflags = [ - "-Wall", - "-Werror", + #TODO(jpawlowski): uncomment once we have no warnings on linux build + # "-Wall", + # "-Werror", "-g", "-O0", "-fpic", @@ -45,9 +52,7 @@ config("linux") { "-fvisibility=hidden", ] - cflags_c = [ - "-std=c99" - ] + cflags_c = [ "-std=c99" ] cflags_cc = [ "-std=c++11", @@ -60,6 +65,8 @@ config("linux") { "HAS_NO_BDROID_BUILDCFG", "LOG_NDEBUG=1", "EXPORT_SYMBOL=__attribute__((visibility(\"default\")))", + "PROPERTY_VALUE_MAX=256", + "KERNEL_MISSING_CLOCK_BOOTTIME_ALARM=TRUE", # This is a macro to that can be used by source code to detect if the # current build is done by GN or via Android.mk. This is a temporary |