| // Copyright 2024 The ChromiumOS Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // This file is generated by cargo_embargo. |
| // Do not modify this file because the changes will be overridden on upgrade. |
| |
| package { |
| default_applicable_licenses: ["external_rust_cros-libva_license"], |
| } |
| |
| rust_library { |
| name: "libcros_libva", |
| crate_name: "cros_libva", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.0.8", |
| crate_root: "src/lib.rs", |
| edition: "2021", |
| rustlibs: [ |
| "libbitflags", |
| "liblog_rust", |
| "libthiserror", |
| ], |
| apex_available: [ |
| "//apex_available:platform", |
| "//apex_available:anyapex", |
| ], |
| |
| vendor: true, |
| enabled: false, |
| arch: { |
| x86_64: { |
| enabled: true, |
| // Bindgen-generated bindings of our local libva headers. |
| srcs: [":libcros_libva_bindgen"], |
| shared_libs: ["libva"], |
| }, |
| }, |
| } |