forge
Explore
Log in

Don't you dare go Hollow

edith

Clone
★ 0

0 watching0 forksRust18.3 MiB2e2ed69Tahinli3 months ago69 commits

Android.bp76 lines, 1.8 KiBHistoryRawDownload
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_crates_cros-libva_license"],
10}
11
12rust_test {
13 name: "cros-libva_test_src_lib",
14 crate_name: "cros_libva",
15 cargo_env_compat: true,
16 cargo_pkg_version: "0.0.8",
17 crate_root: "src/lib.rs",
18 test_suites: ["general-tests"],
19 auto_gen_config: true,
20 test_options: {
21 unit_test: true,
22 },
23 edition: "2021",
24 rustlibs: [
25 "libbitflags",
26 "libcrc32fast",
27 "liblog_rust",
28 "libthiserror",
29 ],
30
31 vendor: true,
32 enabled: false,
33 arch: {
34 x86_64: {
35 enabled: true,
36 // Bindgen-generated bindings of our local libva headers.
37 srcs: [":libcros_libva_bindgen"],
38 },
39 },
40}
41
42rust_library {
43 name: "libcros_libva",
44 crate_name: "cros_libva",
45 cargo_env_compat: true,
46 cargo_pkg_version: "0.0.8",
47 crate_root: "src/lib.rs",
48 edition: "2021",
49 rustlibs: [
50 "libbitflags",
51 "liblog_rust",
52 "libthiserror",
53 ],
54 apex_available: [
55 "//apex_available:platform",
56 "//apex_available:anyapex",
57 ],
58
59 cfgs: [
60 "libva_1_21_or_higher",
61 "libva_1_20_or_higher",
62 "libva_1_19_or_higher",
63 "libva_1_16_or_higher",
64 ],
65
66 vendor: true,
67 enabled: false,
68 arch: {
69 x86_64: {
70 enabled: true,
71 // Bindgen-generated bindings of our local libva headers.
72 srcs: [":libcros_libva_bindgen"],
73 shared_libs: [ "libva" ],
74 },
75 },
76}