1// Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15cc_library_shared {
16    name: "bootctrl.yukawa",
17    vendor: true,
18    recovery_available: true,
19    relative_install_path: "hw",
20    vintf_fragments: ["bootctrl.xml"],
21
22    srcs: [
23        "boot_control.cc",
24        "bootloader_message.cpp"
25    ],
26
27    cflags: [
28        "-DLOG_TAG=\"amlogic_bootcontrol\"",
29    ],
30
31    header_libs: ["libhardware_headers"],
32
33    static_libs: ["libfstab",],
34
35    shared_libs: [
36        "liblog",
37        "libcutils",
38        "libbase",
39        "libz"
40    ],
41}
42