[M120 Migration] Fix invalid build macros used during migration. 78/318278/2
authorchenshurong <shurong.chen@samsung.com>
Thu, 26 Sep 2024 08:25:08 +0000 (16:25 +0800)
committerBot Blink <blinkbot@samsung.com>
Thu, 26 Sep 2024 09:34:07 +0000 (09:34 +0000)
defined(IS_TIZEN_TV) -> BUILDFLAG(IS_TIZEN_TV)

refer:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290828/

Change-Id: I3f5258a12ef8f4ab36ad5854fd3b3247d3ca916e
Signed-off-by: chenshurong <shurong.chen@samsung.com>
tizen_src/chromium_impl/ui/ozone/platform/efl/efl_keycode_map.h

index b8d8b729619130f817a4f497b00745ca613b1551..ba814e591deecd5dede4088f7634f4bbde9ff75c 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <unordered_map>
 
-#if defined(IS_TIZEN_TV)
+#if BUILDFLAG(IS_TIZEN_TV)
 #include "tizen_src/chromium_impl/tizen/system_info.h"
 #include "tizen_src/ewk/efl_integration/common/application_type.h"
 #endif
@@ -512,7 +512,7 @@ static ui::KeyboardCode UIKeyCodeFromEflKey(const char* key) {
       {"Z", ui::VKEY_Z},
   });
 
-#if defined(IS_TIZEN_TV)
+#if BUILDFLAG(IS_TIZEN_TV)
   if (IsTvProfile() && (content::IsTIZENWRT() || content::IsHbbTV())) {
     // WRT/HbbTV use 2 different key codes
     if (strcmp(key, "Select") == 0)