platform_external_dtc/libfdt/Android.bp
Bob Badour 88ad004dd5 [LSC] Add LOCAL_LICENSE_KINDS to external/dtc
Added SPDX-license-identifier-BSD SPDX-license-identifier-BSD-2-Clause to:
  libfdt/Android.bp

Added SPDX-license-identifier-BSD SPDX-license-identifier-BSD-2-Clause
    SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0
    SPDX-license-identifier-ISC SPDX-license-identifier-LGPL
    SPDX-license-identifier-LGPL-2.1
to:
  Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I77e096e006ed52d651da76a924f09da18696311c
2021-02-12 15:22:26 -08:00

38 lines
925 B
Text

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_dtc_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
// SPDX-license-identifier-BSD-2-Clause
default_applicable_licenses: ["external_dtc_license"],
}
cc_library {
name: "libfdt",
host_supported: true,
cflags: [
"-Werror",
"-Wno-macro-redefined",
"-Wno-sign-compare",
],
srcs: [
"fdt.c",
"fdt_check.c",
"fdt_ro.c",
"fdt_wip.c",
"fdt_sw.c",
"fdt_rw.c",
"fdt_strerror.c",
"fdt_empty_tree.c",
"fdt_addresses.c",
"fdt_overlay.c",
"acpi.c",
],
export_include_dirs: ["."],
apex_available: [
"//apex_available:platform",
"com.android.virt",
],
}