aboutsummaryrefslogtreecommitdiff
path: root/build/BUILD.gn
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2016-10-19 18:35:18 -0700
committerJakub Pawlowski <jpawlowski@google.com>2016-10-20 01:45:03 +0000
commitd5500197464bd1caae7414f15cdfa79df69b5241 (patch)
tree173d4d3a085fbf44f10566667fee87b637422fa3 /build/BUILD.gn
parentb55040cc6448a8847490da807d2b6362aa8cb8d9 (diff)
downloadbt-d5500197464bd1caae7414f15cdfa79df69b5241.tar.gz
Move libhardware dependency to third_party folder on Linux
Thanks to this change we no longer have to configure paths by hand Test: build with ninja Change-Id: I04dfaa8f16e52a25efcc241019bae40d4201fb8b
Diffstat (limited to 'build/BUILD.gn')
-rw-r--r--build/BUILD.gn11
1 files changed, 1 insertions, 10 deletions
diff --git a/build/BUILD.gn b/build/BUILD.gn
index c86e40764..ebebf3d66 100644
--- a/build/BUILD.gn
+++ b/build/BUILD.gn
@@ -14,18 +14,9 @@
# limitations under the License.
#
-declare_args() {
- # Include path for hardware/bluetooth.h
- libhw_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.")
include_dirs = [
- libhw_include_path,
+ "//third_party/libhardware/include/",
]
}