blob: 95188e49ef2e1e6c54aafa6f6a46e81a8d7a993b [file] [log] [blame]
Yifan Hong2b291f02020-07-21 18:46:26 -07001//
2// Copyright (C) 2020 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
17// Stable AIDL interface between update_engine and other APEXes
18// ========================================================
19aidl_interface {
20 name: "libupdate_engine_stable",
Yifan Hong309c8a82020-10-06 18:31:08 -070021
22 // This header library is available to core and product modules.
Justin Yun6d121de2020-11-11 19:31:57 +090023 product_available: true,
Yifan Hong309c8a82020-10-06 18:31:08 -070024
Yifan Hong2b291f02020-07-21 18:46:26 -070025 srcs: [
26 "android/os/IUpdateEngineStable.aidl",
27 "android/os/IUpdateEngineStableCallback.aidl",
28 ],
29 backend: {
30 cpp: {
31 enabled: true,
32 },
33 java: {
34 enabled: false,
35 },
36 ndk: {
37 enabled: true,
38 apex_available: [
39 "com.android.gki.*",
40 ],
41 },
42 },
43}
Yifan Hongd51738c2020-07-23 17:06:25 -070044
45// update_engine_stable_client (type: executable)
46// ========================================================
Yifan Hong309c8a82020-10-06 18:31:08 -070047// update_engine console client installed to APEXes.
Yifan Hongd51738c2020-07-23 17:06:25 -070048cc_binary {
49 name: "update_engine_stable_client",
Yifan Hong309c8a82020-10-06 18:31:08 -070050 product_specific: true,
Yifan Hongd51738c2020-07-23 17:06:25 -070051 header_libs: [
52 "libupdate_engine_headers",
53 ],
54 shared_libs: [
55 "libbinder_ndk",
56 "libbase",
57 "liblog",
58 ],
59 static_libs: [
60 "libgflags",
Jeongik Cha95f89e92021-01-26 22:33:11 +090061 "libupdate_engine_stable-V1-ndk_platform",
Yifan Hongd51738c2020-07-23 17:06:25 -070062 ],
63 srcs: [
64 "update_engine_stable_client.cc",
65 ],
66 apex_available: [
67 "com.android.gki.*",
68 ],
69}