From d5500197464bd1caae7414f15cdfa79df69b5241 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowski Date: Wed, 19 Oct 2016 18:35:18 -0700 Subject: 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 --- build/BUILD.gn | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'build/BUILD.gn') 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/", ] } -- cgit v1.2.3