Commit 3111db91 authored by Bryant Chandler's avatar Bryant Chandler Committed by V8 LUCI CQ

[fuchsia] Use SDK provided gn templates for d8

cr_fuchsia_package is deprecated in favor of using the Fuchsia
SDK provided rules directly.

This CL adds a cmx file specifically for v8_unittests. CMX
files define fuchsia components, see
https://chromium-review.googlesource.com/c/chromium/src/+/3529652
for more info.

Bug: chromium:1092804
Change-Id: Ibf1d866ec6b94a0e1a7a7c7c443a6ee80e3b1042
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3537885Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Reviewed-by: 's avatarWez <wez@chromium.org>
Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
Commit-Queue: Bryant Chandler <bryantchandler@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79760}
parent e35d7e61
......@@ -6059,17 +6059,23 @@ group("v8_archive") {
if (is_fuchsia && !build_with_chromium) {
import("//build/config/fuchsia/rules.gni")
cr_fuchsia_package("d8_fuchsia_pkg") {
fuchsia_component("d8_fuchsia_component") {
testonly = true
binary = ":d8"
manifest = "gni/v8.cmx"
package_name_override = "d8"
manifest = "src/d8/d8.cmx"
data_deps = [ ":d8" ]
visibility = [ ":*" ]
}
fuchsia_package("d8_fuchsia_pkg") {
testonly = true
package_name = "d8"
deps = [ ":d8_fuchsia_component" ]
}
fuchsia_package_runner("d8_fuchsia") {
testonly = true
package = ":d8_fuchsia_pkg"
package_name_override = "d8"
package_name = "d8"
}
}
......
{
"include": [
"build/config/fuchsia/test/minimum_capabilities.test-cmx",
"gni/v8.cmx"
],
"program": {
"binary": "d8"
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment