修改230的编译问题 2141/2 2141/head 2143/target/1
authorCaisking <Casiking@zhihuishixun.com>
Mon, 25 Aug 2025 03:12:26 +0000 (11:12 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Mon, 25 Aug 2025 03:12:26 +0000 (11:12 +0800)
code/sdk/zhihui/UI/producttest/src/testView.cpp

index 84ce48a..c227524 100644 (file)
@@ -1391,6 +1391,7 @@ namespace OHOS
                 }
             }
         }
+        #if defined(SUPPORT_GNSS)
         else if (testItem == "GPS")
         {
             if (test_GPS_view != nullptr)
@@ -1414,6 +1415,7 @@ namespace OHOS
                 }
             }
         }
+        #endif
         else if (testItem == "SE_Chip")
         {
             if (test_SEChip_view != nullptr)