1// Copyright 2024 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// This file is generated by cargo_embargo.
6// Do not modify this file because the changes will be overridden on upgrade.
7
8package {
9    default_applicable_licenses: ["external_rust_cros-libva_license"],
10}
11
12rust_library {
13    name: "libcros_libva",
14    crate_name: "cros_libva",
15    cargo_env_compat: true,
16    cargo_pkg_version: "0.0.8",
17    crate_root: "src/lib.rs",
18    edition: "2021",
19    rustlibs: [
20        "libbitflags",
21        "liblog_rust",
22        "libthiserror",
23    ],
24    apex_available: [
25        "//apex_available:platform",
26        "//apex_available:anyapex",
27    ],
28
29    vendor: true,
30    enabled: false,
31    arch: {
32        x86_64: {
33            enabled: true,
34            // Bindgen-generated bindings of our local libva headers.
35            srcs: [":libcros_libva_bindgen"],
36            shared_libs: ["libva"],
37        },
38    },
39}
40