• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    cfgs: [
30        "libva_1_21_or_higher",
31        "libva_1_20_or_higher",
32        "libva_1_19_or_higher",
33        "libva_1_16_or_higher",
34    ],
35
36    vendor: true,
37    enabled: false,
38    arch: {
39        x86_64: {
40            enabled: true,
41            // Bindgen-generated bindings of our local libva headers.
42            srcs: [":libcros_libva_bindgen"],
43            shared_libs: ["libva"],
44        },
45    },
46}
47