fixup! fixup! Enable content shell with aura for desktop 95/289095/2
authorGajendra N <gajendra.n@samsung.com>
Wed, 1 Mar 2023 04:57:36 +0000 (10:27 +0530)
committerGajendra N <gajendra.n@samsung.com>
Wed, 1 Mar 2023 05:32:49 +0000 (11:02 +0530)
The fixup commit 6ec053 caused linker error on desktop build.
It seems for deskop version, tls_model type 'initial-exec' is
suitable. This patch makes necessary changes to handle both profiles.

Change-Id: I2de65051f01a2c9d9444450fa0a5bb301ea85a71
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
third_party/blink/renderer/platform/heap/thread_local.h

index 6993877..0cfab88 100644 (file)
@@ -36,7 +36,7 @@
 #if BLINK_HEAP_HIDE_THREAD_LOCAL_IN_LIBRARY
 #define BLINK_HEAP_THREAD_LOCAL_MODEL "local-dynamic"
 #else
-#if BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_WIN) || (BUILDFLAG(IS_EFL) && !BUILDFLAG(IS_TIZEN))
 #define BLINK_HEAP_THREAD_LOCAL_MODEL "initial-exec"
 #elif BUILDFLAG(IS_ANDROID)
 #define BLINK_HEAP_THREAD_LOCAL_MODEL "local-dynamic"