Add debug symbols in host build
BZ: 126002
Host build is used for testing and debugging purpose.
It shall contain debug symbols and shall no be optimized.
This patch add required compilation flags to achieve this.
Change-Id: I6dec6166ca4c705a3ccc7a9ddd6f5a955a91f910
Signed-off-by: Renaud de Chivre <renaud.de.chivre@intel.com>
Reviewed-on: http://android.intel.com:8080/131570
Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
diff --git a/parameter/Android.mk b/parameter/Android.mk
index a4be419..9eff6f0 100644
--- a/parameter/Android.mk
+++ b/parameter/Android.mk
@@ -149,7 +149,7 @@
LOCAL_COPY_HEADERS_TO := $(common_copy_headers_to)
LOCAL_COPY_HEADERS := $(common_copy_headers)
-LOCAL_CFLAGS := $(common_cflags)
+LOCAL_CFLAGS := $(common_cflags) -O0 -ggdb
LOCAL_SRC_FILES := $(common_src_files)