summaryrefslogtreecommitdiff
path: root/boot_control_copy/Android.bp
blob: 49126d9c32006b47ec93a7e697a421dc69b56c5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright 2015 The Android Open Source Project

package {
    default_applicable_licenses: ["system_extras_boot_control_copy_license"],
}

// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
    name: "system_extras_boot_control_copy_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
    license_text: [
        "NOTICE",
    ],
}

cc_library_shared {
    name: "bootctrl.copy",
    relative_install_path: "hw",

    srcs: [
        "boot_control_copy.cpp",
        "bootinfo.cpp",
    ],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-missing-field-initializers",
        "-Wno-unused-parameter",
    ],
    header_libs: ["bootimg_headers"],
    shared_libs: [
        "libbase",
        "libcutils",
    ],
    static_libs: [
        "libfs_mgr",
    ],
}