user版本打印__FUNCTION__

Signed-off-by: WANGTAO <wangtao577@huawei.com>
This commit is contained in:
WANGTAO 2024-08-27 21:55:57 +08:00
parent c93467774a
commit 506addcce1

View File

@ -52,10 +52,6 @@ hash_sources = [
"src/common/transfer.h", "src/common/transfer.h",
] ]
if (build_variant == "user") {
cflags = [ "-DIS_RELEASE_VERSION" ]
}
if (hdc_support_uart) { if (hdc_support_uart) {
hdc_common_sources += [ "src/common/uart.cpp" ] hdc_common_sources += [ "src/common/uart.cpp" ]
} }
@ -117,6 +113,9 @@ template("hdcd_source_set") {
if (is_emulator) { if (is_emulator) {
defines += [ "HDC_EMULATOR" ] defines += [ "HDC_EMULATOR" ]
} }
if (build_variant == "user") {
defines += [ "IS_RELEASE_VERSION" ]
}
configs = [ ":hdc_config" ] configs = [ ":hdc_config" ]
deps = [] deps = []