i want add pre-processor definition in android project globally. in android, add modifications this:
#ifdef vendor_edit //zhiquan.huang@mmapp.camera, 2013/07/11 add hello module register_android_server_helloservice(env); #endif/* vendor_edit */
i don't know add vendor_edit
macro in android build system, can me?
thx
you need add declaration common_global_cflags
, common_global_cppflags
in build/core/config.mk add below line in config.mk or device specific make file.
common_global_cflags+=-dvendor_edit common_global_cppflags+=-dvendor_edit
Comments
Post a Comment