Commit 8d51d561 authored by Bryant Chandler's avatar Bryant Chandler Committed by V8 LUCI CQ

[fuchsia] Use SDK provided gn templates for v8_unittests

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

Bug: chromium:1092804
Change-Id: I86a59b6a717cb0aa8c3473e8410bdd98f0ffd042
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3537883Reviewed-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@{#79763}
parent 5f3ed078
......@@ -7,18 +7,24 @@ import("../../gni/v8.gni")
if (is_fuchsia) {
import("//build/config/fuchsia/rules.gni")
cr_fuchsia_package("v8_unittests_pkg") {
fuchsia_component("v8_unittests_component") {
testonly = true
binary = ":unittests"
manifest = "../../gni/v8.cmx"
package_name_override = "v8_unittests"
manifest = "v8_unittests.cmx"
data_deps = [ ":unittests" ]
visibility = [ ":*" ]
}
fuchsia_package("v8_unittests_pkg") {
testonly = true
package_name = "v8_unittests"
deps = [ ":v8_unittests_component" ]
}
fuchsia_package_runner("v8_unittests_fuchsia") {
testonly = true
use_cfv2 = false
package = ":v8_unittests_pkg"
package_name_override = "v8_unittests"
package_name = "v8_unittests"
}
}
......
{
"include": [
"build/config/fuchsia/test/minimum_capabilities.test-cmx",
"gni/v8.cmx"
],
"program": {
"binary": "unittests"
}
}
\ 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