• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_dtc_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-BSD
7    //   SPDX-license-identifier-BSD-2-Clause
8    default_applicable_licenses: ["external_dtc_license"],
9}
10
11cc_library {
12    name: "libfdt",
13    host_supported: true,
14
15    cflags: [
16        "-Werror",
17        "-Wno-macro-redefined",
18        "-Wno-sign-compare",
19    ],
20    srcs: [
21        "fdt.c",
22        "fdt_check.c",
23        "fdt_ro.c",
24        "fdt_wip.c",
25        "fdt_sw.c",
26        "fdt_rw.c",
27        "fdt_strerror.c",
28        "fdt_empty_tree.c",
29        "fdt_addresses.c",
30        "fdt_overlay.c",
31        "acpi.c",
32    ],
33    export_include_dirs: ["."],
34    apex_available: [
35        "//apex_available:platform",
36        "com.android.virt",
37    ],
38}
39