blob: 383896688bea662be72a4d5422e074c02e632168 [file] [log] [blame]
Will Drewry92973c72017-04-02 15:04:32 -05001//
2// Copyright (C) 2017 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17cc_library {
18 name: "libese-app-boot",
Will Drewry92973c72017-04-02 15:04:32 -050019 defaults: ["libese-app-defaults"],
20 srcs: ["boot.c"],
Chih-Hung Hsiehc5b766a2017-09-28 14:01:29 -070021 cflags: ["-Wall", "-Werror"],
Will Drewry92973c72017-04-02 15:04:32 -050022 host_supported: true,
23 shared_libs: ["liblog", "libese", "libese-sysdeps"],
24}
25
26cc_library {
27 name: "libese-app-boot-fortest",
Will Drewry92973c72017-04-02 15:04:32 -050028 defaults: ["libese-app-defaults"],
29 srcs: ["boot.c"],
30 host_supported: true,
Chih-Hung Hsiehc5b766a2017-09-28 14:01:29 -070031 cflags: [
32 "-fvisibility=default",
33 "-Wall",
34 "-Werror",
35 ],
Will Drewry92973c72017-04-02 15:04:32 -050036 shared_libs: ["liblog", "libese", "libese-sysdeps"],
37}
38
39
40cc_binary {
41 name: "ese-boot-tool",
42 proprietary: true,
43 srcs: ["ese_boot_tool.cpp"],
44 shared_libs: [
45 "libcutils",
46 "liblog",
47 "libese",
48 "libese-sysdeps",
49 "libese-app-boot",
50 "libese-teq1",
51 "libese-hw-nxp-pn80t-nq-nci",
52 ],
53 host_supported: false,
Chih-Hung Hsiehc5b766a2017-09-28 14:01:29 -070054 cflags: ["-Wall", "-Werror"],
Will Drewry92973c72017-04-02 15:04:32 -050055 target: {
56 darwin: {
57 enabled: false,
58 },
59 },
60}
61
62subdirs = ["tests"]