[Issue#] N/A
[Problem] Build break in Profiling build type.
[Cause] Profiling API not adjusted to C language (e.g. bool type).
[Solution] Fix build break.
[Verification] Build repository with following command:
$ gbs build -A armv7l --define 'build_type Profiling'
Change-Id: I5a0338353607250a757ff45bd42d44c5dd363b66
SET_TARGET_PROPERTIES(${TARGET_WRT_ENGINE_STATIC} PROPERTIES
COMPILE_FLAGS "-include profiling_util.h")
SET_TARGET_PROPERTIES(${TARGET_WRT_ENGINE_STATIC} PROPERTIES
COMPILE_FLAGS "-include profiling_util.h")
-TARGET_LINK_LIBRARIES(${TARGET_WRT_ENGINE_STATIC}
- ${PROF_LIB}
- )
-
INSTALL(FILES
${WRT_SRC_DIR}/domain/widget_model.h
DESTINATION include/${PROJECT_NAME}
INSTALL(FILES
${WRT_SRC_DIR}/domain/widget_model.h
DESTINATION include/${PROJECT_NAME}
fprintf(stdout, "%s\n", output.str().c_str());
}
fprintf(stdout, "%s\n", output.str().c_str());
}
void AddProfilingMeasurment(const char* name,
const char* prefix,
const char* description)
void AddProfilingMeasurment(const char* name,
const char* prefix,
const char* description)
+#ifndef __cplusplus
+#include <stdbool.h>
+#endif //__cplusplus
+
#ifdef __cplusplus
extern "C"
void AddProfilingMeasurment(const char* name,
#ifdef __cplusplus
extern "C"
void AddProfilingMeasurment(const char* name,
${CLIENT_DEP_LIBRARIES}
${TARGET_CORE_MODULE_LIB}
${SMACK_LABELING_SUPPORT_STATIC}
${CLIENT_DEP_LIBRARIES}
${TARGET_CORE_MODULE_LIB}
${SMACK_LABELING_SUPPORT_STATIC}