Fix build errors for tizen sbs 66/320266/1
authorInsoon Kim <is46.kim@samsung.com>
Wed, 26 Feb 2025 03:32:06 +0000 (12:32 +0900)
committerInsoon Kim <is46.kim@samsung.com>
Wed, 26 Feb 2025 03:32:06 +0000 (12:32 +0900)
Change-Id: I30805996ce38755fbccf6c0f81ec5ff082b689b5
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
ui/accessibility/platform/BUILD.gn
v8/src/wasm/baseline/x64/liftoff-assembler-x64-inl.h

index 301a29333527a582893a6d28b6c50c123cacf1c5..9d3c595adca36ebea7d043412d39281c9326696b 100644 (file)
@@ -12,6 +12,10 @@ import("//testing/test.gni")
 import("//tools/json_schema_compiler/json_schema_api.gni")
 import("//ui/base/ui_features.gni")
 
+if (use_efl) {
+  import("//tizen_src/build/config/tizen_features.gni")
+}
+
 if (is_win) {
   import("//build/toolchain/win/midl.gni")
 }
@@ -140,10 +144,12 @@ component("platform") {
     ]
   }
 
-  if (is_tizen) {
+  if (tizen_atk_support) {
     deps += [
+      "//components/services/storage/privileged/mojom",
       "//content/services/auction_worklet/public/mojom",
       "//media/mojo/mojom:remoting",
+      "//services/cert_verifier/public/mojom",
     ]
   }
 
index 77947cb587149cec29177b984d255b7465cdae43..3fd67f3f72294c97c8f63cecedec14588983d452 100644 (file)
@@ -49,10 +49,17 @@ inline constexpr Operand GetStackSlot(int offset) {
   return Operand(rbp, -offset);
 }
 
+#if !defined(__GNUC__) || defined(__clang__)
 constexpr Operand kInstanceDataOperand =
     GetStackSlot(WasmLiftoffFrameConstants::kInstanceDataOffset);
 
 constexpr Operand kOSRTargetSlot = GetStackSlot(kOSRTargetOffset);
+#else
+const Operand kInstanceDataOperand =
+    GetStackSlot(WasmLiftoffFrameConstants::kInstanceDataOffset);
+
+const Operand kOSRTargetSlot = GetStackSlot(kOSRTargetOffset);
+#endif
 
 inline Operand GetMemOp(LiftoffAssembler* assm, Register addr,
                         Register offset_reg, uintptr_t offset_imm,