[package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.3"

category = "Internal"

# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]

# The title and description fields are primarily for displaying extension info in UI
title = "Common Menu"
description="Implementation of parts of Window and Help menus."

# URL of the extension source repository.
repository = ""

# Keywords for the extension
keywords = ["kit", "ui", "menu"]

# Location of change log file in target (final) folder of extension, relative to the root.
# More info on writing changelog: https://keepachangelog.com/en/1.0.0/
changelog = "docs/CHANGELOG.md"

# Preview image. Folder named "data" automatically goes in git lfs (see .gitattributes file).
preview_image = "data/preview.png"

[dependencies]
"omni.usd" = {}
"omni.kit.menu.utils" = {}

[[python.module]]
name = "omni.kit.menu.common"

[settings]
# Setting this to false because we also set F11 in this ext.
exts."omni.appwindow".listenF11 = false
exts."omni.kit.menu.common".external_kit_sdk_url = "https://docs.omniverse.nvidia.com/prod_kit/prod_kit/overview.html"
exts."omni.kit.menu.common".internal_kit_sdk_url = "https://omniverse.gitlab-master-pages.nvidia.com/omni-docs/prod_kit/prod_kit/overview.html"
exts."omni.kit.menu.common".external_kit_manual_url = "https://docs.omniverse.nvidia.com/py/kit/index.html"
exts."omni.kit.menu.common".internal_kit_manual_url = "https://omniverse-docs.s3-website-us-east-1.amazonaws.com/kit-manual/index-internal.html"

[[test]]
args = [
    "--/renderer/enabled=pxr",
    "--/renderer/active=pxr",
    "--/renderer/multiGpu/enabled=false",
    "--/renderer/multiGpu/autoEnable=false", # Disable mGPU with PXR due to OM-51026, OM-53611
    "--/renderer/multiGpu/maxGpuCount=1",
    "--/app/asyncRendering=false",
    "--/app/file/ignoreUnsavedStage=true",
    "--/app/window/dpiScaleOverride=1.0",
    "--/app/window/scaleToMonitor=false",
    "--/app/menu/legacy_mode=false",
    # "--no-window",  # Need window for fullscreen tests
]

dependencies = [
    "omni.hydra.pxr",
    "omni.kit.renderer.capture",
    "omni.kit.mainwindow",
    "omni.kit.ui_test",
    "omni.kit.material.library",
    "omni.kit.viewport.utility",
    "omni.kit.hotkeys.core"
]

stdoutFailPatterns.exclude = [
    "*HydraRenderer failed to render this frame*",  # Can drop a frame or two rendering with OpenGL interop
    "*Cannot use omni.hydra.pxr without OpenGL interop*" # Linux TC configs with multi-GPU might not have OpenGL available
]

timeout = 900
