• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_gl_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_gl_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16genrule {
17    name: "copy_gl_build_out",
18    srcs: ["out/*"],
19    cmd: "cp $(in) $(genDir)",
20    out: ["bindings.rs"],
21}
22
23rust_library {
24    name: "libgl",
25    host_supported: true,
26    crate_name: "gl",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.14.0",
29    crate_root: "src/lib.rs",
30    srcs: [":copy_gl_build_out"],
31    edition: "2015",
32    apex_available: [
33        "//apex_available:platform",
34        "//apex_available:anyapex",
35    ],
36    product_available: true,
37    vendor_available: true,
38    min_sdk_version: "29",
39}
40