android
Android bp cflags 위치
easy16
2019. 9. 24. 09:56
path : system/bt/build/BUILD.gn
cflags_cc = [
#TODO(jpawlowski): we should use same c++ version as Android, which is c++11,
# but we use some c++14 features. Uncomment when this get fixed in code.:
"-std=c++14",
"-fno-exceptions",
"-fpermissive",
]
defines = [
"_FORTIFY_SOURCE=2",
"_GNU_SOURCE",
"HAS_NO_BDROID_BUILDCFG",
"LOG_NDEBUG=1",
"EXPORT_SYMBOL=__attribute__((visibility(\"default\")))",
"KERNEL_MISSING_CLOCK_BOOTTIME_ALARM=TRUE",
# This is a macro to that can be used by source code to detect if the
# current build is done by GN or via Android.mk. This is a temporary
# workaround until we can remove all Android-specific dependencies.
"OS_GENERIC",
]
}
출처 : AOSP