blob: 09d48ad3f946e9f3ad113a1da90d4e769ffc6e18 [file] [log] [blame]
Janis Danisevskis8fe0cfb2020-01-13 14:24:32 -08001// Copyright (C) 2020 The Android Open-Source Project
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//
15
16// WARNING: Everything listed here will be built on ALL platforms,
17// including x86, the emulator, and the SDK. Modules must be uniquely
18// named (liblights.panda), and must build everywhere, or limit themselves
19// to only building on ARM if they include assembly. Individual makefiles
20// are responsible for having their own logic, for fine-grained control.
21
22cc_binary {
23 name: "android.hardware.confirmationui@1.0-service.trusty",
24 relative_install_path: "hw",
25 vendor: true,
26 shared_libs: [
27 "android.hardware.confirmationui@1.0",
28 "android.hardware.confirmationui.not-so-secure-input",
29 "android.hardware.confirmationui@1.0-lib.trusty",
30 "libbase",
31 "libhidlbase",
32 "libutils",
33 ],
34
35 init_rc: ["android.hardware.confirmationui@1.0-service.trusty.rc"],
36
37 vintf_fragments: ["android.hardware.confirmationui@1.0-service.trusty.xml"],
38
39 srcs: [
40 "service.cpp",
41 ],
42
43 cflags: [
44 "-Wall",
45 "-Werror",
46 "-DTEEUI_USE_STD_VECTOR",
47 ],
48}
49
50cc_library {
51 name: "android.hardware.confirmationui@1.0-lib.trusty",
52 vendor: true,
53 shared_libs: [
54 "android.hardware.confirmationui@1.0",
55 "android.hardware.keymaster@4.0",
56 "libbase",
Tri Vo19b62a52021-02-16 11:51:26 -080057 "libdmabufheap",
Janis Danisevskis8fe0cfb2020-01-13 14:24:32 -080058 "libhidlbase",
59 "libteeui_hal_support",
60 "libtrusty",
61 "libutils",
62 ],
63
64 export_include_dirs: ["include"],
65
66 srcs: [
67 "TrustyApp.cpp",
68 "TrustyConfirmationUI.cpp",
69 ],
70
71 cflags: [
72 "-Wall",
73 "-Werror",
74 "-DTEEUI_USE_STD_VECTOR",
75 ],
76}
77
78cc_library {
79 name: "android.hardware.confirmationui.not-so-secure-input",
80 vendor: true,
81 shared_libs: [
82 "libbase",
83 "libcrypto",
84 "libteeui_hal_support",
85 ],
86
87 srcs: [
88 "NotSoSecureInput.cpp",
89 ],
90
91 cflags: [
92 "-Wall",
93 "-Werror",
94 "-DTEEUI_USE_STD_VECTOR",
95 ],
Tri Vo19b62a52021-02-16 11:51:26 -080096}