diff --git a/cobalt/build/configs/linux-cobalt-x64x11/args.gn b/cobalt/build/configs/linux-cobalt-x64x11/args.gn index db7a6d678af..b59dfff901e 100644 --- a/cobalt/build/configs/linux-cobalt-x64x11/args.gn +++ b/cobalt/build/configs/linux-cobalt-x64x11/args.gn @@ -7,6 +7,10 @@ enable_nacl = false use_dawn = false skia_use_dawn = false +# Disable v8 snapshot tool +# See b/375241133 for error generated. +use_v8_context_snapshot = false + # enable_vulkan=false use_ozone = true diff --git a/ui/ozone/BUILD.gn b/ui/ozone/BUILD.gn index 2e725510aaa..dce6c09f792 100644 --- a/ui/ozone/BUILD.gn +++ b/ui/ozone/BUILD.gn @@ -255,7 +255,7 @@ component("ozone") { ":platform", ] - ldflags = [ "libstarboard.so.16"] + deps = ["//starboard($starboard_toolchain)"] } source_set("test_support_internal") { diff --git a/ui/ozone/platform/starboard/BUILD.gn b/ui/ozone/platform/starboard/BUILD.gn index e62ea98b8f5..db97f870247 100644 --- a/ui/ozone/platform/starboard/BUILD.gn +++ b/ui/ozone/platform/starboard/BUILD.gn @@ -48,7 +48,6 @@ source_set("starboard") { "//build/starboard_sdk/include", ] - ldflags = [ "libstarboard.so.16"] deps = [ "//base", @@ -63,6 +62,7 @@ source_set("starboard") { "//ui/ozone/common", "//ui/platform_window", "//ui/platform_window/stub", + "//starboard($starboard_toolchain)", ] }