[Fuchsia] Deprecate tests-with-exec.cmx from v8

Bug: chromium:1019938
Change-Id: I00fd990329887ca5d9b2aa7e992a7f5aa9df695b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2801170
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Auto-Submit: Chong Gu <chonggu@google.com>
Cr-Commit-Position: refs/heads/master@{#73786}
This commit is contained in:
Chong Gu 2021-04-02 01:49:39 -07:00 committed by Commit Bot
parent 26ef74896a
commit 1d92aabc3c
3 changed files with 46 additions and 2 deletions

View File

@ -5323,7 +5323,7 @@ if (is_fuchsia && !build_with_chromium) {
cr_fuchsia_package("d8_fuchsia_pkg") { cr_fuchsia_package("d8_fuchsia_pkg") {
testonly = true testonly = true
binary = ":d8" binary = ":d8"
manifest = "//build/config/fuchsia/tests-with-exec.cmx" manifest = "gni/v8.cmx"
package_name_override = "d8" package_name_override = "d8"
} }

44
gni/v8.cmx Normal file
View File

@ -0,0 +1,44 @@
{
"sandbox": {
"dev": [
"null",
"zero"
],
"features": [
"deprecated-ambient-replace-as-executable",
"isolated-cache-storage",
"isolated-persistent-storage",
"isolated-temp",
"root-ssl-certificates",
"vulkan"
],
"services": [
"fuchsia.accessibility.semantics.SemanticsManager",
"fuchsia.camera3.DeviceWatcher",
"fuchsia.device.NameProvider",
"fuchsia.fonts.Provider",
"fuchsia.intl.PropertyProvider",
"fuchsia.logger.Log",
"fuchsia.logger.LogSink",
"fuchsia.media.Audio",
"fuchsia.media.SessionAudioConsumerFactory",
"fuchsia.media.drm.Widevine",
"fuchsia.mediacodec.CodecFactory",
"fuchsia.memorypressure.Provider",
"fuchsia.net.NameLookup",
"fuchsia.net.interfaces.State",
"fuchsia.posix.socket.Provider",
"fuchsia.process.Launcher",
"fuchsia.sys.Environment",
"fuchsia.sys.Launcher",
"fuchsia.sys.Loader",
"fuchsia.sysmem.Allocator",
"fuchsia.ui.input.ImeService",
"fuchsia.ui.input.ImeVisibilityService",
"fuchsia.ui.scenic.Scenic",
"fuchsia.ui.policy.Presenter",
"fuchsia.vulkan.loader.Loader",
"fuchsia.web.ContextProvider"
]
}
}

View File

@ -10,7 +10,7 @@ if (is_fuchsia) {
cr_fuchsia_package("v8_unittests_pkg") { cr_fuchsia_package("v8_unittests_pkg") {
testonly = true testonly = true
binary = ":unittests" binary = ":unittests"
manifest = "//build/config/fuchsia/tests-with-exec.cmx" manifest = "../../gni/v8.cmx"
package_name_override = "v8_unittests" package_name_override = "v8_unittests"
} }