[M108 Migration][WRTjs] Use BUILDFLAG(IS_XXX) for OS checking 82/289482/2
authorzhaosy <shiyusy.zhao@samsung.com>
Thu, 9 Mar 2023 00:04:59 +0000 (08:04 +0800)
committerzhao shiyu <shiyusy.zhao@samsung.com>
Thu, 9 Mar 2023 08:11:24 +0000 (08:11 +0000)
commitbac9fab87a08b2d8e331e863b1e14e7b415ea1b3
tree9399f337923f93e33218bd4a4ea2f8f10f20cca7
parentcb45d4c10b8de2cae7f7fa37eea5c3b05d6363a3
[M108 Migration][WRTjs] Use BUILDFLAG(IS_XXX) for OS checking

This patch replaces all occurances of defined(OS_XXX) with
BUILDFLAG(IS_XXX) as per upstream changes mentioned in [1].

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1234043

Below efl/tizen build flags are replaced:

USE_EFL -> IS_EFL
OS_TIZEN -> IS_TIZEN
OS_TIZEN_TV_PRODUCT -> IS_TIZEN_TV

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

Change-Id: I387487f030919116dee9210261f23b215b6c4b60
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
content/common/zygote/zygote_communication_linux.cc
electron/shell/browser/api/electron_api_web_contents.cc
electron/shell/browser/electron_browser_main_parts.cc