Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Android/device/device/google/sdv/sdv_media_cf/config/   (Android Betriebssystem Version 17©)  Datei vom 26.5.2026 mit Größe 2 kB image not shown  

Quelle  Android.bp   Sprache: unbekannt

 
Spracherkennung für: .bp vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

// Copyright (C) 2026 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

// The configurations containing the default flag values when running SDV with Cuttlefish
// (`cvd create`). For a current list of available flags run `cvd create --help`.

// Run SDV Media with host GPU rendering.
prebuilt_etc_host {
    name: "cvd_config_sdv_media.json",
    src: "config_sdv_media.json",
    sub_dir: "cvd_config",
}

// Preset configurations that pass all the required bootconfigs for booting a Cuttlefish VM as one
// of the 3 instances of the SDV development mesh, a mesh that is configured with all the secret
// and configuration values to boot in SDV boot mode locked for development, testing and debugging
// with Cuttlefish.
//
// Example usage:
// cvd create --config=sdv_media_instance1
//
// If required, bootconfig parameters from the cvd_config can be overridden by using the
// --extra_kernel_cmdline cvd argument:
//
// cvd create --config=sdv_media_instance1 \
//   --extra_kernel_cmdline=androidboot.sdv.vvmfactorytrust=1234
//
// Which overwrites the androidboot.sdv.vvmfactorytrust value set in the config, but causes this
// benign error to be logged, which can be ignored:
// Init cannot set 'ro.boot.sdv.vvmfactorytrust' to ...: Read-only property was already set

prebuilt_etc_host {
    name: "cvd_config_sdv_media_instance1.json",
    src: ":cvd_config_sdv_media_instance1_gen",
    sub_dir: "cvd_config",
}

genrule {
    name: "cvd_config_sdv_media_instance1_gen",
    defaults: ["merge_with_sdv_dev_mesh_instance1_default"],
    srcs: ["config_sdv_media.json"],
    out: ["cvd_config_sdv_media_instance1_gen"],
}

prebuilt_etc_host {
    name: "cvd_config_sdv_media_instance2.json",
    src: ":cvd_config_sdv_media_instance2_gen",
    sub_dir: "cvd_config",
}

genrule {
    name: "cvd_config_sdv_media_instance2_gen",
    defaults: ["merge_with_sdv_dev_mesh_instance2_default"],
    srcs: ["config_sdv_media.json"],
    out: ["cvd_config_sdv_media_instance2_gen"],
}

prebuilt_etc_host {
    name: "cvd_config_sdv_media_instance3.json",
    src: ":cvd_config_sdv_media_instance3_gen",
    sub_dir: "cvd_config",
}

genrule {
    name: "cvd_config_sdv_media_instance3_gen",
    defaults: ["merge_with_sdv_dev_mesh_instance3_default"],
    srcs: ["config_sdv_media.json"],
    out: ["cvd_config_sdv_media_instance3_gen"],
}

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-06-27]