build - Adding a compiler flag to only one file in Android.mk -
i have android.mk file has number of files local_cflags applied them. apply different flag 1 of files out of many. how can accomplished?
i searched net android perspective, didn't find whole lot. considering next illustration apply flag test3
file test3.c
only. looked @ per-file cppflags in android.mk, couldn't find far how utilize private_cppflags
1 file. ideas?
local_path := $(call my-dir) include $(clear_vars) local_module := test local_src_files := test1.c test2.c test3.c local_cflags := -dtest1_2_and_3 include $(build_shared_library)
build
No comments:
Post a Comment