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
'android' 카테고리의 다른 글
voice search later Android P (0) | 2019.09.26 |
---|---|
Simple requestPermission (0) | 2019.09.26 |
LOCAL_SDK_VERSION and LOCAL_PRIVATE_PLATFORM_APIS (0) | 2019.09.18 |
Build error : X (java:sdk) should not link to Y (java:platform) (0) | 2019.09.18 |
alert dialog 생성 시, 주의 (0) | 2019.09.02 |