1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "external_libdrm_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-MIT
7    default_applicable_licenses: ["external_libdrm_license"],
8}
9
10build = ["Android.sources.bp"]
11
12cc_library_shared {
13    name: "libdrm_amdgpu",
14
15    cflags: [
16	"-DAMDGPU_ASIC_ID_TABLE=\"/vendor/etc/hwdata/amdgpu.ids\""
17    ],
18
19    defaults: [
20        "libdrm_defaults",
21        "libdrm_amdgpu_sources",
22    ],
23    vendor: true,
24    shared_libs: ["libdrm"],
25}
26