[PATCH] Remove hardcoded ICU include paths.
Dmitry Shmidt
dimitrysh
Thu Jan 8 10:55:30 PST 2015
From: Narayan Kamath <narayan at google.com>
Date: Mon, 5 Jan 2015 11:39:15 +0000
Subject: [PATCH] Remove hardcoded ICU include paths.
ICU exports them using LOCAL_EXPORT_C_INCLUDE_DIRS.
bug: 18581021
Change-Id: I0a971ec93c529b9adb4056ba048eab09d96b6ff5
Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
---
hs20/client/Android.mk | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/hs20/client/Android.mk b/hs20/client/Android.mk
index 63cbc6f..2457e13 100644
--- a/hs20/client/Android.mk
+++ b/hs20/client/Android.mk
@@ -8,9 +8,12 @@ INCLUDES += external/openssl/include
INCLUDES += external/libxml2/include
INCLUDES += external/curl/include
INCLUDES += external/webkit/Source/WebKit/gtk
-ifneq ($(wildcard external/icu),)
-INCLUDES += external/icu/icu4c/source/common
-else
+
+# We try to keep this compiling against older platform versions.
+# The new icu location (external/icu) exports its own headers, but
+# the older versions in external/icu4c don't, and we need to add those
+# headers to the include path by hand.
+ifeq ($(wildcard external/icu),)
INCLUDES += external/icu4c/common
endif
.
--.
2.2.0.rc0.207.ga3a616c
More information about the Hostap
mailing list